dbus built with gnu-gcc-4.2.3. <div><br></div><div>On Nexenta i installed dbx and </div><div>1. tried to load dbus-daemon (compiled on nexenta):</div><div>dbx: File `/usr/bin/dbus-daemon' is not ELF executable</div><div>
<br></div><div>2. tried to load dbus-daemon (compiled on opensolaris):</div><div>no error messages</div><div><br></div><div><br></div><div>Why? dbus-1.1.20 on this system (nexenta) compiled and works without problem.</div>
<div><br></div><div>Thanks.</div><div><br><div class="gmail_quote">2010/2/22 Brian Cameron <span dir="ltr"><<a href="mailto:Brian.Cameron@sun.com">Brian.Cameron@sun.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
The following stack trace isn't very useful. Is dbus-daemon<br>
built with Sun Studio? If so, you might get a better stack trace<br>
from dbx, rather than using gdb.<br>
<br>
Brian<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
Program received signal SIGSEGV, Segmentation fault.<br>
0x00000000 in ?? ()<br>
(gdb) bt<br>
#0 0x00000000 in ?? ()<br>
#1 0xfe916680 in ?? () from /lib/libgcc_s.so.1<br>
#2 0xfe9163d5 in ?? () from /lib/libgcc_s.so.1<br>
#3 0xfef893c6 in call_init () from /lib/ld.so.1<br>
#4 0xfef882cb in setup () from /lib/ld.so.1<br>
#5 0xfef9626c in _setup () from /lib/ld.so.1<br>
#6 0xfef7c694 in _rt_boot () from /lib/ld.so.1<br>
#7 0x08047524 in ?? ()<br>
#8 0x08047644 in ?? ()<br>
Backtrace stopped: previous frame inner to this frame (corrupt stack?)<br>
(gdb)<br>
<br>
<br>
I tried to build version 1.2.20 on native Opensolaris and net run on<br>
NexentaOS. dbus-daemon running without problem.<br>
NexentaOS has gcc 4.2.3 and dbus 1.1.20 worked without problem.<br>
<br>
truss output for dbus-daemon (compilled on NexentaOS):<br>
........<br>
mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC,<br>
MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFECD0000<br>
getcontext(0x08047038)<br>
getrlimit(RLIMIT_STACK, 0x08047030) = 0<br>
getpid() = 6752 [6751]<br>
lwp_private(0, 1, 0xFECD2A00) = 0x000001C3<br>
setustack(0xFECD2A60)<br>
Incurred fault #6, FLTBOUNDS %pc = 0x00000000<br>
siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000<br>
Received signal #11, SIGSEGV [default]<br>
siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000<br>
<br>
truss output for dbus-daemon (compilled on opensolaris):<br>
.......<br>
mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC,<br>
MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF20000<br>
getcontext(0x08046FE8)<br>
getrlimit(RLIMIT_STACK, 0x08046FE0) = 0<br>
getpid() = 6762 [6761]<br>
lwp_private(0, 1, 0xFEF22A00) = 0x000001C3<br>
setustack(0xFEF22A60)<br>
sysconfig(_CONFIG_STACK_PROT) = 7<br>
sigfillset(0xFEC296A0) = 0<br>
sysi86(SI86FPSTART, 0xFEC29FCC, 0x0000133F, 0x00001F80) = 0x00000001<br>
brk(0x080C4930) = 0<br>
brk(0x080C6930) = 0<br>
fstat64(2, 0x08047170) = 0<br>
write(2, " N o c o n f i g u r a".., 33) = 33<br>
write(2, " d b u s - d a e m o n ".., 161) = 161<br>
_exit(1)<br>
<br>
Maybe you have any thoughts on any subject.<br>
Thanks.<br>
<br>
<br>
<br></div></div>
_______________________________________________<br>
dbus mailing list<br>
<a href="mailto:dbus@lists.freedesktop.org" target="_blank">dbus@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/dbus" target="_blank">http://lists.freedesktop.org/mailman/listinfo/dbus</a><br>
</blockquote>
<br>
</blockquote></div><br></div>