Bug 250983 - KDevelop crashes on startup
Summary: KDevelop crashes on startup
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.1.60
Platform: openSUSE Linux
: NOR crash
Target Milestone: 4.1.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-12 16:30 UTC by Matt Williams
Modified: 2010-09-13 10:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Williams 2010-09-12 16:30:12 UTC
Application: kdevelop (4.1.60)
KDE Platform Version: 4.5.67 (4.6 >= 20100901) "release 3"
Qt Version: 4.7.0
Operating System: Linux 2.6.34.4-0.1-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
Upon starting KDevelop trunk, I get the crash. It was installed from openSUSE KDE:Unstable:SC repository.

The crash can be reproduced every time.

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

Thread 6 (Thread 0x7fe80d2bd710 (LWP 6842)):
#0  0x00007fe81fa0c709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe820fa0f12 in wait (this=<value optimized out>, mutex=0xb827d0, time=200000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xb827d0, time=200000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fe81d6115ae in KDevelop::DUChainPrivate::CleanupThread::run (this=0xb827b0) at /usr/src/debug/kdevplatform/language/duchain/duchain.cpp:285
#4  0x00007fe820fa08be in QThreadPrivate::start (arg=0xb827b0) at thread/qthread_unix.cpp:266
#5  0x00007fe81fa07a4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007fe81fcee82d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fe806c0c710 (LWP 6844)):
#0  0x00007fe81fce7e13 in select () from /lib64/libc.so.6
#1  0x00007fe8210b361a in qt_safe_select (nfds=11, fdread=0x7fe806c07910, fdwrite=0x7fe806c07890, fdexcept=0x0, orig_timeout=0x7fe806c07850) at kernel/qcore_unix.cpp:92
#2  0x00007fe821067d08 in select_msecs (nfds=<value optimized out>, fdread=<value optimized out>, fdwrite=<value optimized out>, timeout=<value optimized out>) at io/qprocess_unix.cpp:885
#3  0x00007fe82106955e in QProcessPrivate::waitForFinished (this=0x21fa010, msecs=29995) at io/qprocess_unix.cpp:1101
#4  0x00007fe8210287d3 in QProcess::waitForFinished (this=0x206f350, msecs=29995) at io/qprocess.cpp:1742
#5  0x00007fe80c2135b7 in CMakeProjectVisitor::visit(ExecuteProcessAst const*) () from /usr/lib64/libkdev4cmakecommon.so
#6  0x00007fe80c20ccac in CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) () from /usr/lib64/libkdev4cmakecommon.so
#7  0x00007fe80c20ec4b in CMakeProjectVisitor::visit(IfAst const*) () from /usr/lib64/libkdev4cmakecommon.so
#8  0x00007fe80c20ccac in CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) () from /usr/lib64/libkdev4cmakecommon.so
#9  0x00007fe80c20ec4b in CMakeProjectVisitor::visit(IfAst const*) () from /usr/lib64/libkdev4cmakecommon.so
#10 0x00007fe80c20ccac in CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) () from /usr/lib64/libkdev4cmakecommon.so
#11 0x00007fe80c212bbc in CMakeProjectVisitor::visit(IncludeAst const*) () from /usr/lib64/libkdev4cmakecommon.so
#12 0x00007fe80c20ccac in CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) () from /usr/lib64/libkdev4cmakecommon.so
#13 0x00007fe80c20ec4b in CMakeProjectVisitor::visit(IfAst const*) () from /usr/lib64/libkdev4cmakecommon.so
#14 0x00007fe80c20ccac in CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) () from /usr/lib64/libkdev4cmakecommon.so
#15 0x00007fe80c2114ca in CMakeProjectVisitor::visit(FindPackageAst const*) () from /usr/lib64/libkdev4cmakecommon.so
#16 0x00007fe80c20ccac in CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) () from /usr/lib64/libkdev4cmakecommon.so
#17 0x00007fe80badb12b in ?? () from /usr/lib64/kde4/kdevcmakemanager.so
#18 0x00007fe81dc066c1 in import (this=0x88ace0, folder=<value optimized out>) at /usr/src/debug/kdevplatform/project/importprojectjob.cpp:53
#19 KDevelop::ImportProjectJobPrivate::import (this=0x88ace0, folder=<value optimized out>) at /usr/src/debug/kdevplatform/project/importprojectjob.cpp:57
#20 0x00007fe81dc062c6 in QtConcurrent::RunFunctionTask<void>::run (this=0xea2a60) at /usr/include/QtCore/qtconcurrentrunbase.h:120
#21 0x00007fe820f96c98 in QThreadPoolThread::run (this=0x8480f0) at concurrent/qthreadpool.cpp:106
#22 0x00007fe820fa08be in QThreadPrivate::start (arg=0x8480f0) at thread/qthread_unix.cpp:266
#23 0x00007fe81fa07a4f in start_thread () from /lib64/libpthread.so.0
#24 0x00007fe81fcee82d in clone () from /lib64/libc.so.6
#25 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fe80620e710 (LWP 6845)):
#0  KDevVarLengthArray<KDevelop::Use, 10>::realloc (this=0x2229240, asize=11650, aalloc=11650) at /usr/src/debug/kdevplatform/util/kdevvarlengtharray.h:307
#1  0x00007fe81d62418a in resize (this=<value optimized out>, declarationIndex=<value optimized out>, range=<value optimized out>, insertBefore=0)
    at /usr/src/debug/kdevplatform/util/kdevvarlengtharray.h:260
