Develop

Ticket #1219 (closed defect: wontfix)

Opened 2 years ago

Last modified 23 months ago

Xcsoar close on android if the orientation change.

Reported by: thomorph Owned by: max
Priority: high Milestone: XCSoar 6.x @ Android
Component: Devices Version: 6.1
Keywords: Cc:

Description (last modified by thomorph) (diff)

When I change the phone orientation it left xcsoar and go back on the dock but xcsoar still running in the notification bar and when I go in xcsoar Im on the menu to choose flight or sim.

Edit: Come back with 6.1.2

Attachments

stacktrace.txt (5.3 KB) - added by mcknight 2 years ago.
Stacktrace of the event
xcsoar.txt (3.3 KB) - added by thomorph 2 years ago.
Logcat when crashing 04.07.11
bug.txt (25.9 KB) - added by thomorph 2 years ago.
XCsoar bug 09-07-2011
ok.txt (49.1 KB) - added by thomorph 2 years ago.
alogcat.2011-07-12-20-31-34+0200.txt (60.6 KB) - added by thomorph 2 years ago.
Complet logcat

Change History

Changed 2 years ago by mcknight

Stacktrace of the event

comment:1 Changed 2 years ago by mcknight

I also noticed that there are other issues with changing the phone orientation:

  • very minor issue: if a progress bar is active on startup and you change the orientation, the progress bar gets painted to funny places (like 4 times or so...)
  • minor issue: if you are in the configuration window, XCSoar would just leave the configuration window upon changing the phone orientation (this might be on purpose though)
  • but: if you are configuring the infoboxes and change the orientation it looks like it's trying to repaint the infoboxes in the new orientation but this doesn't work...

comment:2 Changed 2 years ago by max

Crash is in OpenGL::IsExtensionSupported?(); it seems glGetString(GL_EXTENSIONS) returns NULL because the display driver is not initialised yet.

comment:3 Changed 2 years ago by max

  • Status changed from new to closed
  • Resolution set to fixed

c41d3d5e7df3d16cda71b03eaae894aeda37935b

comment:4 Changed 2 years ago by thomorph

  • Status changed from closed to reopened
  • Resolution fixed deleted
  • Description modified (diff)

comment:5 follow-up: ↓ 6 Changed 2 years ago by max

Need stack trace.

comment:6 in reply to: ↑ 5 Changed 2 years ago by thomorph

Replying to max:

Need stack trace.

sorry but can you explain what I need to give you (I m French)

comment:7 Changed 2 years ago by max

When it crashes, extract the logcat and attach it here.

Changed 2 years ago by thomorph

Logcat when crashing 04.07.11

comment:8 Changed 2 years ago by thomorph

I propose you the file a the post before if it's ok

comment:9 Changed 2 years ago by max

Unfortunately, the logcat you attached does not contain a crash. There is no indication that XCSoar was closed.

Please describe exactly what happened. Try to reproduce it again. When it quits, go to the startup screen, quit, and extract the logcat again.

comment:10 Changed 2 years ago by thomorph

But it's not a crash as xcsoar totaly close; you come back to the android dock, but xcsoar continu to run because in the notification bar you tape on and it open the splash screen
Can you not find the solution you have made on the previous version when you succes to kill this bug?

comment:11 Changed 2 years ago by max

No, this is a different cause.

Changed 2 years ago by thomorph

XCsoar bug 09-07-2011

Changed 2 years ago by thomorph

comment:12 Changed 2 years ago by thomorph

Hi,
I upload 2more logcat.
Files:

  • Bug: No more the orientation problem with condor on my xcsoar and when I active the interne gps (in xcsoar setup) the bug come back
  • Ok: test a second time and no more the bug.

The bug isn't every time, it's more problematic I find

comment:13 Changed 2 years ago by max

The stack trace is missing in the logcat. Is that all you got from logcat?

comment:14 Changed 2 years ago by thomorph

Sorry but I think I post all the logcat with xcsoar data...
Or is it a special process?

Changed 2 years ago by thomorph

Complet logcat

comment:15 Changed 2 years ago by thomorph

I attach a complet logcat. The bug exist if i come back to the 6.1.1
I hope you will sole it before Sathurday I go for flying 2weeks...

Last edited 2 years ago by thomorph (previous) (diff)

comment:16 Changed 2 years ago by max

This is a bug in the graphics driver. Unfortunately, XCSoar cannot help fixing it. Contact the manufacturer or vendor of your device, demand a bug fix.

comment:17 Changed 2 years ago by thomorph

But it depends of the version of wcsoar it's strange. I thing the bug appears with the 6.1

comment:18 Changed 23 months ago by max

  • Status changed from reopened to closed
  • Resolution set to wontfix

Closing because this bug is caused by a graphics driver bug.

Note: See TracTickets for help on using tickets.