Crashes when debugging multi-threaded applications
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro GDB |
Invalid
|
High
|
Ulrich Weigand |
Bug Description
There appear to be fundamental issues preventing debugging of multi-threaded applications.
Failing test cases in that area include:
FAIL: gdb.threads/
FAIL: gdb.threads/
FAIL: gdb.threads/
FAIL: gdb.threads/
FAIL: gdb.threads/
FAIL: gdb.base/
Symptoms are somewhat unpredictable, but include the inferior crashing with SIGILL:
Breakpoint 2, thread_function0 (arg=0x0) at /home/uweigand/
37 usleep (1); /* Loop increment 1. */^M
(gdb) PASS: gdb.threads/
delete breakpoints^M
Delete all breakpoints? (y or n) y^M
(gdb) info breakpoints^M
No breakpoints or watchpoints.^M
(gdb) watch *myp^M
Watchpoint 3: *myp^M
(gdb) FAIL: gdb.threads/
continue^M
Continuing.^M
[New Thread 0x40596470 (LWP 15255)]^M
^M
Program received signal SIGILL, Illegal instruction.^M
0x000084f8 in thread_function0 (arg=0x0) at /home/uweigand/
37 usleep (1); /* Loop increment 1. */^M
(gdb) FAIL: gdb.threads/
Definitely needs further analysis.
Changed in gdb-linaro: | |
assignee: | nobody → Ulrich Weigand (uweigand) |
Changed in gdb-linaro: | |
importance: | Undecided → High |
I'm seeing those SIGILL failures on Michael's "pavo1" board, running a non-Linaro 2.6.32 kernel. 2.6.35- 6-omap I'm *not* seeing those failures.
On Loic's BeagleBoard running linux-image-
(There are still other failures in the thread tests, but those look much less severe, e.g. incorrect backtraces.)
Maybe there is an underlying kernel bug that got fixed in the meantime?