#34484 closed defect (fixed)
KMyMoney4 crashes during startup
Reported by: | markusd112@… | Owned by: | mkae (Marko Käning) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.0 |
Keywords: | Cc: | pixilla (Bradley Giesbrecht) | |
Port: | kmymoney4 |
Description (last modified by mf2k (Frank Schima))
I have installed kmymoney4 via macports, but when trying to start it, it crashes after several seconds with the following messages:
kmymoney(52611)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes. kmymoney(52611)/KSharedDataCache: Unable to find an appropriate lock to guard the shared cache. This *should* be essentially impossible. :( kmymoney(52611)/KSharedDataCache: Unable to perform initial setup, this system probably does not really support process-shared pthreads or semaphores, even though it claims otherwise. kmymoney(52611)/KSharedDataCache: Unable to unmap shared memory segment 0x114edd000 Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded! kmymoney(52611)/kdeui (kdelibs): Session bus not found To circumvent this problem try the following command (with Linux and bash) export $(dbus-launch) KCrash: Application 'kmymoney' crashing... KCrash: Attempting to start /opt/local/lib/kde4/libexec/drkonqi.app/Contents/MacOS/drkonqi from kdeinit sock_file=/Users/markus/Library/Preferences/KDE/socket-macmini.fritz.box/kdeinit4__tmp_launch-TGolIO_org.x_0 Warning: connect() failed: : No such file or directory KCrash: Attempting to start /opt/local/lib/kde4/libexec/drkonqi.app/Contents/MacOS/drkonqi directly QProcess: Destroyed while process is still running.
Attachments (1)
Change History (13)
Changed 13 years ago by markusd112@…
comment:1 Changed 13 years ago by mf2k (Frank Schima)
Cc: | mk@… pixilla@… added |
---|---|
Description: | modified (diff) |
Port: | kmymoney4 added |
In the future, please use WikiFormatting, fill in the Port field, and Cc the maintainer(s).
comment:2 Changed 13 years ago by mkae (Marko Käning)
Make sure that dbus is running.
Please follow the notes concerning installation given in port dbus!
comment:3 Changed 13 years ago by mkae (Marko Käning)
Owner: | changed from macports-tickets@… to mk@… |
---|
comment:4 Changed 13 years ago by mkae (Marko Käning)
Cc: | mk@… removed |
---|
comment:5 Changed 13 years ago by markusd112@…
Sorry for malformatting the bug report, I will do it the next time in the right way.
Thanks for the hint with starting dbus manually. I tried to find any documentation, but I didn't find any... Could you give me a hint, where I can find any information what I have to do to start kmymoney4?
I have found something that dbus have to be started with this command:
{{launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist}}
But I get only the message "nothing found to load".
comment:6 Changed 13 years ago by markusd112@…
Sorry, I have used the wrong meta commands for wiki markup and it's not possible to edit my post... I am to stupid for this ;-)
comment:7 Changed 13 years ago by mf2k (Frank Schima)
@ markusd112: Use the following to tell you how to start dbus:
port notes dbus
comment:8 Changed 13 years ago by markusd112@…
Thanks a lot! It works!
Maybe a suggestion: isn't it possible to add some information during installation of kmymoney, that the user has to manually add the dbus daemon in the launchd to be started during boot?
comment:9 Changed 13 years ago by mkae (Marko Käning)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Hi Markus,
I am happy to see that you got it up and running.
Well, actually, the message you saw with the above command also appears during the installation of kmymoney4(-devel) when it comes to dbus. The installing user simply has to attentively follow the install procedure. I don't think it makes sense to let kmymoney4(-devel) point this out once more, since that concerns in principle all KDE programs and would then add unnecessary clutter to the installation output.
So well, I'll close this issue.
comment:10 Changed 13 years ago by mkae (Marko Käning)
Actually, the message
########################################################## # Don't forget that dbus needs to be started as the local # user (not with sudo) before any KDE programs will launch # To start it run the following command: # launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist ##########################################################
appears here on my end for every single port using dbus.
So, I'd say there is enough effort to alert the user. :-)
comment:11 Changed 13 years ago by markusd112@…
If this message appears at the end of the overall installation e.g. of kmymoney4 it's sufficiant... in most cases the user is the main problem, who doesn't read such messages ;-).
Or would it be possible to add the dbus starting command in a shell script, that is starting kmymoney as example? For me as user it looks like this: there appears a new icon in the mac os bay to start kmymoney. When I start it, it is doing something and closes again after 30 seconds. So it could be a solution, to start dbus while clicking on the kmymoney app icon... to make it more easier for users who are not so familiar with all this technical things, like me ;-).
comment:12 Changed 13 years ago by mkae (Marko Käning)
Well, actually, 2 years ago we did something similar for another reason for kmymoney 1.0.x which is based on KDE3 (which unfortunately doesn't build anymore nowadays). There is a little AppleScript starter app which does additional checks and modifications to the user's setup before actually starting KMM. We did that in such a way because of exactly those arguments you just came up with.
But I guess this discussion is better transferred onto the mailing list, since it's a more general problem to all KDE4 apps.
Error Message