Bug 256132

Summary: kdevelop crashed at start
Product: [Applications] kdevelop Reporter: Lastique <andysem>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.1.0   
Target Milestone: 4.1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Lastique 2010-11-05 11:48:30 UTC
Application: kdevelop (4.1.0)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

I tried to start kdevelop and it crashed right at start, before any windows showed. Before starting kdevelop I moved the .kdev_include_paths file from an inner directory with source files of my project to my home directory. The project itself is also under my home directory. Some source files of the project were opened in kdevelop session, but not in "project mode", just files.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f2558e37760 (LWP 15689))]

Thread 6 (Thread 0x7f2541fdd710 (LWP 15690)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f25575cbda2 in wait (this=<value optimized out>, mutex=0x284c3d0, time=200000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x284c3d0, time=200000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f255371d9de in ?? () from /usr/lib/libkdevplatformlanguage.so.2
#4  0x00007f25575cb27e in QThreadPrivate::start (arg=0x284c3b0) at thread/qthread_unix.cpp:266
#5  0x00007f2555fcf971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f25562cb91d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f2538e94710 (LWP 15696)):
#0  0x00007f25562bf1d3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f25502fe009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f25502fe45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f25576eb1e6 in QEventDispatcherGlib::processEvents (this=0x7f25280008b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f25576bda02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f25576bddec in QEventLoop::exec (this=0x7f2538e93db0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f25575c82fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f255769d5f8 in QInotifyFileSystemWatcherEngine::run (this=0x33b9310) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f25575cb27e in QThreadPrivate::start (arg=0x33b9310) at thread/qthread_unix.cpp:266
#9  0x00007f2555fcf971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f25562cb91d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f2533fff710 (LWP 15722)):
#0  0x00007f25502fd990 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#1  0x00007f25502fde78 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f25502fe45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f25576eb1e6 in QEventDispatcherGlib::processEvents (this=0x3121d40, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f25576bda02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f25576bddec in QEventLoop::exec (this=0x7f2533ffedf0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f25575c82fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f25575cb27e in QThreadPrivate::start (arg=0x37cc340) at thread/qthread_unix.cpp:266
#8  0x00007f2555fcf971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#9  0x00007f25562cb91d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f252edea710 (LWP 15723)):
#0  0x00007f25562bf1d3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f25502fe009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f25502fe45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f25576eb1e6 in QEventDispatcherGlib::processEvents (this=0x37a7a20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f25576bda02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f25576bddec in QEventLoop::exec (this=0x7f252ede9df0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f25575c82fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f25575cb27e in QThreadPrivate::start (arg=0x37dfc20) at thread/qthread_unix.cpp:266
#8  0x00007f2555fcf971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#9  0x00007f25562cb91d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f252e364710 (LWP 15724)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f25575ca845 in thread_sleep (ti=0x7f252e363db0) at thread/qthread_unix.cpp:416
#2  0x00007f25575ca9b0 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:442
#3  0x00007f252f5dcff1 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#4  0x00007f25575cb27e in QThreadPrivate::start (arg=0x37d78e0) at thread/qthread_unix.cpp:266
#5  0x00007f2555fcf971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f25562cb91d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2558e37760 (LWP 15689)):
[KCrash Handler]
#6  0x00007f2553833232 in KDevelop::ConfigurableHighlightingColors::getAttribute(int) const () from /usr/lib/libkdevplatformlanguage.so.2
#7  0x00007f2553839998 in KDevelop::CodeHighlighting::attributeForType(KDevelop::HighlightingEnumContainer::Types, KDevelop::HighlightingEnumContainer::Contexts, QColor const&) const () from /usr/lib/libkdevplatformlanguage.so.2
#8  0x00007f255383a28b in KDevelop::CodeHighlightingInstance::highlightDeclaration(KDevelop::Declaration*, QColor const&) const () from /usr/lib/libkdevplatformlanguage.so.2
#9  0x00007f255383931b in KDevelop::CodeHighlightingInstance::highlightDUChainSimple(KDevelop::DUContext*) const () from /usr/lib/libkdevplatformlanguage.so.2
#10 0x00007f25538394eb in KDevelop::CodeHighlightingInstance::highlightDUChain(KDevelop::DUContext*) const () from /usr/lib/libkdevplatformlanguage.so.2
#11 0x00007f2553839771 in KDevelop::CodeHighlighting::highlightDUChain(KDevelop::TopDUContext*) const () from /usr/lib/libkdevplatformlanguage.so.2
#12 0x00007f2553703635 in KDevelop::DUChain::documentLoadedPrepare(KDevelop::IDocument*) () from /usr/lib/libkdevplatformlanguage.so.2
#13 0x00007f2553706175 in KDevelop::DUChain::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdevplatformlanguage.so.2
#14 0x00007f25576d6b27 in QMetaObject::activate (sender=0x2701100, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x47faa50) at kernel/qobject.cpp:3280
#15 0x00007f2558589882 in KDevelop::IDocumentController::documentLoadedPrepare(KDevelop::IDocument*) () from /usr/lib/libkdevplatforminterfaces.so.2
#16 0x00007f25585874d0 in KDevelop::IDocument::notifyLoaded() () from /usr/lib/libkdevplatforminterfaces.so.2
#17 0x00007f25582fa8b0 in KDevelop::TextDocument::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdevplatformshell.so.2
#18 0x00007f25576d6b27 in QMetaObject::activate (sender=0x47dc730, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x47faa50) at kernel/qobject.cpp:3280
#19 0x00007f2558052ee2 in KTextEditor::Document::textChanged (this=0x7fffdbdc98b0, _t1=0x47dc730) at ./document.moc:177
#20 0x00007f25420cf885 in KateDocument::openFile (this=0x47dc730) at ../../kate/document/katedocument.cpp:2037
#21 0x00007f25548a2987 in KParts::ReadOnlyPart::openUrl (this=0x47dc730, url=<value optimized out>) at ../../kparts/part.cpp:557
#22 0x00007f25582f96bd in KDevelop::TextDocument::createViewWidget(QWidget*) () from /usr/lib/libkdevplatformshell.so.2
#23 0x00007f25582f8d77 in KDevelop::TextView::createWidget(QWidget*) () from /usr/lib/libkdevplatformshell.so.2
#24 0x00007f2553444906 in Sublime::View::widget(QWidget*) () from /usr/lib/libsublime.so.2
#25 0x00007f255343eacf in ?? () from /usr/lib/libsublime.so.2
#26 0x00007f2553443eb8 in Sublime::Area::WalkerMode Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator>(Sublime::MainWindowPrivate::ViewCreator&, Sublime::AreaIndex*) () from /usr/lib/libsublime.so.2
#27 0x00007f2553442157 in ?? () from /usr/lib/libsublime.so.2
#28 0x00007f2553438c40 in Sublime::MainWindow::setArea(Sublime::Area*) () from /usr/lib/libsublime.so.2
#29 0x00007f25582c9213 in ?? () from /usr/lib/libkdevplatformshell.so.2
#30 0x00007f25582c99b3 in ?? () from /usr/lib/libkdevplatformshell.so.2
#31 0x00007f25582ca34f in ?? () from /usr/lib/libkdevplatformshell.so.2
#32 0x00007f25576d0bde in QObject::event (this=0x2849120, e=0x7fffdbdc98b0) at kernel/qobject.cpp:1219
#33 0x00007f2556a25fdc in QApplicationPrivate::notify_helper (this=0x22d4020, receiver=0x2849120, e=0x34c63d0) at kernel/qapplication.cpp:4396
#34 0x00007f2556a2baed in QApplication::notify (this=0x7fffdbdcbf30, receiver=0x2849120, e=0x34c63d0) at kernel/qapplication.cpp:4277
#35 0x00007f2557c14156 in KApplication::notify (this=0x7fffdbdcbf30, receiver=0x2849120, event=0x34c63d0) at ../../kdeui/kernel/kapplication.cpp:310
#36 0x00007f25576becdc in QCoreApplication::notifyInternal (this=0x7fffdbdcbf30, receiver=0x2849120, event=0x34c63d0) at kernel/qcoreapplication.cpp:732
#37 0x00007f25576c1c22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x22b2e70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x22b2e70) at kernel/qcoreapplication.cpp:1373
#39 0x00007f25576eb653 in sendPostedEvents (s=0x22d7c40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#40 postEventSourceDispatch (s=0x22d7c40) at kernel/qeventdispatcher_glib.cpp:277
#41 0x00007f25502fa342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#42 0x00007f25502fe2a8 in ?? () from /lib/libglib-2.0.so.0
#43 0x00007f25502fe45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#44 0x00007f25576eb193 in QEventDispatcherGlib::processEvents (this=0x22b25b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#45 0x00007f2556ad8a4e in QGuiEventDispatcherGlib::processEvents (this=0x7fffdbdc98b0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x00007f25576bda02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#47 0x00007f25576bddec in QEventLoop::exec (this=0x7fffdbdcbd00, flags=) at kernel/qeventloop.cpp:201
#48 0x00007f25576c1ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#49 0x0000000000408f01 in _start ()

Possible duplicates by query: bug 255487, bug 254761, bug 254620, bug 253617, bug 252389.

Reported using DrKonqi
Comment 1 Milian Wolff 2010-11-05 14:19:20 UTC
I've fixed something in this regard for kdevelop 4.1.1, see also bug 251758 for how you could provide me with more information using valgrind if you can reproduce this issue.

*** This bug has been marked as a duplicate of bug 251758 ***