Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 300971

Summary: >=sys-devel/gdb-7 doesnt work without a corefile on g/fbsd
Product: Gentoo Linux Reporter: Alexis Ballier <aballier>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Severity: normal CC: bsd+disabled
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Alexis Ballier gentoo-dev 2010-01-14 12:15:03 UTC
I'm posting that bug here since I need some advices. With gdb 6.x all was fine.

With >=7, if I do:
gdb firefox, all that I get is:

Reading symbols from /usr/bin/firefox...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/firefox 

(firefox:4728): GLib-WARNING **: g_set_prgname() called multiple times

Program received signal SIGBUS, Bus error.
0x29160ae2 in ?? ()

If I let it coredump and do:
gdb --core firefox.core firefox, all is fine, I get the debug information I wanted.

As I am not familiar with the codebase, I failed to understand where to look for what has been broken...
Comment 1 SpanKY gentoo-dev 2010-01-14 22:23:44 UTC
probably going to sit more on the BSD side of things to resolve.  best bet is to just e-mail the gdb lists about it and ask for advice there.
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2019-10-23 07:36:30 UTC
I assume there was no followup. Let's close as obsolete.