[Bug 200001] devel/gdb: gdb 7.9 crashes on certain core files

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 7 16:16:44 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200001

--- Comment #3 from luca.pizzamiglio at gmail.com ---
Hi,

The big suspect here is the thread support and how the thread list is created
when the libthr.so is loaded. 

There was an issue with gdb78, (solved in the revision 365578) and I guess that
the fix is not able to handle the load of libthr.so when the process has
already more thread (attach or core dump load of multithread programs)

In other words, if you run the application inside gdb, libthr.so is processed
at the beginning, when only 1 thread is running and everything is fine.
gdb79 ./foo
tested, it works.

If you analyze the core dump or you dynamically attach gdb to a running
process, gdb has inconsistent information about threads.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list