Develop

Ticket #1361 (closed defect: fixed)

Opened 23 months ago

Last modified 21 months ago

xcsoar hangs on quit

Reported by: wbu Owned by: max
Priority: normal Milestone: XCSoar 6.x @ Android
Component: Other Version: 6.1
Keywords: Cc:

Description (last modified by wbu) (diff)

Is there a quick way to debug something like this? killing xcsoar will not produce a stack dump.

device: galaxy tab

Attachments

hang.jpg (338.4 KB) - added by wbu 23 months ago.
xcsoar-registry.prf (4.3 KB) - added by wbu 23 months ago.
xcsoar-startup.log (1.2 KB) - added by wbu 23 months ago.

Change History

Changed 23 months ago by wbu

comment:1 Changed 23 months ago by wbu

  • Description modified (diff)

Changed 23 months ago by wbu

Changed 23 months ago by wbu

comment:2 Changed 23 months ago by wbu

  • Description modified (diff)

comment:3 Changed 23 months ago by max

Attach with gdb.

comment:4 Changed 23 months ago by wbu

I am afraid i could not find out how... where would the gdbserver be? ndk-gdb expects it to be part of the debug package, e.g.: /data/data/org.xcsoar.testing/lib/gdbserver, but there is only the libapplication.so. So i guess you have your own ways to do it? Just copying the gdbserver from the ndk somewhere onto the device?

comment:5 Changed 21 months ago by max

Correct, copy gdbserver to the phone and make it executable. Then run "gdbserver :9999 --attach 1234" (1234 is the pid), and connect to it from your PC. NDK's ndk-gdb is just a shell script that does exactly this.

comment:6 Changed 21 months ago by max

  • Owner set to max
  • Status changed from new to accepted

Confirmed. Deadlock when delivering the "resize" event while the old display orientation is being restored.

comment:7 Changed 21 months ago by max

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

fa9a0a4cea84fd572596e12a7718fb7fcedff591

Note: See TracTickets for help on using tickets.