#2  insert (this=<value optimized out>, declarationIndex=<value optimized out>, range=<value optimized out>, insertBefore=0) at /usr/src/debug/kdevplatform/util/kdevvarlengtharray.h:356
#3  KDevelop::DUContext::createUse (this=<value optimized out>, declarationIndex=<value optimized out>, range=<value optimized out>, insertBefore=0)
    at /usr/src/debug/kdevplatform/language/duchain/ducontext.cpp:1393
#4  0x00007fe80c209a4e in CMakeProjectVisitor::createDefinitions(CMakeAst const*) () from /usr/lib64/libkdev4cmakecommon.so
#5  0x00007fe80c20cbd5 in CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) () from /usr/lib64/libkdev4cmakecommon.so
#6  0x00007fe80c20e103 in CMakeProjectVisitor::visit(ForeachAst const*) () from /usr/lib64/libkdev4cmakecommon.so
#7  0x00007fe80c20ccac in CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) () from /usr/lib64/libkdev4cmakecommon.so
#8  0x00007fe80c20ec4b in CMakeProjectVisitor::visit(IfAst const*) () from /usr/lib64/libkdev4cmakecommon.so
#9  0x00007fe80c20ccac in CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) () from /usr/lib64/libkdev4cmakecommon.so
#10 0x00007fe80c20ec4b in CMakeProjectVisitor::visit(IfAst const*) () from /usr/lib64/libkdev4cmakecommon.so
#11 0x00007fe80c20ccac in CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) () from /usr/lib64/libkdev4cmakecommon.so
#12 0x00007fe80c20ff04 in CMakeProjectVisitor::visit(MacroCallAst const*) () from /usr/lib64/libkdev4cmakecommon.so
#13 0x00007fe80c20ccac in CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) () from /usr/lib64/libkdev4cmakecommon.so
#14 0x00007fe80c212bbc in CMakeProjectVisitor::visit(IncludeAst const*) () from /usr/lib64/libkdev4cmakecommon.so
#15 0x00007fe80c20ccac in CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) () from /usr/lib64/libkdev4cmakecommon.so
#16 0x00007fe80badb12b in ?? () from /usr/lib64/kde4/kdevcmakemanager.so
#17 0x00007fe81dc06593 in KDevelop::ImportProjectJobPrivate::import (this=0xa49940, folder=<value optimized out>) at /usr/src/debug/kdevplatform/project/importprojectjob.cpp:53
#18 0x00007fe81dc062c6 in QtConcurrent::RunFunctionTask<void>::run (this=0xe7f870) at /usr/include/QtCore/qtconcurrentrunbase.h:120
#19 0x00007fe820f96c98 in QThreadPoolThread::run (this=0xe5ba70) at concurrent/qthreadpool.cpp:106
#20 0x00007fe820fa08be in QThreadPrivate::start (arg=0xe5ba70) at thread/qthread_unix.cpp:266
#21 0x00007fe81fa07a4f in start_thread () from /lib64/libpthread.so.0
#22 0x00007fe81fcee82d in clone () from /lib64/libc.so.6
#23 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fe8009b0710 (LWP 7002)):
#0  0x00007fe81fa0c39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe80be90a64 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fe80c1b1180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fe80be90a99 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fe80c1bf254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fe81fa07a4f in start_thread () from /lib64/libpthread.so.0
#4  0x00007fe81fcee82d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe8001af710 (LWP 7039)):
#0  0x00007fe8210b6032 in socketNotifierSourceCheck (source=0x2251c60) at kernel/qeventdispatcher_glib.cpp:79
#1  0x00007fe81ab4c718 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fe81ab4cff2 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fe81ab4d510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fe8210b6656 in QEventDispatcherGlib::processEvents (this=0x2279d90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007fe82108ae12 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fe82108b025 in QEventLoop::exec (this=0x7fe8001aede0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fe820f9e034 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007fe82106c478 in QInotifyFileSystemWatcherEngine::run (this=0x21ed4b0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fe820fa08be in QThreadPrivate::start (arg=0x21ed4b0) at thread/qthread_unix.cpp:266
#10 0x00007fe81fa07a4f in start_thread () from /lib64/libpthread.so.0
#11 0x00007fe81fcee82d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe8227c3760 (LWP 6840)):
[KCrash Handler]
#6  0x00007fe81cca7551 in ProvidersModel::data (this=<value optimized out>, index=<value optimized out>, role=<value optimized out>)
    at /usr/src/debug/kdevplatform/documentation/documentationview.cpp:217
