gdb.threads/attach-stopped.exp fails

Bug #684760 reported by Yao Qi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro GDB
New
Undecided
Unassigned

Bug Description

FAIL: gdb.threads/attach-stopped.exp: threaded: attach2 to stopped bt

(gdb) PASS: gdb.threads/attach-stopped.exp: threaded: attach2 to stopped, after setting file
thread apply all bt^M
^M
Thread 2 (Thread 0x403b8470 (LWP 7203)):^M
#0 0x401373c4 in nanosleep () from /lib/libc.so.6^M
#1 0x4016a122 in ?? () from /lib/libc.so.6^M
#2 0x4016a122 in ?? () from /lib/libc.so.6^M
Backtrace stopped: previous frame identical to this frame (corrupt stack?)^M
^M
Thread 1 (Thread 0x40019af0 (LWP 7202)):^M
#0 0x40041fc6 in __libc_do_syscall () from /lib/libpthread.so.0^M
#1 0x4003a3e2 in pthread_join () from /lib/libpthread.so.0^M
#2 0x000084b8 in main () at ../../../gdb/gdb/testsuite/gdb.threads/attach-stopped.c:45^M
(gdb) FAIL: gdb.threads/attach-stopped.exp: threaded: attach2 to stopped bt

Looks like related to stack backtrace. Further analysis is needed.

Revision history for this message
Ulrich Weigand (uweigand) wrote :

This problem does not occur if debug/symbol information for glibc is installed.

Note that even without debuginfo, this problem is fixed with the proposed patch to use ARM unwind data (LP #661253).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.