Application: kdevelop (4.0.0 (using KDevPlatform 1.0.0)) KDE Platform Version: 4.4.2 (KDE 4.4.2) Qt Version: 4.6.2 Operating System: Linux 2.6.32-22-generic x86_64 Distribution: Ubuntu 10.04 LTS -- Information about the crash: KDevelop 4.0.0 when File > Open and selecting any file, program quit almost instantly (it's possible to see the file content in a blink). The crash can be reproduced every time. -- Backtrace: Application: KDevelop (kdevelop.bin), signal: Segmentation fault [Current thread is 1 (Thread 0x7f1543d19760 (LWP 29541))] Thread 5 (Thread 0x7f152f5b6710 (LWP 29542)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211 #1 0x00007f15424c9692 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x203edb0, time=200000) at thread/qwaitcondition_unix.cpp:85 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x203edb0, time=200000) at thread/qwaitcondition_unix.cpp:159 #3 0x00007f153df5106e in KDevelop::DUChainPrivate::CleanupThread::run (this=0x203ed90) at ../../language/duchain/duchain.cpp:286 #4 0x00007f15424c8775 in QThreadPrivate::start (arg=0x203ed90) at thread/qthread_unix.cpp:248 #5 0x00007f1540f0b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #6 0x00007f154120869d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 4 (Thread 0x7f1520f10710 (LWP 29548)): #0 0xffffffffff60017b in ?? () #1 0x00007f1520f0fae0 in ?? () #2 0x00007fffd3dcc852 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 3 (Thread 0x7f152070f710 (LWP 29549)): #0 0x00007f1540f0fa2d in __pthread_mutex_unlock_usercnt (mutex=0x257c368) at pthread_mutex_unlock.c:52 #1 __pthread_mutex_unlock (mutex=0x257c368) at pthread_mutex_unlock.c:290 #2 0x00007f153b8ec49c in ?? () from /lib/libglib-2.0.so.0 #3 0x00007f153b8ec8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #4 0x00007f15425e6566 in QEventDispatcherGlib::processEvents (this=0x23acc70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414 #5 0x00007f15425bb992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #6 0x00007f15425bbd6c in QEventLoop::exec (this=0x7f152070edb0, flags=) at kernel/qeventloop.cpp:201 #7 0x00007f15424c5d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #8 0x00007f154259c178 in QInotifyFileSystemWatcherEngine::run (this=0x211ebe0) at io/qfilesystemwatcher_inotify.cpp:248 #9 0x00007f15424c8775 in QThreadPrivate::start (arg=0x211ebe0) at thread/qthread_unix.cpp:248 #10 0x00007f1540f0b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #11 0x00007f154120869d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #12 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f151690b710 (LWP 29571)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f15424c972b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1eff640, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x1eff640, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159 #3 0x00007f1539388026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x226e150, th=0x20e83b0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00007f153938a6ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x1eee770, th=0x20e83b0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #5 0x00007f1539388bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f151690ae00, parent=0x226e150, th=0x20e83b0) at ../../../threadweaver/Weaver/Thread.cpp:87 #6 0x00007f1539389168 in ThreadWeaver::Thread::run (this=0x20e83b0) at ../../../threadweaver/Weaver/Thread.cpp:142 #7 0x00007f15424c8775 in QThreadPrivate::start (arg=0x20e83b0) at thread/qthread_unix.cpp:248 #8 0x00007f1540f0b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #9 0x00007f154120869d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f1543d19760 (LWP 29541)): [KCrash Handler] #5 0x000000000060c490 in vtable for __cxxabiv1::__class_type_info () #6 0x00007f1514c16ec6 in AutoBracePlugin::addView (this=0x3e0ddc0, view=0x40547d0) at ../../../../kate/plugins/autobrace/autobrace.cpp:64 #7 0x00007f151520e35e in KatePartPluginManager::addView (this=0x40264d0, view=0x40547d0) at ../../kate/utils/katepartpluginmanager.cpp:121 #8 0x00007f151517645a in KateView (this=0x40547d0, doc=0x403c710, parent=<value optimized out>) at ../../kate/view/kateview.cpp:234 #9 0x00007f15150cb3f4 in KateDocument::createView (this=0x403c710, parent=0x3a0a400) at ../../kate/document/katedocument.cpp:340 #10 0x00007f15431eb81e in KDevelop::TextDocument::createViewWidget (this=0x3e7fab0, parent=0x3a0a400) at ../../shell/textdocument.cpp:290 #11 0x00007f15431eb417 in KDevelop::TextView::createWidget (this=0x3ec5580, parent=0x3a0a400) at ../../shell/textdocument.cpp:531 #12 0x00007f153dc73c06 in Sublime::View::widget(QWidget*) () from /usr/lib/libsublime.so.1 #13 0x00007f153dc6dda0 in ?? () from /usr/lib/libsublime.so.1 #14 0x00007f153dc731b8 in Sublime::Area::WalkerMode Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator>(Sublime::MainWindowPrivate::ViewCreator&, Sublime::AreaIndex*) () from /usr/lib/libsublime.so.1 #15 0x00007f153dc713b0 in ?? () from /usr/lib/libsublime.so.1 #16 0x00007f153dc68564 in Sublime::MainWindow::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libsublime.so.1 #17 0x00007f15431c3ef0 in KDevelop::MainWindow::qt_metacall (this=0x40547d0, _c=QMetaObject::InvokeMetaMethod, _id=-112, _a=0x13ea0) at ./mainwindow.moc:89 #18 0x00007f15425cfe3f in QMetaObject::activate (sender=0x1faa440, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x13ea0) at kernel/qobject.cpp:3293 #19 0x00007f153dc5a928 in Sublime::Area::viewAdded(Sublime::AreaIndex*, Sublime::View*) () from /usr/lib/libsublime.so.1 #20 0x00007f153dc5b709 in Sublime::Area::addView(Sublime::View*, Sublime::AreaIndex*) () from /usr/lib/libsublime.so.1 #21 0x00007f15431f277b in KDevelop::DocumentControllerPrivate::openDocumentInternal (this=0x22b9160, doc=0x3e7fad0, range=<value optimized out>, activationParams=) at ../../shell/documentcontroller.cpp:352 #22 0x00007f15431f2e78 in KDevelop::DocumentControllerPrivate::openDocumentInternal (this=0x22b9160, inputUrl=<value optimized out>, prefName=<value optimized out>, range=<value optimized out>, encoding=<value optimized out>, activationParams=) at ../../shell/documentcontroller.cpp:280 #23 0x00007f15431f3f55 in KDevelop::DocumentControllerPrivate::chooseDocument (this=0x22b9160) at ../../shell/documentcontroller.cpp:127 #24 0x00007f15431f12a1 in KDevelop::DocumentController::qt_metacall (this=0x24528a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd3cc5340) at ./documentcontroller.moc:128 #25 0x00007f15425cfe3f in QMetaObject::activate (sender=0x1ffff10, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x13ea0) at kernel/qobject.cpp:3293 #26 0x00007f1541970032 in QAction::triggered (this=0x40547d0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263 #27 0x00007f15419720ab in QAction::activate (this=0x1ffff10, event=<value optimized out>) at kernel/qaction.cpp:1255 #28 0x00007f1541db139d in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0x1ffff10, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011 #29 0x00007f1541db6dda in QMenuPrivate::activateAction (this=0x1fa8620, action=0x1ffff10, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103 #30 0x00007f1542be0cee in KMenu::mouseReleaseEvent (this=0x237dbc0, e=0x0) at ../../kdeui/widgets/kmenu.cpp:471 #31 0x00007f15419cc582 in QWidget::event (this=0x237dbc0, event=0x7fffd3cc5f90) at kernel/qwidget.cpp:7998 #32 0x00007f1541db8f9b in QMenu::event (this=0x237dbc0, e=0x7fffd3cc5f90) at widgets/qmenu.cpp:2414 #33 0x00007f154197622c in QApplicationPrivate::notify_helper (this=0x157eaf0, receiver=0x237dbc0, e=0x7fffd3cc5f90) at kernel/qapplication.cpp:4300 #34 0x00007f154197cecb in QApplication::notify (this=0x7fffd3cc6db0, receiver=0x237dbc0, e=0x7fffd3cc5f90) at kernel/qapplication.cpp:3865 #35 0x00007f1542b04526 in KApplication::notify (this=0x7fffd3cc6db0, receiver=0x237dbc0, event=0x7fffd3cc5f90) at ../../kdeui/kernel/kapplication.cpp:302 #36 0x00007f15425bd06c in QCoreApplication::notifyInternal (this=0x7fffd3cc6db0, receiver=0x237dbc0, event=0x7fffd3cc5f90) at kernel/qcoreapplication.cpp:704 #37 0x00007f154197c0ae in QCoreApplication::sendEvent (receiver=0x237dbc0, event=0x7fffd3cc5f90, alienWidget=0x0, nativeWidget=0x237dbc0, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #38 QApplicationPrivate::sendMouseEvent (receiver=0x237dbc0, event=0x7fffd3cc5f90, alienWidget=0x0, nativeWidget=0x237dbc0, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2965 #39 0x00007f15419fc3dd in QETWidget::translateMouseEvent (this=0x237dbc0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4302 #40 0x00007f15419fa8ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffd3cc68b0) at kernel/qapplication_x11.cpp:3501 #41 0x00007f1541a26882 in x11EventSourceDispatch (s=0x19bdb30, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146 #42 0x00007f153b8e88c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #43 0x00007f153b8ec748 in ?? () from /lib/libglib-2.0.so.0 #44 0x00007f153b8ec8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #45 0x00007f15425e6513 in QEventDispatcherGlib::processEvents (this=0x155fb80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #46 0x00007f1541a2646e in QGuiEventDispatcherGlib::processEvents (this=0x40547d0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #47 0x00007f15425bb992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #48 0x00007f15425bbd6c in QEventLoop::exec (this=0x7fffd3cc6be0, flags=) at kernel/qeventloop.cpp:201 #49 0x00007f15425bfaab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #50 0x00000000004088cf in _start () Reported using DrKonqi
This is a binary compatibility issue, did you compile any part yourself? (kdevelop, kdevplatform, autobrace-plugin or kate)
(In reply to comment #1) I installed the whole KDE right from 10.04 Lucid repositories, I didn't compile any KDE program by myself. Kate works perfect by the way. If you need more output, I can reproduce it and post gdb or valgrind backtraces.
Hmm, strange, can you provide a valgrind log please? Run KDEV_SESSION=blah valgrind --track-origins=yes kdevelop.bin
Created attachment 43821 [details] Valgrind backtrace This is my KDevelop's valgrind backtrace
I can reproduce this issue. Strangely enough I had a very stable KDevelop untill two weeks or so ago and I have no idea what broke it. If I start from a clean $HOME directory or another user, kdevelop runs. I thought I found the issue in some ~/.local-directory, but I was wrong. I can make Kdevelop start, if and only if I give a new session: kdevelop --cs pmc6 as soon as I open a file: File -> Open ... -> <some file> ==> Crash See attached stack trace. Info: $ kdevelop -v Qt: 4.7.0 KDE Development Platform: 4.5.3 (KDE 4.5.3) KDevelop: 4.0.2 Platform (not kubuntu, 64-bit): DISTRIB_ID=Ubuntu DISTRIB_RELEASE=10.04 DISTRIB_CODENAME=lucid DISTRIB_DESCRIPTION="Ubuntu 10.04.4 LTS" I would be happy if there exists an easy fix to this problem untill a couple of months when we will update to 12.04....
Created attachment 69308 [details] back trace kdevelop 4.0.2
kdevelop 4.0 is really old and outdated, please update