Bug 255487

Summary: Kdevelop crashes if i close the windows by pressing the "close" button `(x)`
Product: [Applications] kdevelop Reporter: giuseppe marco randazzo <gmrandazzo>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.1.0   
Target Milestone: 4.1.0   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description giuseppe marco randazzo 2010-10-28 11:45:23 UTC
Application: kdevelop (4.1.0)
KDE Platform Version: 4.5.2 (KDE 4.5.2) (Compiled from sources)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
I was closiong kdevelop by pressing the close button positioned in the window handle.

The crash can be reproduced every time.

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

Thread 6 (Thread 0x7ff0460c0710 (LWP 20426)):
#0  0x00007ff057c80779 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ff057f04af2 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007ff054a31fb9 in KDevelop::DUChainPrivate::CleanupThread::run (this=0xc9bc90) at /home/marco/kdevplatform-1.1.0/language/duchain/duchain.cpp:286
#3  0x00007ff057f0449e in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007ff057c7bcb0 in start_thread () from /lib/libpthread.so.0
#5  0x00007ff0563649fd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ff036a36710 (LWP 20429)):
#0  0x00007ff05635e2f3 in select () from /lib/libc.so.6
#1  0x00007ff057fcd30d in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007ff057f0449e in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007ff057c7bcb0 in start_thread () from /lib/libpthread.so.0
#4  0x00007ff0563649fd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ff037237710 (LWP 20438)):
#0  0x00007ff05801772b in ?? () from /usr/lib/libQtCore.so.4
#1  0x00007ff050bfa0df in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0x00007ff050bfafc9 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007ff050bfb66d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007ff058017f76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007ff057fec242 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007ff057fec48c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x00007ff057f01cc4 in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x00007ff054b51031 in KDevelop::CompletionWorkerThread::run (this=0x1f686e0) at /home/marco/kdevplatform-1.1.0/language/codecompletion/codecompletionmodel.cpp:81
#9  0x00007ff057f0449e in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007ff057c7bcb0 in start_thread () from /lib/libpthread.so.0
#11 0x00007ff0563649fd in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff037a38710 (LWP 20439)):
#0  0x00007ff05635c173 in poll () from /lib/libc.so.6
#1  0x00007ff050bfb134 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007ff050bfb66d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ff058017f76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007ff057fec242 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007ff057fec48c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007ff057f01cc4 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007ff054b51031 in KDevelop::CompletionWorkerThread::run (this=0x1f67ce0) at /home/marco/kdevplatform-1.1.0/language/codecompletion/codecompletionmodel.cpp:81
#8  0x00007ff057f0449e in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007ff057c7bcb0 in start_thread () from /lib/libpthread.so.0
#10 0x00007ff0563649fd in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff02f855710 (LWP 20440)):
#0  0x00007ff057c80779 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ff057f04265 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007ff057f043c0 in QThread::msleep(unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x00007ff0340f9131 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#4  0x00007ff057f0449e in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007ff057c7bcb0 in start_thread () from /lib/libpthread.so.0
#6  0x00007ff0563649fd in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff05c2bd760 (LWP 20425)):
[KCrash Handler]
#6  0x00007ff054b828f0 in QHash<int, KSharedPtr<KTextEditor::Attribute> >::value (this=0x8, akey=@0x7fff9185e594) at /usr/include/QtCore/qhash.h:606
#7  0x00007ff054b826d8 in QHash<int, KSharedPtr<KTextEditor::Attribute> >::operator[] (this=0x8, akey=@0x7fff9185e594) at /usr/include/QtCore/qhash.h:731
#8  0x00007ff054b81527 in KDevelop::ConfigurableHighlightingColors::getAttribute (this=0x0, number=5) at /home/marco/kdevplatform-1.1.0/language/highlighting/configurablecolors.cpp:43
#9  0x00007ff054b830f8 in KDevelop::CodeHighlighting::attributeForType (this=0x1f554b0, type=KDevelop::HighlightingEnumContainer::FunctionType, context=KDevelop::HighlightingEnumContainer::DeclarationContext, color=...) at /home/marco/kdevplatform-1.1.0/language/highlighting/codehighlighting.cpp:103
#10 0x00007ff054b852ec in KDevelop::CodeHighlightingInstance::highlightDeclaration (this=0x33ac860, declaration=0x2eba530, color=...) at /home/marco/kdevplatform-1.1.0/language/highlighting/codehighlighting.cpp:447
#11 0x00007ff054b83db0 in KDevelop::CodeHighlightingInstance::highlightDUChainSimple (this=0x33ac860, context=0x244b0d0) at /home/marco/kdevplatform-1.1.0/language/highlighting/codehighlighting.cpp:230
#12 0x00007ff054b83b5b in KDevelop::CodeHighlightingInstance::highlightDUChain (this=0x33ac860, context=0x244b0d0) at /home/marco/kdevplatform-1.1.0/language/highlighting/codehighlighting.cpp:204
#13 0x00007ff054b836dd in KDevelop::CodeHighlighting::highlightDUChain (this=0x1f554b0, context=0x244b0d0) at /home/marco/kdevplatform-1.1.0/language/highlighting/codehighlighting.cpp:173
#14 0x00007ff054a2eb1a in KDevelop::DUChain::documentLoadedPrepare (this=0xc9e700, doc=0x220fe00) at /home/marco/kdevplatform-1.1.0/language/duchain/duchain.cpp:1562
#15 0x00007ff054a3038d in KDevelop::DUChain::qt_metacall (this=0xc9e700, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff9185edb0) at /home/marco/kdevplatform-1.1.0/build/language/duchain.moc:168
#16 0x00007ff0580022ff in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#17 0x00007ff05ba242ef in KDevelop::IDocumentController::documentLoadedPrepare (this=0xb98580, _t1=0x220fe00) at /home/marco/kdevplatform-1.1.0/build/interfaces/idocumentcontroller.moc:279
#18 0x00007ff05ba1fc73 in KDevelop::IDocument::notifyLoaded (this=0x220fe00) at /home/marco/kdevplatform-1.1.0/interfaces/idocument.cpp:119
#19 0x00007ff05b766b8d in KDevelop::TextDocumentPrivate::slotDocumentLoaded (this=0x2205830) at /home/marco/kdevplatform-1.1.0/shell/textdocument.cpp:174
#20 0x00007ff05b765df7 in KDevelop::TextDocument::qt_metacall (this=0x220fde0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff9185ef30) at /home/marco/kdevplatform-1.1.0/build/shell/textdocument.moc:94
#21 0x00007ff0580022ff in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#22 0x00007ff05a99b5b2 in KTextEditor::Document::textChanged(KTextEditor::Document*) () from /usr/lib/libktexteditor.so.4
#23 0x00007ff0463b71a5 in KateDocument::openFile() () from /usr/lib/libkatepartinterfaces.so.4
#24 0x00007ff05adefab6 in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4
#25 0x00007ff05b7632a4 in KDevelop::TextDocument::createViewWidget (this=0x220fde0, parent=0x28c0d00) at /home/marco/kdevplatform-1.1.0/shell/textdocument.cpp:261
#26 0x00007ff05b7648c1 in KDevelop::TextView::createWidget (this=0x220f4c0, parent=0x28c0d00) at /home/marco/kdevplatform-1.1.0/shell/textdocument.cpp:532
#27 0x00007ff054735312 in Sublime::View::widget (this=0x220f4c0, parent=0x28c0d00) at /home/marco/kdevplatform-1.1.0/sublime/view.cpp:82
#28 0x00007ff05472de27 in Sublime::MainWindowPrivate::ViewCreator::operator() (this=0x7fff9185fb80, index=0xa13090) at /home/marco/kdevplatform-1.1.0/sublime/mainwindow_p.cpp:248
#29 0x00007ff0547338d3 in Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator> (this=0xa18510, op=..., index=0xa13090) at /home/marco/kdevplatform-1.1.0/sublime/areawalkers.h:32
#30 0x00007ff05473269d in Sublime::Area::walkViews<Sublime::MainWindowPrivate::ViewCreator> (this=0xa18510, op=..., index=0xa13090) at /home/marco/kdevplatform-1.1.0/sublime/areawalkers.h:48
#31 0x00007ff05472e1dc in Sublime::MainWindowPrivate::reconstruct (this=0x9fed30) at /home/marco/kdevplatform-1.1.0/sublime/mainwindow_p.cpp:275
#32 0x00007ff054727445 in Sublime::MainWindow::setArea (this=0x9fb750, area=0xa18510) at /home/marco/kdevplatform-1.1.0/sublime/mainwindow.cpp:136
#33 0x00007ff05b722985 in KDevelop::WorkingSet::loadToArea (this=0xcaac20, area=0xa18510, areaIndex=0xa13090, clear=false) at /home/marco/kdevplatform-1.1.0/shell/workingsetcontroller.cpp:366
#34 0x00007ff05b725b75 in KDevelop::WorkingSet::changedWorkingSet (this=0xcaac20, area=0xa18510, from=..., to=...) at /home/marco/kdevplatform-1.1.0/shell/workingsetcontroller.cpp:682
#35 0x00007ff05b728c53 in KDevelop::WorkingSet::qt_metacall (this=0xcaac20, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xb057e0) at /home/marco/kdevplatform-1.1.0/build/shell/workingsetcontroller.moc:90
#36 0x00007ff05800115a in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#37 0x00007ff0571a0564 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#38 0x00007ff0571a4fda in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#39 0x00007ff0587ba1f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#40 0x00007ff057feceac in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#41 0x00007ff057ff0695 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#42 0x00007ff058017d83 in ?? () from /usr/lib/libQtCore.so.4
#43 0x00007ff050bfabf3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#44 0x00007ff050bfb3d0 in ?? () from /usr/lib/libglib-2.0.so.0
#45 0x00007ff050bfb66d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#46 0x00007ff058017f1f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#47 0x00007ff05724429e in ?? () from /usr/lib/libQtGui.so.4
#48 0x00007ff057fec242 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#49 0x00007ff057fec48c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#50 0x00007ff057ff094b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#51 0x00000000004095f8 in main (argc=1, argv=0x7fff91862788) at /home/marco/kdevelop-4.1.0/app/main.cpp:380

Possible duplicates by query: bug 254761, bug 254620, bug 251758.

Reported using DrKonqi
Comment 1 Milian Wolff 2010-10-28 13:27:31 UTC

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