Application that crashed: kdevelop Version of the application: 3.9.96 (using KDevPlatform 0.9.96) KDE Version: 4.3.2 (KDE 4.3.2) Qt Version: 4.5.2 Operating System: Linux 2.6.31-9-rt i686 Distribution: Ubuntu 9.10 What I was doing when the application crashed: I just build Kdevelop 4 (kdevelop-3.9.96) from source, and this is the first time I am running it. I am using Ubuntu 9.10. -- Backtrace: Application: KDevelop (kdevelop), signal: Segmentation fault [Current thread is 1 (Thread 0xb7884700 (LWP 23250))] Thread 3 (Thread 0xb3410b70 (LWP 23251)): #0 0x00118422 in __kernel_vsyscall () #1 0x0083c142 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179 #2 0x061b57e4 in __pthread_cond_timedwait (cond=0x9248200, mutex=0x92481e8, abstime=0xb34102c0) at forward.c:152 #3 0x0251cdef in QWaitConditionPrivate::wait (this=0x923d34c, mutex=0x923d350, time=200000) at thread/qwaitcondition_unix.cpp:85 #4 QWaitCondition::wait (this=0x923d34c, mutex=0x923d350, time=200000) at thread/qwaitcondition_unix.cpp:159 #5 0x05f41355 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x923d340) at /home/frohro/Desktop/kdevplatform-0.9.96/language/duchain/duchain.cpp:280 #6 0x0251be32 in QThreadPrivate::start (arg=0x923d340) at thread/qthread_unix.cpp:188 #7 0x0083780e in start_thread (arg=0xb3410b70) at pthread_create.c:300 #8 0x061a87ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 2 (Thread 0xb240eb70 (LWP 23257)): #0 0x0083b144 in __pthread_mutex_unlock_usercnt (mutex=0x930ee84, decr=<value optimized out>) at pthread_mutex_unlock.c:52 #1 0x061b5996 in pthread_mutex_unlock (mutex=0x930ee84) at forward.c:184 #2 0x01424135 in IA__g_main_context_prepare (context=0x930ee80, priority=0xb240e15c) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2308 #3 0x01424341 in g_main_context_iterate (context=0x930ee80, block=<value optimized out>, dispatch=1, self=0x9327d28) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2571 #4 0x01424853 in IA__g_main_context_iteration (context=0x930ee80, may_block=1) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2654 #5 0x02637067 in QEventDispatcherGlib::processEvents (this=0x9214158, flags=...) at kernel/qeventdispatcher_glib.cpp:329 #6 0x0260ac79 in QEventLoop::processEvents (this=0xb240e2a4, flags=) at kernel/qeventloop.cpp:149 #7 0x0260b0ca in QEventLoop::exec (this=0xb240e2a4, flags=...) at kernel/qeventloop.cpp:201 #8 0x02518b73 in QThread::exec (this=0x9319940) at thread/qthread.cpp:487 #9 0x025ed6ab in QInotifyFileSystemWatcherEngine::run (this=0x9319940) at io/qfilesystemwatcher_inotify.cpp:214 #10 0x0251be32 in QThreadPrivate::start (arg=0x9319940) at thread/qthread_unix.cpp:188 #11 0x0083780e in start_thread (arg=0xb240eb70) at pthread_create.c:300 #12 0x061a87ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 1 (Thread 0xb7884700 (LWP 23250)): [KCrash Handler] #6 QBasicAtomicInt::ref (x=0xbfb7848c, copy=0xbfb7849c) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:120 #7 QByteArray (x=0xbfb7848c, copy=0xbfb7849c) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:414 #8 QBitArray (x=0xbfb7848c, copy=0xbfb7849c) at ../../include/QtCore/../../src/corelib/tools/qbitarray.h:64 #9 v_construct<QBitArray> (x=0xbfb7848c, copy=0xbfb7849c) at ../../include/QtCore/private/../../../src/corelib/kernel/qvariant_p.h:104 #10 construct (x=0xbfb7848c, copy=0xbfb7849c) at kernel/qvariant.cpp:131 #11 0x01c8c490 in construct (x=0xbfb7848c, copy=0xbfb7849c) at kernel/qguivariant.cpp:152 #12 0x026298af in QVariant::create (this=0xbfb7848c, type=10, copy=0xbfb7849c) at kernel/qvariant.cpp:1343 #13 0x02629e92 in QVariant (this=0xbfb7848c, val=...) at kernel/qvariant.cpp:1627 #14 0x001bc48c in ProvidersModel::data (this=0x97a39e8, index=..., role=0) at /home/frohro/Desktop/kdevplatform-0.9.96/shell/documentationview.cpp:50 #15 0x0201bc29 in QComboBoxPrivate::itemText (this=0x97a3318, index=...) at widgets/qcombobox.cpp:1211 #16 0x0201c850 in QComboBoxPrivate::_q_emitCurrentIndexChanged (this=0x97a3318, index=...) at widgets/qcombobox.cpp:1206 #17 0x0201eebb in QComboBoxPrivate::setCurrentIndex (this=0x97a3318, mi=...) at widgets/qcombobox.cpp:1953 #18 0x0201efe5 in QComboBox::setCurrentIndex (this=0x97a32a8, index=0) at widgets/qcombobox.cpp:1936 #19 0x02021d57 in QComboBox::setModel (this=0x97a32a8, model=0x97a39e8) at widgets/qcombobox.cpp:1879 #20 0x001bb33d in DocumentationView (this=0x97acd78, parent=0x95f62d0) at /home/frohro/Desktop/kdevplatform-0.9.96/shell/documentationview.cpp:90 #21 0x001ba8e4 in DocumentationViewFactory::create (this=0x91e22a8, parent=0x95f62d0) at /home/frohro/Desktop/kdevplatform-0.9.96/shell/documentationcontroller.cpp:47 #22 0x00179f6b in KDevelop::UiToolViewFactory::create (this=0x9627bc8, doc=0x97962f8, parent=0x95f62d0) at /home/frohro/Desktop/kdevplatform-0.9.96/shell/uicontroller.cpp:150 #23 0x00add8c5 in Sublime::ToolDocument::createViewWidget (this=0x97962f8, parent=0x95f62d0) at /home/frohro/Desktop/kdevplatform-0.9.96/sublime/tooldocument.cpp:62 #24 0x00addc1d in Sublime::View::createWidget (this=0x97aab40, parent=0x95f62d0) at /home/frohro/Desktop/kdevplatform-0.9.96/sublime/view.cpp:90 #25 0x00ade1bc in Sublime::ToolView::createWidget (this=0x97aab40, parent=0x95f62d0) at /home/frohro/Desktop/kdevplatform-0.9.96/sublime/view.cpp:142 #26 0x00ade2a7 in Sublime::View::widget (this=0x97aab40, parent=0x95f62d0) at /home/frohro/Desktop/kdevplatform-0.9.96/sublime/view.cpp:82 #27 0x00ae591b in Sublime::IdealMainWidget::addView (this=0x95a91e8, area=Qt::RightDockWidgetArea, view=0x97aab40) at /home/frohro/Desktop/kdevplatform-0.9.96/sublime/ideal.cpp:591 #28 0x00ad4c96 in Sublime::MainWindowPrivate::IdealToolViewCreator::operator() (this=0xbfb78a5c, view=0x97aab40, position=Sublime::Right) at /home/frohro/Desktop/kdevplatform-0.9.96/sublime/mainwindow_p.cpp:190 #29 0x00adcf13 in Sublime::Area::walkToolViews<Sublime::MainWindowPrivate::IdealToolViewCreator> (this=0x909bae8, op=..., positions=) at /home/frohro/Desktop/kdevplatform-0.9.96/sublime/areawalkers.h:59 #30 0x00ad5267 in Sublime::MainWindowPrivate::toolViewAdded (this=0x907c040, position=Sublime::Right) at /home/frohro/Desktop/kdevplatform-0.9.96/sublime/mainwindow_p.cpp:518 #31 0x00ad0823 in Sublime::MainWindow::qt_metacall (this=0x90852f8, _c=QMetaObject::InvokeMetaMethod, _id=63, _a=0xbfb78bb4) at /home/frohro/Desktop/kdevplatform-0.9.96/build/sublime/mainwindow.moc:114 #32 0x0016098a in KDevelop::MainWindow::qt_metacall (this=0x90852f8, _c=QMetaObject::InvokeMetaMethod, _id=63, _a=0xbfb78bb4) at /home/frohro/Desktop/kdevplatform-0.9.96/build/shell/mainwindow.moc:85 #33 0x02622263 in QMetaObject::activate (sender=0x909bae8, from_signal_index=7, to_signal_index=7, argv=0xbfb78bb4) at kernel/qobject.cpp:3113 #34 0x02622ec2 in QMetaObject::activate (sender=0x909bae8, m=0xaf24a0, local_signal_index=3, argv=0xbfb78bb4) at kernel/qobject.cpp:3187 #35 0x00ac0d19 in Sublime::Area::toolViewAdded (this=0x909bae8, _t1=0x97aab40, _t2=Sublime::Right) at /home/frohro/Desktop/kdevplatform-0.9.96/build/sublime/area.moc:130 #36 0x00ac245c in Sublime::Area::addToolView (this=0x909bae8, view=0x97aab40, defaultPosition=Sublime::Right) at /home/frohro/Desktop/kdevplatform-0.9.96/sublime/area.cpp:227 #37 0x00174f5d in KDevelop::UiController::addToolViewToArea (this=0x8fffb68, factory=0x91e22a8, doc=0x97962f8, area=0x909bae8) at /home/frohro/Desktop/kdevplatform-0.9.96/shell/uicontroller.cpp:581 #38 0x00178821 in KDevelop::UiController::addToolView (this=0x8fffb68, name=..., factory=0x91e22a8) at /home/frohro/Desktop/kdevplatform-0.9.96/shell/uicontroller.cpp:311 #39 0x001b8e31 in KDevelop::DocumentationController::initialize (this=0x91e21d0) at /home/frohro/Desktop/kdevplatform-0.9.96/shell/documentationcontroller.cpp:67 #40 0x001743a9 in KDevelop::CorePrivate::initialize (this=0x900bc48, mode=<value optimized out>) at /home/frohro/Desktop/kdevplatform-0.9.96/shell/core.cpp:191 #41 0x00174b1a in KDevelop::Core::initialize (mode=KDevelop::Core::Default) at /home/frohro/Desktop/kdevplatform-0.9.96/shell/core.cpp:218 #42 0x0804d3ca in main (argc=1, argv=0xbfb79464) at /home/frohro/Desktop/kdevelop-3.9.96/app/main.cpp:148 The current source language is "auto; currently c". Reported using DrKonqi
Do you have any other versions of kdevelop or kdevplatform installed? If so please remove them. This backtrace looks fishy, a crash within QBasicAtomicInt is very suspicious, could be a bic-issue or miscompilation.
You are right. It appears that you cannot have the version from the Ubuntu repository and the one you compiled from source even though one is in /usr/local and the other in /usr. Thanks, Rob
(In reply to comment #2) > You are right. It appears that you cannot have the version from the Ubuntu > repository and the one you compiled from source even though one is in > /usr/local and the other in /usr. Yeah, that won't work because the linker and the KDE plugin loader will look in /usr first for plugins, trying to load old plugins into the newer application. And that'll lead to arbitrary crashes with bogus backtraces. Thanks for answering so quickly.