#7  0x00007fe82081c55b in QComboBoxPrivate::itemIcon (this=<value optimized out>, index=<value optimized out>) at widgets/qcombobox.cpp:1657
#8  0x00007fe82081d258 in QComboBox::itemIcon (this=<value optimized out>, index=1) at widgets/qcombobox.cpp:2061
#9  0x00007fe82081da68 in QComboBoxPrivate::recomputeSizeHint (this=0x24e1bd0, sh=...) at widgets/qcombobox.cpp:311
#10 0x00007fe82081dce4 in QComboBox::minimumSizeHint (this=<value optimized out>) at widgets/qcombobox.cpp:2299
#11 0x00007fe82047b669 in qSmartMaxSize (i=<value optimized out>, align=...) at kernel/qlayoutengine.cpp:413
#12 0x00007fe82047d063 in QWidgetItem::maximumSize (this=0x24bbd70) at kernel/qlayoutitem.cpp:635
#13 0x00007fe8208be9d5 in QToolBarLayout::updateGeomArray (this=0x24bcc70) at widgets/qtoolbarlayout.cpp:283
#14 0x00007fe8208bed8f in QToolBarLayout::sizeHint (this=0x24bcc70) at widgets/qtoolbarlayout.cpp:686
#15 0x00007fe8204793aa in QLayout::totalSizeHint (this=0x24bcc70) at kernel/qlayout.cpp:846
#16 0x00007fe82048ee00 in QWidget::sizeHint (this=<value optimized out>) at kernel/qwidget.cpp:8005
#17 0x00007fe82047d339 in QWidgetItemV2::updateCacheIfNecessary (this=0x2509990) at kernel/qlayoutitem.cpp:702
#18 0x00007fe82047d620 in QWidgetItemV2::maximumSize (this=0x2509990) at kernel/qlayoutitem.cpp:790
#19 0x00007fe82045d1ef in QBoxLayoutPrivate::setupGeom (this=0x24cc4a0) at kernel/qboxlayout.cpp:304
#20 0x00007fe82045deb1 in QBoxLayout::setGeometry (this=0x24849b0, r=...) at kernel/qboxlayout.cpp:817
#21 0x00007fe8204790f3 in QLayoutPrivate::doResize (this=0x24cc4a0, r=...) at kernel/qlayout.cpp:681
#22 0x00007fe82047a801 in QLayout::activate (this=0x24849b0) at kernel/qlayout.cpp:1259
#23 0x00007fe8204a2108 in QWidget::setVisible (this=0x24bbad0, visible=<value optimized out>) at kernel/qwidget.cpp:7527
#24 0x00007fe8208365d4 in show (this=0x1bf7500, r=QDockWidgetLayout::Content, w=0x24bbad0) at ../../src/gui/kernel/qwidget.h:487
#25 QDockWidgetLayout::setWidgetForRole (this=0x1bf7500, r=QDockWidgetLayout::Content, w=0x24bbad0) at widgets/qdockwidget.cpp:385
#26 0x00007fe81d347dd0 in Sublime::IdealMainWidget::addView (this=0x1d7dc00, area=Qt::RightDockWidgetArea, view=0x24bb280) at /usr/src/debug/kdevplatform/sublime/ideal.cpp:633
#27 0x00007fe81d33e8dc in Sublime::MainWindowPrivate::IdealToolViewCreator::operator() (this=0x7fff8da83320, view=0x24bb280, position=<value optimized out>)
    at /usr/src/debug/kdevplatform/sublime/mainwindow_p.cpp:190
