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

eXeC001er execooler at gmail.com
Sun Feb 21 07:02:32 PST 2010


I tried to run dbus on NexentaOS (based on opensolaris b133), but
dbus-daemon finished with core dump.

root at nza3-devel:/opt/dbus-debug# gdb /usr/bin/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: /usr/bin/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  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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20100221/1e9a1a2a/attachment.html>


More information about the dbus mailing list