Date: Thu, 07 May 2015 16:16:43 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 200001] devel/gdb: gdb 7.9 crashes on certain core files Message-ID: <bug-200001-13-1EaSKI5Ivr@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-200001-13@https.bugs.freebsd.org/bugzilla/> References: <bug-200001-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200001 --- Comment #3 from luca.pizzamiglio@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200001-13-1EaSKI5Ivr>