Opened 12 years ago

Last modified 11 years ago

#35036 new defect

kde4 baseapps crash (compiled from source for different root tree)

Reported by: estellnb@… Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port: kde4-baseapps, kdegames4

Description (last modified by ryandesign (Ryan Carsten Schmidt))

# /opt/kde-local/bin/servicemenuinstallation
/opt/kde-local/bin/servicemenuinstallation:7: undefined method `length' for nil:NilClass (NoMethodError)

# /opt/kde-local/bin/kde-open /
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
kioclient(329): Session bus not found 
Abort trap: 6

Though kdebase4 and kde4-baseapps are installed no appropriate runtime environment seems to be in place. I can not even find konqueror:

# port contents kde4-baseapps | grep bin
  /opt/kde-local/bin/kfmclient
  /opt/kde-local/bin/servicemenudeinstallation
  /opt/kde-local/bin/servicemenuinstallation

# port installed | grep kde | grep @4
  kde4-baseapps @4.8.3_0 (active)
  kde4-runtime @4.8.3_1 (active)
  kdegames4 @4.8.3_0 (active)
  kdelibs4 @4.8.3_2 (active)
  kdepimlibs4 @4.8.3_0 (active)

Alle kdegames4 crash: kmahjongg, kfourline, ...

Attachments (2)

kmahjongg-backtrace (45.1 KB) - added by estellnb@… 12 years ago.
kmahjongg backtrace
kfourline-backtrace (45.1 KB) - added by estellnb@… 12 years ago.
kfourline backtrace

Download all attachments as: .zip

Change History (13)

Changed 12 years ago by estellnb@…

Attachment: kmahjongg-backtrace added

kmahjongg backtrace

Changed 12 years ago by estellnb@…

Attachment: kfourline-backtrace added

kfourline backtrace

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: sharky@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to snc@…

Please use WikiFormatting when writing in Trac.

comment:2 Changed 12 years ago by estellnb@…

If I run it from the command line I get the following error messages (PATH & DYLD_LIBRARY_PATH set correctly as in shell):

$ /Applications/MacPorts/KDE4/kmahjongg.app/Contents/MacOS/kmahjongg
dyld: Symbol not found: __cg_jpeg_resync_to_restart
  Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /opt/kde-local/lib/libJPEG.dylib
 in /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
Trace/BPT trap: 5

comment:3 Changed 12 years ago by estellnb@…

After an update I get the following messages:

$ /Applications/MacPorts/KDE4/kmahjongg.app/Contents/MacOS/kmahjongg
QIODevice::setTextModeEnabled: The device is not open
kmahjongg(59894)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes. 
kmahjongg(59894)/KSharedDataCache: Unable to find an appropriate lock to guard the shared cache.  This *should* be essentially impossible. :( 
kmahjongg(59894)/KSharedDataCache: Unable to perform initial setup, this system probably does not really support process-shared pthreads or semaphores, even though it claims otherwise. 
kmahjongg(59894)/KSharedDataCache: Unable to unmap shared memory segment 0x10c34a000 
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
kmahjongg(59894)/kdeui (kdelibs): Session bus not found 
To circumvent this problem try the following command (with Linux and bash) 
export $(dbus-launch) 
KCrash: Application 'kmahjongg' crashing...
KCrash: Attempting to start /opt/kde-local/lib/kde4/libexec/drkonqi.app/Contents/MacOS/drkonqi from kdeinit
Warning: Path of socketfile exceeds UNIX_PATH_MAX.
KCrash: Attempting to start /opt/kde-local/lib/kde4/libexec/drkonqi.app/Contents/MacOS/drkonqi directly
QIODevice::setTextModeEnabled: The device is not open
QProcess: Destroyed while process is still running.

Crucial programs like startkde and konqueror are still missing.

Is there anything I can install additionally to kde4-baseapps&-runtime or have you simply forgotten about the kde4base?

comment:4 Changed 12 years ago by estellnb@…

$ dbus-launch Failed to start message bus: launchd's environment variable DBUS_LAUNCHD_SESSION_BUS_SOCKET is empty, but should contain a socket path.

EOF in dbus-launch reading address from bus daemon

# export DBUS_LAUNCHD_SESSION_BUS_SOCKET=/tmp/dbus.sock # dbus-launch Failed to start message bus: launch_msg("CheckIn") IPC failure: Operation not permitted

EOF in dbus-launch reading address from bus daemon # whoami root

comment:5 in reply to:  4 Changed 12 years ago by vlsd (Vlad)

Replying to estellnb@…:

$ dbus-launch Failed to start message bus: launchd's environment variable DBUS_LAUNCHD_SESSION_BUS_SOCKET is empty, but should contain a socket path.

EOF in dbus-launch reading address from bus daemon

# export DBUS_LAUNCHD_SESSION_BUS_SOCKET=/tmp/dbus.sock # dbus-launch Failed to start message bus: launch_msg("CheckIn") IPC failure: Operation not permitted

EOF in dbus-launch reading address from bus daemon # whoami root

What happens when you try to start kdeinit manually from the /Applications/MacPorts/KDE4/kdeinit4.app/Contents/MacOS/ directory? I am asking this because your problem might be related to ticket #33187.

comment:6 in reply to:  description Changed 12 years ago by estellnb@…

Replying to estellnb@…:

# /opt/kde-local/bin/servicemenuinstallation
/opt/kde-local/bin/servicemenuinstallation:7: undefined method `length' for nil:NilClass (NoMethodError)

# /opt/kde-local/bin/kde-open /
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
kioclient(329): Session bus not found 
Abort trap: 6

Though kdebase4 and kde4-baseapps are installed no appropriate runtime environment seems to be in place. I can not even find konqueror:

# port contents kde4-baseapps | grep bin
  /opt/kde-local/bin/kfmclient
  /opt/kde-local/bin/servicemenudeinstallation
  /opt/kde-local/bin/servicemenuinstallation

# port installed | grep kde | grep @4
  kde4-baseapps @4.8.3_0 (active)
  kde4-runtime @4.8.3_1 (active)
  kdegames4 @4.8.3_0 (active)
  kdelibs4 @4.8.3_2 (active)
  kdepimlibs4 @4.8.3_0 (active)

Alle kdegames4 crash: kmahjongg, kfourline, ...

comment:7 Changed 12 years ago by estellnb@…

$ /Applications/MacPorts/KDE4/kdeinit4.app/Contents/MacOS/kdeinit4
imac:elm elm$ QIODevice::setTextModeEnabled: The device is not open
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
klauncher(760) kdemain: No DBUS session-bus found. Check if you have started the DBUS server. 
kdeinit4: Communication error with launcher. Exiting!

comment:8 Changed 12 years ago by nerdling (Jeremy Lavergne)

Cc: michaelld@… added; sharky@… removed
Owner: changed from snc@… to sharky@…

comment:9 Changed 12 years ago by estellnb@…

# export DBUS_LAUNCHD_SESSION_BUS_SOCKET=/tmp/dbus.sock
# dbus-launch
Failed to start message bus: launch_msg("CheckIn") IPC failure: Operation not permitted>

EOF in dbus-launch reading address from bus daemon

There are still problems setting up the IPC for dbus. Perhaps an strace (or a similar command for MacOS) could help us forth. Maybe also a look into the old fink repos could help because they would likely have had to solve the same problem.

comment:10 Changed 12 years ago by michaelld (Michael Dickens)

Cc: michaelld@… removed

Cc Me!

comment:11 Changed 11 years ago by sharky@…

Owner: changed from sharky@… to nicos@…
Note: See TracTickets for help on using tickets.