Sep
09
2010Patched kdelibs for running KDevelop from GIT without crashes
Recent KDevelop GIT builds are crashing with katepart from kdelibs 4.5.1, so for us Archers I made patched package which should work better.
If you don't want to do this, you have more options how to fix it.
This will be included in KDE 4.5.2 which is scheulded at the end of this month, so this is only a temporary fix, which I will not even add in the AUR.
Here is tarball with PKGBUILD and patches. Just build and install. The package comes with ABSOLUTELY no warranty, although it's only 3 patches bigger than official release and it works for me pretty well.
Download tarball here: kdelibs-4.5.1-2.src.tar.gz (5 kB).
» Add commentDiscussion: 12 comments
I have to fix it as soon as possible, because blog without working comments is useless :-)
after that I could start editing - but while typing it crashed on me...
Backtrace: http://pastebin.com/6dC176cF
don't think it is appropriate to create a bugreport as we are using patched libs...
it crashes in a CMakeLists.txt when trying to autocomplete a path
e.g.:
QT4_AUTO_WRAP(variable
some_path_to_a_header.h
)
I tried to add "/data" in front of the "some_path_....h"
it is reproducible..
I looked again into commits in KDE 4.5.2 branch and KateCompletionWidget class hasn't been updated for nearly two months - so it looks like the problem is not even fixed, or the problem is fixed only in trunk and not backported to 4.5.2.
Sadly I couldn't reproduce that problem, no crashes here, maybe it's only a problem with dirty duchain cache (which causes a lot crashes for me), try to remove ~/.kdevduchain and see if that helps.
I look again into Kate repository if there is any commit touching KateCompletionWidget class.
Could it be related to the project not actually building (cmake wise)? because the autocompletion needs a working cmake project?
the project currently doesn't work because cmake doesn't find the moc files - so maybe the autocompletion dies because the project's cmake files can't be evaluated? *me makes wild guesses*
One last solution which could help with localizing the problem - try to install older version of kdevelop/kdevplatform (from 2010-09-04 and older) with non-patched kdelibs and check if that crashes too. If yes, "hooray", it's problem in KDevelop, if not, I'm screwed and the backport doesn't work (or I missed some more commits which should have been backported).
the problem seems to have been nothing related to your kdelibs but instead my fucked up version of Qt in combination with an old kdevelop plugin (controlflow)
works now :)
good to backport imho
THANKS
But I still hope it's a temporary problem in KDevelop/duchain cache, not in Kate.
» Reply
16.09.2010 12:59 | Boom |
Kdevelop crashes each time I close the main windows...Would this patched version fix that ?
I'm not a KDevelop developer, so I can only guess - your crash can be triggered with an outdated plugin, messed up duchain cache (see comments above) or just bug in KDevelop itself. I don't know.


thanks again I'm soon going to try it out :)
PS: looks like your captcha is broken in firefox oO wasn't able to submit - now using chrome...
(error message: "Input error: Invalid referer") and no captcha is shown at all