Opened 11 years ago
Closed 11 years ago
#39142 closed defect (fixed)
KDevelop @4.4.1: crashing at runtime
Reported by: | milen.bilyanov@… | Owned by: | NicosPavlov |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | ||
Port: | kdevelop |
Description
Hi, I have installed KDevelop 4.4.1 on OSX 10.8.3 and XCode 4.6.2 with no problems so ever. However when I start KDevelop fom the Applications, the text and GUI looks a bit foggy (or at least not as sharp and clean as the OSX UI) and there are errors in the terminal (included below), then once I click "New From Template" it crashes. Here is what I get in the terminal:
Code highlighting:
xxx@zzz:$ kdevelop QIODevice::setTextModeEnabled: The device is not open kdevelop(76711)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes. WARNING: deleting stale lockfile /Users/xxx/Library/Preferences/KDE/share/apps/kdevelop/sessions//{5dd345d8-c098-4ab9-92a0-dc9f1d65cc49}/lock 2013-05-18 10:59:11.959 kdevelop[76711:707] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead. WARNING: deleting stale lockfile /Users/xxx/.kdevduchain/{5dd345d8-c098-4ab9-92a0-dc9f1d65cc49}/0/lock kdevelop(76711)/kdevplatform (language) KDevelop::ItemRepositoryRegistry::open: version-hint not found, seems to be an old version kdevelop(76711)/kdevplatform (language) KDevelop::ItemRepositoryRegistry::open: "The data-repository at /Users/xxx/.kdevduchain/{5dd345d8-c098-4ab9-92a0-dc9f1d65cc49}/0 has to be cleared." kdevelop(76711)/kdevplatform (shell) *KDevelop::PluginController::loadPluginInternal: Loading plugin ' "kdevkonsoleview" ' failed, KPluginLoader reported error: ' "The service 'Konsole Integration' does not provide an interface 'KDevelop::IPlugin' with keyword ''" ' QDeclarativeComponent(0x7fc2b5b00910) Error loading component qrc:/code.qml:22 module "org.kde.plasma.components" is not installed kdevelop(76711) trySetupWelcomePageView: Welcome Page not supported. errors: (<Unknown File>: module "org.kde.plasma.components" is not installed) QMenu: No OSMenuRef created for popup menu QMenu: No OSMenuRef created for popup menu QSqlDatabase: QSQLITE driver not loaded QSqlDatabase: available drivers: kdevelop(76711)/kdevelop (qthelp support) QtHelpProviderAbstract::QtHelpProviderAbstract: Couldn't setup QtHelp Collection file QSqlDatabase: QSQLITE driver not loaded QSqlDatabase: available drivers: QSqlDatabasePrivate::removeDatabase: connection 'GetNamespaceName-140474201407888-3' is still in use, all queries will cease to work. QSqlDatabase: QSQLITE driver not loaded QSqlDatabase: available drivers: QSqlDatabasePrivate::removeDatabase: connection 'GetNamespaceName-140474201407888-4' is still in use, all queries will cease to work. QSqlDatabase: QSQLITE driver not loaded QSqlDatabase: available drivers: QSqlDatabasePrivate::removeDatabase: connection 'GetNamespaceName-140474201407888-5' is still in use, all queries will cease to work. QSqlDatabase: QSQLITE driver not loaded QSqlDatabase: available drivers: QSqlDatabasePrivate::removeDatabase: connection 'GetNamespaceName-140474201407888-6' is still in use, all queries will cease to work. QSqlDatabase: QSQLITE driver not loaded QSqlDatabase: available drivers: QSqlDatabasePrivate::removeDatabase: connection 'GetNamespaceName-140474201407888-7' is still in use, all queries will cease to work. kdevelop(76711)/kdevplatform (shell) KDevelop::SessionControllerPrivate::performRecovery: Starting recovery from "/Users/xxx/Library/Preferences/KDE/share/apps/kdevelop/sessions/{5dd345d8-c098-4ab9-92a0-dc9f1d65cc49}/recovery/current" kdevelop(76711): couldn't create slave: "Unable to create io-slave: klauncher said: Unknown protocol 'man'. " kdevelop(76711)/kdevplatform (git) GitPlugin::parseGitVersionOutput: invalid git version string: "git version 1.7.12.4 (Apple Git-37)" kdevelop(76711) KSambaSharePrivate::findSmbConf: KSambaShare: Could not find smb.conf! QKqueueFileSystemWatcherEngine: error during kevent wait: Bad file descriptor Unable to start Dr. Konqi xxx@zzz:$
Any idea or help? Thanks.
Change History (12)
comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)
Owner: | changed from macports-tickets@… to nicos@… |
---|---|
Port: | @4.4.1 removed |
Summary: | KDevelop (4.4.1) crashing after a clean install. → KDevelop @4.4.1: crashing at runtime |
comment:3 Changed 11 years ago by cooljeanius (Eric Gallager)
Try checking to see if any of the tips in wiki:KDE help
comment:4 follow-up: 5 Changed 11 years ago by NicosPavlov
The comment above seems very relevant. The issue seems like cases where the step of running kbuildsycoca4 had not been run.
comment:5 follow-up: 6 Changed 11 years ago by milen.bilyanov@…
Replying to nicos@…:
The comment above seems very relevant. The issue seems like cases where the step of running kbuildsycoca4 had not been run.
Hi, I have run the following:
sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist
it returned:
launchctl: Dubious ownership on file (skipping): /Library/LaunchDaemons/org.freedesktop.dbus-system.plist nothing found to load
then:
launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
and got:
org.freedesktop.dbus-session: Already loaded
then:
launchctl load -w /Library/LaunchAgents/org.macports.kdecache.plist
and got:
org.macports.kdecache: Already loaded
then:
kbuildsycoca4
and got:
kbuildsycoca4 running...
And then when I attempted to run KDevelop, I got exactly the same crash and error messages. Maybe the way I am trying to run is wrong? I want to start it through the terminal so I have the following symlink:
/Users/xxx/run/bin/kdevelop
Pointing to the /Applications location:
kdevelop -> /Applications/MacPorts/KDE4/kdevelop.app/Contents/MacOS/kdevelop
But that should not be the case, right? Cause I get the same problems once I run this through the icon as well.
Thanks.
comment:6 follow-up: 7 Changed 11 years ago by NicosPavlov
No, both way to run it you are employing seem right. However, this
Hi, I have run the following:
sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plistit returned:
launchctl: Dubious ownership on file (skipping): /Library/LaunchDaemons/org.freedesktop.dbus-system.plist nothing found to load
is not right. And if dbus is not loaded properly, I would assume that no kde application is running properly. Since ownership seem to be the issue, reactivating dbus may solve the issue
sudo port deactivate -f dbus sudo port activate dbus sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist kbuildsycoca4
and if loading the daemon works, then running kdevelop may go better.
comment:7 Changed 11 years ago by milen.bilyanov@…
Replying to nicos@…:
No, both way to run it you are employing seem right. However, this
Hi, I have run the following:
sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plistit returned:
launchctl: Dubious ownership on file (skipping): /Library/LaunchDaemons/org.freedesktop.dbus-system.plist nothing found to loadis not right. And if dbus is not loaded properly, I would assume that no kde application is running properly. Since ownership seem to be the issue, reactivating dbus may solve the issue
sudo port deactivate -f dbus sudo port activate dbus sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist kbuildsycoca4and if loading the daemon works, then running kdevelop may go better.
Hi Nicos, Thanks for you time. I really appreciate the help.
The commands you have provided above worked, so now no:
launchctl: Dubious ownership on file (skipping): /Library/LaunchDaemons/org.freedesktop.dbus-system.plist nothing found to load
Everything seems to be working fine, and to be honest, KDevelop works kind of fine, unless I click "New From Template" from anywhere in the application. So what I am suspecting, maybe this bug is related to something else? I have installed KDevelop on its native KDE under Linux and it works perfectly, however even there it complaints about some KDE daemons etc. But never crashes when I go "New From Template"
Maybe some settings in there, for example something that it looks for is not there when "New From Template" is attempted to be invoked?
Thanks.
comment:8 Changed 11 years ago by milen.bilyanov@…
Ah, how about this? Just found it:
https://bugs.kde.org/show_bug.cgi?id=284061
Bug 284061 - (crash-svn-1.7) kdevelop crashes with svn 1.7 Status RESOLVED FIXED
Prior to mac ports and Kdevelop I have compiled and installed SVN v1.7 from source. it is on my PATH so gets picked up. It make sense that the New From Template function would check for version controls. And it does as far as I remember under Kubuntu. I will try rolling back to a different SVN version. Any further suggestion? Thanks.
comment:9 Changed 11 years ago by NicosPavlov
I think it is something similar, but svn should not be the issue, as this bug report has been fixed on later versions, I think. Then, I also made a variant +subversion for kdevplatform, in order to forbid linking to apple's svn which was causing crashes. Kdevelop should thus either ignore svn without the variant, or use macport's svn (with which it works to my experience).
Then, a similar issue may arise because of git, when considering the line
kdevelop(76711)/kdevplatform (git) GitPlugin::parseGitVersionOutput: invalid git version string: "git version 1.7.12.4 (Apple Git-37)"
I'll make some tests and hopefully find the source of the issue.
comment:11 Changed 11 years ago by NicosPavlov
The issue is more complicated than I anticipated, as it is not related only to Git. Adding this port as a dependency does not fully fix the issue, and I could not find the source of the crash yet.
comment:12 Changed 11 years ago by NicosPavlov
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks. In the future, please Cc relevant port maintainers.