dbus-daemon segfault under Solaris

Thiago Macieira thiago at kde.org
Mon Dec 20 06:11:29 PST 2010


On Monday, 20 de December de 2010 14:40:49 Pavel Strashkin wrote:
> Program received signal SIGSEGV, Segmentation fault.
> 0x00000000 in ?? ()
> (gdb) bt
> #0  0x00000000 in ?? ()
> #1  0xfed71680 in ?? () from /lib/libgcc_s.so.1
> #2  0xfed713d5 in ?? () from /lib/libgcc_s.so.1
> #3  0xfef863c6 in call_init () from /lib/ld.so.1
> #4  0xfef852cb in setup () from /lib/ld.so.1
> #5  0xfef9326c in _setup () from /lib/ld.so.1
> #6  0xfef79694 in _rt_boot () from /lib/ld.so.1
> #7  0x08047538 in ?? ()
> #8  0x08047648 in ?? ()
> Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Given the evidence above, I would guess that gc-sections removed the .init 
section from the library.

Looking at the map file produced by the linker on Linux, I don't see anything 
coming from libdbus-1 in the init section. They come all from gcc itself.

So I guess it's safe to remove the gc-sections option on Solaris, and probably 
everywhere where GNU ld isn't used.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20101220/407d8d1d/attachment.pgp>


More information about the dbus mailing list