dbus-1.2.20 & nexenta(based on opensolaris b133): crash

eXeC001er execooler at gmail.com
Mon Feb 22 01:53:11 PST 2010


dbus built with gnu-gcc-4.2.3.

On Nexenta i installed dbx and
1. tried to load dbus-daemon (compiled on nexenta):
dbx: File `/usr/bin/dbus-daemon' is not ELF executable

2. tried to load dbus-daemon (compiled on opensolaris):
no error messages


Why? dbus-1.1.20 on this system (nexenta) compiled and works without
problem.

Thanks.

2010/2/22 Brian Cameron <Brian.Cameron at sun.com>

>
> The following stack trace isn't very useful.  Is dbus-daemon
> built with Sun Studio?  If so, you might get a better stack trace
> from dbx, rather than using gdb.
>
> Brian
>
>  Program received signal SIGSEGV, Segmentation fault.
>> 0x00000000 in ?? ()
>> (gdb) bt
>> #0  0x00000000 in ?? ()
>> #1  0xfe916680 in ?? () from /lib/libgcc_s.so.1
>> #2  0xfe9163d5 in ?? () from /lib/libgcc_s.so.1
>> #3  0xfef893c6 in call_init () from /lib/ld.so.1
>> #4  0xfef882cb in setup () from /lib/ld.so.1
>> #5  0xfef9626c in _setup () from /lib/ld.so.1
>> #6  0xfef7c694 in _rt_boot () from /lib/ld.so.1
>> #7  0x08047524 in ?? ()
>> #8  0x08047644 in ?? ()
>> Backtrace stopped: previous frame inner to this frame (corrupt stack?)
>> (gdb)
>>
>>
>> I tried to build version 1.2.20 on native Opensolaris and net run on
>> NexentaOS. dbus-daemon running without problem.
>> NexentaOS has gcc 4.2.3 and dbus 1.1.20 worked without problem.
>>
>> truss output for dbus-daemon (compilled on NexentaOS):
>> ........
>>   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC,
>> MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFECD0000
>>   getcontext(0x08047038)
>>   getrlimit(RLIMIT_STACK, 0x08047030)             = 0
>>   getpid()                                        = 6752 [6751]
>>   lwp_private(0, 1, 0xFECD2A00)                   = 0x000001C3
>>   setustack(0xFECD2A60)
>>       Incurred fault #6, FLTBOUNDS  %pc = 0x00000000
>>         siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
>>       Received signal #11, SIGSEGV [default]
>>         siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
>>
>> truss output for dbus-daemon (compilled on opensolaris):
>> .......
>>   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC,
>> MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF20000
>>   getcontext(0x08046FE8)
>>   getrlimit(RLIMIT_STACK, 0x08046FE0)             = 0
>>   getpid()                                        = 6762 [6761]
>>   lwp_private(0, 1, 0xFEF22A00)                   = 0x000001C3
>>   setustack(0xFEF22A60)
>>   sysconfig(_CONFIG_STACK_PROT)                   = 7
>>   sigfillset(0xFEC296A0)                          = 0
>>    sysi86(SI86FPSTART, 0xFEC29FCC, 0x0000133F, 0x00001F80) = 0x00000001
>>    brk(0x080C4930)                                 = 0
>>    brk(0x080C6930)                                 = 0
>>    fstat64(2, 0x08047170)                          = 0
>>    write(2, " N o   c o n f i g u r a".., 33)      = 33
>>    write(2, " d b u s - d a e m o n ".., 161)     = 161
>>    _exit(1)
>>
>> Maybe you have any thoughts on any subject.
>> Thanks.
>>
>>
>>
>> _______________________________________________
>> dbus mailing list
>> dbus at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/dbus
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20100222/2b199add/attachment.htm>


More information about the dbus mailing list