gdb 6.7 can SIGSEGV when printing state
Bug #196274 reported by
Greg Law
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdb (Ubuntu) |
Fix Released
|
Undecided
|
Kees Cook | ||
Hardy |
Fix Released
|
Low
|
Matthias Klose |
Bug Description
gdb 6.7 has a bug which can cause random SIGSEGV's (in gdb itself). The simplest way to reproduce is within any active gdb session:
(gdb) flushregs
(gdb) print $pc
however, the bug can (theoretically at least) bite pretty much any time. The fix is simple (see patch).
This fix has been applied for the soon-to-be released gdb-6.8 but remains in the official 6.7 release. See here for discussion of the issue and patch:
http://
Changed in gdb: | |
assignee: | nobody → doko |
importance: | Undecided → Low |
status: | New → In Progress |
To post a comment you must log in.
Thanks for this fix! I've pulled the other fixes and testsuite adjustments from the gdb thread. It should be available shortly.