Bus error for dbus-daemon --nofork --session
Jeff Pitman
jeff.pitman at gmail.com
Wed Oct 7 05:23:23 PDT 2009
Hi!
After a major upgrade, gimp broke for me. All my ports should be up-to-date.
I've traced down to several upgrade problems and have been working through
them one-by-one. This one has me stumped.
For some reason, "dbus-daemon --nofork --session" is broken. sudo or as
user, doesn't matter. It returns Bus error everytime...
$ dbus-daemon --nofork --session
Bus error
I've messed with session.conf, so that it skips session-local.conf and
session.d, but it had no effect. I'm including what I see what I get when
run through gdb and dtruss below. Maybe those that worked on the launchd
patch <http://trac.macports.org/ticket/17950> for dbus could help? I have
reinstalled dbus / dbus-glib, but it's just the same behavior.
I appreciate anyone's help on this.
take care,
jeff
======== (system) ========
$ xcodebuild -version
Xcode 3.1.3
Component versions: DevToolsCore-1192.0; DevToolsSupport-1186.0
BuildVersion: 9M2736
$ uname -a
Darwin xinix.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01
PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386 i386
$ port version
Version: 1.8.1
======== (gdb) ========
(gdb) run --nofork --session
Starting program: /opt/local/bin/dbus-daemon --nofork --session
Reading symbols for shared libraries +++. done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x00030b9a in _dbus_server_new_for_launchd ()
======== (dtruss) ========
SYSCALL(args) = return
open("/dev/urandom\0", 0x0, 0xBFFFF748) = 3 0
read(0x3, "-\352_\221\253\215'\235\\\vl\354\0", 0xC) = 12 0
close(0x3) = 0 0
mmap(0x0, 0x1000000, 0x3, 0x1002, 0x2000000, 0x100000000) =
0x200000 0
munmap(0x200000, 0x600000) = 0 0
munmap(0x1000000, 0x200000) = 0 0
open("/opt/local/etc/dbus-1/session.conf\0", 0x0, 0xBFFFF698) = 3
0
fstat(0x3, 0xBFFFF680, 0xBFFFF698) = 0 0
read(0x3, "<!-- This configuration file controls the per-user-login-session
message bus.\n Add a session-local.conf and edit that rather than
changing this \n file directly. -->\n\n<!DOCTYPE busconfig PUBLIC
\"-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN\"\n ", 0xA79)
= 2681 0
close(0x3) = 0 0
getuid(0x3, 0x800A00, 0xA79) = 0 0
open_nocancel("/opt/local/etc/dbus-1/session.d\0", 0x100004, 0x5F354)
= 3 0
fcntl_nocancel(0x3, 0x2, 0x1) = 0 0
__sysctl(0xBFFFF1D4, 0x2, 0xA02DDECC) = 0 0
fstatfs(0x3, 0xBFFFF270, 0xA02DDECC) = 0 0
fpathconf(0x3, 0x4, 0xA02DDECC) = 255 0
getdirentries(0x3, 0x802C00, 0x1000) = 44 0
fpathconf(0x3, 0x4, 0x1000) = 255 0
getdirentries(0x3, 0x802C00, 0x1000) = 0 0
close_nocancel(0x3) = 0 0
open("/opt/local/etc/dbus-1/session-local.conf\0", 0x0, 0xBFFFF258)
= -1 Err#2
getpid(0x0, 0x0, 0x0) = 20416 0
__sysctl(0xBFFFE458, 0x3, 0xBFFFF878) = 0 0
issetugid(0xBFFFE458, 0x3, 0xBFFFF878) = 0 0
__sysctl(0xBFFFE314, 0x2, 0xBFFFE2DC) = 0 0
__sysctl(0xBFFFE2DC, 0x2, 0xBFFFE35C) = 0 0
shared_region_check_np(0xBFFFF858, 0x2, 0xBFFFE35C) = 0 0
stat("/usr/lib/dtrace/libdtrace_dyld.dylib\0", 0xBFFFD4C8, 0xBFFFE35C)
= 0 0
open("/usr/lib/dtrace/libdtrace_dyld.dylib\0", 0x0, 0x0) = 3
0
pread(0x3, "\312\376\272\276\0", 0x1000, 0x0) = 4096 0
pread(0x3, "\316\372\355\376\a\0", 0x1000, 0x9000) = 4096 0
mmap(0x61000, 0x1000, 0x5, 0x12, 0x3, 0x100000000) = 0x61000 0
mmap(0x62000, 0x1000, 0x3, 0x12, 0x3, 0x100000000) = 0x62000 0
mmap(0x63000, 0x1000, 0x7, 0x12, 0x3, 0x100000000) = 0x63000 0
mmap(0x64000, 0x1900, 0x1, 0x12, 0x3, 0x100000000) = 0x64000 0
fcntl(0x3, 0x2C, 0xFFFFFFFFBFFFBB34) = 0 0
close(0x3) = 0 0
stat("/opt/local/lib/libexpat.1.dylib\0", 0xBFFFD2B8, 0xFFFFFFFFBFFFBB34)
= 0 0
open("/opt/local/lib/libexpat.1.dylib\0", 0x0, 0x0) = 3 0
pread(0x3, "\316\372\355\376\a\0", 0x1000, 0x0) = 4096 0
mmap(0x66000, 0x1D000, 0x5, 0x12, 0x3, 0x100000000) = 0x66000 0
mmap(0x83000, 0x2000, 0x3, 0x12, 0x3, 0x100000000) = 0x83000 0
mmap(0x85000, 0x1000, 0x7, 0x12, 0x3, 0x100000000) = 0x85000 0
mmap(0x86000, 0x3BD0, 0x1, 0x12, 0x3, 0x100000000) = 0x86000 0
fcntl(0x3, 0x2C, 0xFFFFFFFFBFFFB8B4) = 0 0
fcntl(0x3, 0x2C, 0xFFFFFFFFBFFFB8B4) = 0 0
fcntl(0x3, 0x2C, 0xFFFFFFFFBFFFB8B4) = 0 0
close(0x3) = 0 0
stat("/usr/lib/libgcc_s.1.dylib\0", 0xBFFFD2B8, 0xFFFFFFFFBFFFB8B4)
= 0 0
stat("/usr/lib/libSystem.B.dylib\0", 0xBFFFD2B8, 0xFFFFFFFFBFFFB8B4)
= 0 0
stat("/usr/lib/system/libmathCommon.A.dylib\0", 0xBFFFD008,
0xFFFFFFFFBFFFB8B4) = 0 0
open("/dev/dtracehelper\0", 0x2, 0xBFFFE2E4) = 3 0
ioctl(0x3, 0x80086804, 0xBFFFE268) = 0 0
close(0x3) = 0 0
__sysctl(0xBFFFE13C, 0x2, 0xBFFFE144) = 0 0
bsdthread_register(0x91940FF0, 0x919792A4, 0x1000) = 0 0
open_nocancel("/dev/urandom\0", 0x0, 0x0) = 3 0
read_nocancel(0x3,
"\356\016\347\302\256\360\260L\215\330\343\245\023\235\327s\365\242\257Me\322
\237\021\267\266S\313\373I\313\0", 0x20) = 32 0
close_nocancel(0x3) = 0 0
mmap(0x0, 0x3000, 0x3, 0x1002, 0x1000000, 0x100000000) = 0x8A000 0
mmap(0x0, 0x200000, 0x3, 0x1002, 0x7000000, 0x100000000) =
0x8D000 0
munmap(0x8D000, 0x73000) = 0 0
munmap(0x200000, 0x8D000) = 0 0
mmap(0x0, 0x3000, 0x3, 0x1002, 0x1000000, 0x100000000) = 0x8D000 0
getpid(0x0, 0x3000, 0x3) = 20416 0
shm_open(0x91A51E51, 0x0, 0x0) = 3 0
mmap(0x0, 0x1000, 0x1, 0x1, 0x3, 0x0) = 0x90000 0
close_nocancel(0x3) = 0 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20091007/18d65308/attachment.html>
More information about the macports-users
mailing list