issues debugging program threads on 12.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdb (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
The Ubuntu Error Tracker is still experiencing some failures when trying to retrace armhf crashes from Utopic. The retracers for the Error Tracker are running 12.04 (with a backported version of gdb from Trusty) and I've attempted to manually retrace a failing .crash file using apport-retrace. Here is the output from gdb with 'set debug libthread-db 1' in my .gdbinit file.
GNU gdb (Ubuntu 7.7-0ubuntu3.
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://
Find the GDB manual and other documentation resources online at:
<http://
For help, type "help".
Type "apropos word" to search for commands related to "word".
The target architecture is assumed to be arm
Reading symbols from /srv/daisy.
done.
warning: core file may not match specified executable file.
[New LWP 2270]
[New LWP 2284]
[New LWP 2285]
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /lib/x86_
td_ta_new failed: versions of libpthread and libthread_db do not match
Trying host libthread_db library: /srv/daisy.
open failed: No such file or directory.
Trying host libthread_db library: /srv/daisy.
dlopen failed: /srv/daisy.
thread_
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /lib/x86_
td_ta_new failed: versions of libpthread and libthread_db do not match
Trying host libthread_db library: /srv/daisy.
open failed: No such file or directory.
Trying host libthread_db library: /srv/daisy.
dlopen failed: /srv/daisy.
thread_
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
Core was generated by `/usr/lib/
Program terminated with signal SIGABRT, Aborted.
#0 __libc_do_syscall () at ../ports/
44 ../ports/
When retracing the same crash file on Trusty with the same version of gdb I receive the following messages:
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /lib/x86_
Found 3 new threads in iteration 0.
Found 0 new threads in iteration 1.
Found 0 new threads in iteration 2.
Found 0 new threads in iteration 3.
Found 0 new threads in iteration 4.
[Thread debugging using libthread_db enabled]
The complete command being run to retrace the crash file follows:
PYTHONPATH= $PYTHONPATH: /srv/daisy. staging. ubuntu. com/prod staging. ubuntu. com/production/ apport/ bin/apport- retrace ~/4d9d6984- 1883-11e4- 84c3-fa163e22e4 67.crash -S /srv/da ubuntu. com/production/ daisy/retracer/ config --sandbox-dir /srv/daisy. staging. ubuntu. com/production/ cache/Ubuntu\ 14.10/cache-DhmXbj staging. ubuntu. com/production/ cache/Ubuntu\ 14.10/cache- DhmXbj/ cache -o ~/4d9d6984- 1883-11e4- 84c3-fa163e22e4 67.proposed.
uction/apport python /srv/daisy.
isy.staging.
/sandbox -C /srv/daisy.
crash -g