dbus-daemon segfault under Solaris

Pavel Strashkin pavel.strashkin at gmail.com
Mon Dec 20 03:40:49 PST 2010

I recompiled dbus with "-g" flag and then started dbus-daemon from GDB shell

# gdb bus/dbus-daemon
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-pc-solaris2.11"...
(gdb) run
Starting program: dbus-daemon
[New LWP 1]
[New LWP 2]
[LWP 2 exited]
[New LWP 2]
warning: Lowest section in /lib/libpthread.so.1 is .dynamic at 00000074
warning: Lowest section in /lib/librt.so.1 is .dynamic at 00000074

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?)

2010/12/18 Thiago Macieira <thiago at kde.org>:
> On Friday, 17 de December de 2010 22:17:06 you wrote:
>> Good question, i don't know the real reason, but it looks like
>> toolchain removes some neccessary parts from bin or lib during linking
>> so they can't work in normal way. This is what i saw here, in
>> maillist, the same issue, but for another platform.
>> Thiago, what is your suggestion then? Should i make a patch or?
> Provide us with the backtrace of the crash so we can understand what the issue
> was.
> And report the issue to the toolchain group.
> --
> 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
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus

More information about the dbus mailing list