Develop
Ticket #1361 (closed defect: fixed)
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
Change History
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.
Note: See
TracTickets for help on using
tickets.
