[MacPorts] #19510: dbus-daemon crashes (KERN_PROTECTION_FAILURE)

MacPorts noreply at macports.org
Fri Jul 10 19:18:58 PDT 2009


#19510: dbus-daemon crashes (KERN_PROTECTION_FAILURE)
----------------------------------+-----------------------------------------
  Reporter:  vinc17@…             |       Owner:  mcalhoun@…           
      Type:  defect               |      Status:  reopened             
  Priority:  Normal               |   Milestone:                       
 Component:  ports                |     Version:  1.7.1                
Resolution:                       |    Keywords:                       
      Port:  dbus                 |  
----------------------------------+-----------------------------------------

Comment(by vinc17@…):

 Replying to [comment:34 mcalhoun@…]:
 > The problem on your system, as you noted in [comment:18 vinc17@…], is
 that DBUS_SESSION_BUS_ADDRESS is set in some instances but not
 others.[[BR]]
 > You must either ensure that DBUS_SESSION_BUS_ADDRESS is always set or
 never set.

 If this is an error, dbus-daemon should output an error message, not
 crash!

 > 6. Do not set DBUS_SESSION_BUS_ADDRESS anywhere.[[BR]]
 > 7. Make sure there is no /Library/LaunchAgents/org.macports.dbus.plist
 on your system.[[BR]]
 > 8. Restart you machine.

 This doesn't work. I get errors like:

 Dynamic session lookup supported but failed: launchd did not provide a
 socket path, verify that org.freedesktop.dbus-session.plist is loaded!

 ** (liferea:1726): WARNING **: Failed to contact configuration server;
 some possible causes are that you need to enable TCP/IP networking for
 ORBit, or you have stale NFS locks due to a system crash. See
 http://projects.gnome.org/gconf/ for information. (Details -  1: Failed to
 get connection to session: Not enough memory)

 Why not enough memory?

 Note that I did
 {{{
 sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-
 system.plist
 sudo launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-
 session.plist
 }}}
 but only the following is running:

 root      1643   0.0  0.0    27940    708  ??  Ss    4:08AM   0:00.01
 /opt/local/bin/dbus-daemon --nofork --session

-- 
Ticket URL: <http://trac.macports.org/ticket/19510#comment:35>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list