[MacPorts] #19510: dbus-daemon crashes (KERN_PROTECTION_FAILURE)
MacPorts
noreply at macports.org
Thu Jun 4 00:44:15 PDT 2009
#19510: dbus-daemon crashes (KERN_PROTECTION_FAILURE)
---------------------------------+------------------------------------------
Reporter: vinc17@… | Owner: mcalhoun@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Keywords: | Port: dbus
---------------------------------+------------------------------------------
Comment(by stephane.chomat@…):
I have this problem.
I run dbus with gdb and launchd_socket_path variable is null in file dbus-
server-launchd.c line 76
Trace :
{{{
run with no break point
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
_dbus_server_new_for_launchd (launchd_env_var=0x0, error=0xbffff164) at
dbus-server-launchd.c:76
76 if (*launchd_socket_path == '\0')
(gdb) stop
run with break point
(gdb) break dbus-server-launchd.c:76
Breakpoint 2 at 0x300fa: file dbus-server-launchd.c, line 76.
(gdb) stop
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /opt/local/bin/dbus-daemon --session --print-address
Re-enabling shared library breakpoint 2
Program received signal SIGTRAP, Trace/breakpoint trap.
0x8fe01010 in __dyld__dyld_start ()
(gdb) c
Continuing.
Re-enabling shared library breakpoint 2
Breakpoint 2, _dbus_server_new_for_launchd (launchd_env_var=0x0,
error=0xbffff164) at dbus-server-launchd.c:76
76 if (*launchd_socket_path == '\0')
(gdb) print launchd_socket_path
$1 = 0x0
}}}
--
Ticket URL: <http://trac.macports.org/ticket/19510#comment:22>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list