Application: kdevelop (4.2.60) KDE Platform Version: 4.6.5 (4.6.5) Qt Version: 4.7.2 Operating System: Linux 2.6.38-13-generic i686 Distribution: Ubuntu 11.04 -- Information about the crash: - What I was doing when the application crashed: After fetching the code from master branch today (24th nov), Kdevelop started to crash everytime I open an existing file (via project tree or the quick open form). I also removed the .kdevducain and .kde/(...)/sessions directories, but the result was the same. The crash can be reproduced every time. -- Backtrace: Application: KDevelop (kdevelop), signal: Segmentation fault [Current thread is 1 (Thread 0xb76f4930 (LWP 31052))] Thread 11 (Thread 0xb746fb70 (LWP 31054)): #0 0x006b1416 in __kernel_vsyscall () #1 0x01383f76 in __poll (fds=0x90cf2e0, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #2 0x0652484b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0 #3 0x065141af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #4 0x0651492b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0 #5 0x01d69304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0 #6 0x0653d2df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #7 0x00af7e99 in start_thread (arg=0xb746fb70) at pthread_create.c:304 #8 0x0139273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 10 (Thread 0xb2c99b70 (LWP 31057)): #0 0x006b1416 in __kernel_vsyscall () #1 0x0135afe6 in nanosleep () at ../sysdeps/unix/syscall-template.S:82 #2 0x0138c1ac in usleep (useconds=500) at ../sysdeps/unix/sysv/linux/usleep.c:33 #3 0x05e5490d in KDevelop::DUChainPrivate::doMoreCleanup (this=0x94697f0, retries=1, needLockRepository=true) at /home/devstar22/projects/kdevelop/kdevplatform/language/duchain/duchain.cpp:753 #4 0x05e5552f in KDevelop::DUChainPrivate::CleanupThread::run (this=0x944e938) at /home/devstar22/projects/kdevelop/kdevplatform/language/duchain/duchain.cpp:291 #5 0x04647da2 in ?? () from /usr/lib/libQtCore.so.4 #6 0x00af7e99 in start_thread (arg=0xb2c99b70) at pthread_create.c:304 #7 0x0139273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 9 (Thread 0xb2498b70 (LWP 31058)): #0 0x01383f76 in __poll (fds=0x94a85c8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x0652484b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0 #2 0x065141af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #3 0x06514524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #4 0x04769577 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x0473b289 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x0473b522 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #7 0x046452a0 in QThread::exec() () from /usr/lib/libQtCore.so.4 #8 0x05f420a1 in KDevelop::CompletionWorkerThread::run (this=0x94b8f10) at /home/devstar22/projects/kdevelop/kdevplatform/language/codecompletion/codecompletionmodel.cpp:84 #9 0x04647da2 in ?? () from /usr/lib/libQtCore.so.4 #10 0x00af7e99 in start_thread (arg=0xb2498b70) at pthread_create.c:304 #11 0x0139273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 8 (Thread 0xb1407b70 (LWP 31061)): #0 0x00afa38a in __pthread_mutex_lock (mutex=0xb62132e4) at pthread_mutex_lock.c:131 #1 0x013a0616 in pthread_mutex_lock (mutex=0xb62132e4) at forward.c:182 #2 0x0651450e in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #3 0x04769577 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x0473b289 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x0473b522 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x046452a0 in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0x05f420a1 in KDevelop::CompletionWorkerThread::run (this=0x9573fd0) at /home/devstar22/projects/kdevelop/kdevplatform/language/codecompletion/codecompletionmodel.cpp:84 #8 0x04647da2 in ?? () from /usr/lib/libQtCore.so.4 #9 0x00af7e99 in start_thread (arg=0xb1407b70) at pthread_create.c:304 #10 0x0139273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 7 (Thread 0xb0c06b70 (LWP 31062)): #0 0x04768cc1 in ?? () from /usr/lib/libQtCore.so.4 #1 0x06512fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0 #2 0x06513e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #3 0x06514524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #4 0x04769577 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x0473b289 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x0473b522 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #7 0x046452a0 in QThread::exec() () from /usr/lib/libQtCore.so.4 #8 0x05f420a1 in KDevelop::CompletionWorkerThread::run (this=0x9588ac8) at /home/devstar22/projects/kdevelop/kdevplatform/language/codecompletion/codecompletionmodel.cpp:84 #9 0x04647da2 in ?? () from /usr/lib/libQtCore.so.4 #10 0x00af7e99 in start_thread (arg=0xb0c06b70) at pthread_create.c:304 #11 0x0139273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 6 (Thread 0xafbe0b70 (LWP 31067)): #0 0x006b1416 in __kernel_vsyscall () #1 0x00afc48c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169 #2 0x013a03fd in __pthread_cond_wait (cond=0x30122b0, mutex=0x3012298) at forward.c:139 #3 0x02ef9817 in ?? () from /usr/lib/libQtScript.so.4 #4 0x02ef9851 in ?? () from /usr/lib/libQtScript.so.4 #5 0x00af7e99 in start_thread (arg=0xafbe0b70) at pthread_create.c:304 #6 0x0139273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 5 (Thread 0xaee3fb70 (LWP 31068)): #0 0x00afb7af in __pthread_mutex_unlock_usercnt (mutex=0x976071c, decr=1) at pthread_mutex_unlock.c:77 #1 0x013a0656 in pthread_mutex_unlock (mutex=0x976071c) at forward.c:184 #2 0x06513712 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0 #3 0x0651403a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #4 0x06514524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #5 0x04769577 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x0473b289 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #7 0x0473b522 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #8 0x046452a0 in QThread::exec() () from /usr/lib/libQtCore.so.4 #9 0x0471cfdb in ?? () from /usr/lib/libQtCore.so.4 #10 0x04647da2 in ?? () from /usr/lib/libQtCore.so.4 #11 0x00af7e99 in start_thread (arg=0xaee3fb70) at pthread_create.c:304 #12 0x0139273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 4 (Thread 0xadc3cb70 (LWP 31081)): #0 0x006b1416 in __kernel_vsyscall () #1 0x00afc48c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169 #2 0x013a03fd in __pthread_cond_wait (cond=0x80387f0, mutex=0x80387d8) at forward.c:139 #3 0x07a82b57 in ?? () from /usr/lib/libQtWebKit.so.4 #4 0x00af7e99 in start_thread (arg=0xadc3cb70) at pthread_create.c:304 #5 0x0139273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 3 (Thread 0xa4b3db70 (LWP 31271)): #0 0x006b1416 in __kernel_vsyscall () #1 0x00afc48c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169 #2 0x013a03fd in __pthread_cond_wait (cond=0x93b3618, mutex=0x93b3600) at forward.c:139 #3 0x04648467 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #4 0x001727e0 in ?? () from /usr/lib/libthreadweaver.so.4 #5 0x0017547c in ?? () from /usr/lib/libthreadweaver.so.4 #6 0x0017242b in ?? () from /usr/lib/libthreadweaver.so.4 #7 0x0017556a in ?? () from /usr/lib/libthreadweaver.so.4 #8 0x00172373 in ?? () from /usr/lib/libthreadweaver.so.4 #9 0x00175589 in ?? () from /usr/lib/libthreadweaver.so.4 #10 0x00172373 in ?? () from /usr/lib/libthreadweaver.so.4 #11 0x00173f9e in ?? () from /usr/lib/libthreadweaver.so.4 #12 0x0017405b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4 #13 0x04647da2 in ?? () from /usr/lib/libQtCore.so.4 #14 0x00af7e99 in start_thread (arg=0xa4b3db70) at pthread_create.c:304 #15 0x0139273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 2 (Thread 0xa433cb70 (LWP 31272)): #0 0x006b1416 in __kernel_vsyscall () #1 0x00afc48c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169 #2 0x013a03fd in __pthread_cond_wait (cond=0x93b3618, mutex=0x93b3600) at forward.c:139 #3 0x04648467 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #4 0x001727e0 in ?? () from /usr/lib/libthreadweaver.so.4 #5 0x0017547c in ?? () from /usr/lib/libthreadweaver.so.4 #6 0x0017242b in ?? () from /usr/lib/libthreadweaver.so.4 #7 0x0017556a in ?? () from /usr/lib/libthreadweaver.so.4 #8 0x00172373 in ?? () from /usr/lib/libthreadweaver.so.4 #9 0x00173f9e in ?? () from /usr/lib/libthreadweaver.so.4 #10 0x0017405b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4 #11 0x04647da2 in ?? () from /usr/lib/libQtCore.so.4 #12 0x00af7e99 in start_thread (arg=0xa433cb70) at pthread_create.c:304 #13 0x0139273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 1 (Thread 0xb76f4930 (LWP 31052)): [KCrash Handler] #7 0x0469b30c in QtPrivate::QStringList_contains(QStringList const*, QString const&, Qt::CaseSensitivity) () from /usr/lib/libQtCore.so.4 #8 0x02b79487 in QStringList::contains (this=0xbfc2a628, str=..., cs=Qt::CaseSensitive) at /usr/include/qt4/QtCore/qstringlist.h:171 #9 0x02b76b50 in IndentPlugin::indentationType (this=0xbfc2a610) at /home/devstar22/projects/kdevelop/kdevelop/formatters/indent/indent_plugin.cpp:304 #10 0x002e6985 in KDevelop::SourceFormatterController::adaptEditorIndentationMode (this=0x93b2380, doc=0xcb08780, formatter=0x946cd44, ignoreModeline=false) at /home/devstar22/projects/kdevelop/kdevplatform/shell/sourceformattercontroller.cpp:392 #11 0x002e6cff in KDevelop::SourceFormatterController::documentLoaded (this=0x93b2380, doc=0xcb08780) at /home/devstar22/projects/kdevelop/kdevplatform/shell/sourceformattercontroller.cpp:105 #12 0x002e9c47 in KDevelop::SourceFormatterController::qt_metacall (this=0x93b2380, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xa3bc238) at /home/devstar22/projects/kdevelop/kdevplatform/build/shell/sourceformattercontroller.moc:85 #13 0x047426ba in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #14 0x0474ce16 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4 #15 0x047513b7 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4 #16 0x04b84d24 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #17 0x04b898ce in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #18 0x010f932a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #19 0x0473c0bb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #20 0x0473fc79 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4 #21 0x0473fe0d in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4 #22 0x047693c4 in ?? () from /usr/lib/libQtCore.so.4 #23 0x06513aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0 #24 0x06514270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #25 0x06514524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #26 0x0476953c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #27 0x04c3b1e5 in ?? () from /usr/lib/libQtGui.so.4 #28 0x0473b289 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #29 0x0473b522 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #30 0x0473fecc in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #31 0x04b828e7 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #32 0x08051992 in main (argc=<value optimized out>, argv=) at /home/devstar22/projects/kdevelop/kdevelop/app/main.cpp:479 Reported using DrKonqi
please remove the indent plugin, it was renamed to externalscript. the old plugin is ABI incompatible and triggers this crash.
Yes, that resolved my problem. I just removed kdevindent.so and kdevindent.desktop from lib/kde4 and share directories. Thx.