#28 0x00007fe81d342395 in Sublime::Area::walkToolViews<Sublime::MainWindowPrivate::IdealToolViewCreator> (this=0x853080, op=..., positions=...) at /usr/src/debug/kdevplatform/sublime/areawalkers.h:59
#29 0x00007fe81d33fcdd in Sublime::MainWindowPrivate::toolViewAdded (this=<value optimized out>, position=<value optimized out>) at /usr/src/debug/kdevplatform/sublime/mainwindow_p.cpp:545
#30 0x00007fe81d339bfb in Sublime::MainWindow::qt_metacall (this=0x846870, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff8da83480)
    at /usr/src/debug/kdevplatform/build/sublime/mainwindow.moc:126
#31 0x00007fe821c96040 in KDevelop::MainWindow::qt_metacall (this=0x846870, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff8da83480)
    at /usr/src/debug/kdevplatform/build/shell/mainwindow.moc:90
#32 0x00007fe8210a0b5f in QMetaObject::activate (sender=0x853080, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff8da83480) at kernel/qobject.cpp:3272
#33 0x00007fe81d32d6d0 in Sublime::Area::toolViewAdded (this=<value optimized out>, _t1=0x24bb280, _t2=Sublime::Right) at /usr/src/debug/kdevplatform/build/sublime/area.moc:136
#34 0x00007fe81d32e3e8 in Sublime::Area::addToolView (this=0x853080, view=0x24bb280, defaultPosition=Sublime::Right) at /usr/src/debug/kdevplatform/sublime/area.cpp:240
#35 0x00007fe821ca5d6a in KDevelop::UiController::addToolViewToArea (this=0x82db70, factory=0xa51960, doc=<value optimized out>, area=0x853080)
    at /usr/src/debug/kdevplatform/shell/uicontroller.cpp:593
#36 0x00007fe821ca75bd in KDevelop::UiController::addToolView (this=0x82db70, name=<value optimized out>, factory=0xa51960) at /usr/src/debug/kdevplatform/shell/uicontroller.cpp:323
#37 0x00007fe821ce927f in KDevelop::DocumentationController::initialize (this=<value optimized out>) at /usr/src/debug/kdevplatform/shell/documentationcontroller.cpp:67
#38 0x00007fe821ca49b0 in KDevelop::CorePrivate::initialize (this=0x7e77e0, mode=<value optimized out>, session=<value optimized out>) at /usr/src/debug/kdevplatform/shell/core.cpp:215
#39 0x00007fe821ca5300 in KDevelop::Core::initialize (splash=0x7ec920, mode=KDevelop::Core::Default, session=<value optimized out>) at /usr/src/debug/kdevplatform/shell/core.cpp:244
#40 0x000000000040828f in _start ()

Reported using DrKonqi
Comment 1 Milian Wolff 2010-09-13 10:37:34 UTC
make sure all plugins creating a documentationprovider are build correctly, esp. the PHP-Docs plugin needs to be rebuild.