Bug 226067 - Kdevelop crashes when opening project that has been closed just before
Summary: Kdevelop crashes when opening project that has been closed just before
Status: RESOLVED DUPLICATE of bug 204399
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-09 21:48 UTC by Máté Soós
Modified: 2010-09-28 21:06 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 Máté Soós 2010-02-09 21:48:50 UTC
Application that crashed: kdevelop
Version of the application: 3.9.97 (using KDevPlatform 0.9.97)
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.32-trunk-amd64 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
I closed my project, then opened it, and KDevelop crashed. KDevelop and KDevPlatform were compiled from sources (ver. 3.9.97)

 -- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f1a1d524750 (LWP 18264))]

Thread 7 (Thread 0x7f1a0a029910 (LWP 18265)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f1a1a292477 in QWaitConditionPrivate::wait (this=0x1f14118, mutex=0x1f14120, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=0x1f14118, mutex=0x1f14120, time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f1a16f7141e in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1f14100) at /home/soos/tmp/kdevel/kdevplatform-0.9.97/language/duchain/duchain.cpp:280
#4  0x00007f1a1a2914a5 in QThreadPrivate::start (arg=0x1f14100) at thread/qthread_unix.cpp:188
#5  0x00007f1a14c1673a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f1a1898e69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f19fd85c910 (LWP 18356)):
#0  0x00007f1a1899b210 in pthread_mutex_lock (mutex=0x7f1a0400ab48) at forward.c:182
#1  0x00007f1a13d4ab24 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#2  0x00007f1a1a39f3b6 in QEventDispatcherGlib::processEvents (this=0x7f1a040387a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#3  0x00007f1a1a375562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007f1a1a375934 in QEventLoop::exec (this=0x7f19fd85c050, flags=...) at kernel/qeventloop.cpp:201
#5  0x00007f1a1a28e5a8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#6  0x00007f1a1a2914a5 in QThreadPrivate::start (arg=0x3bc16d0) at thread/qthread_unix.cpp:188
#7  0x00007f1a14c1673a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007f1a1898e69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 5 (Thread 0x7f19fd05b910 (LWP 18357)):
#0  0xffffffffff600132 in ?? ()
#1  0x00007fff1adff6fb in ?? ()
#2  0x00007f1a13fd4e6f in *__GI_clock_gettime (clock_id=-49959488, tp=0x7f19fd05adc0) at ../sysdeps/unix/clock_gettime.c:100
#3  0x00007f1a1a3a10fd in QTimerInfoList::getTime (this=<value optimized out>, t=...) at kernel/qeventdispatcher_unix.cpp:339
#4  0x00007f1a1a3a12e1 in QTimerInfoList::updateCurrentTime (this=0x7f19fd05adc0) at kernel/qeventdispatcher_unix.cpp:297
#5  0x00007f1a1a3a1485 in QTimerInfoList::timerWait (this=0x7f19fd05adc0, tm=...) at kernel/qeventdispatcher_unix.cpp:420
#6  0x00007f1a1a39f56c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f19fd05aec4) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f1a1a39f615 in timerSourcePrepare (source=0x7f19fd05adc0, timeout=0x7f19fd05adc0) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f1a13d4a2e9 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#9  0x00007f1a13d4a679 in ?? () from /lib/libglib-2.0.so.0
#10 0x00007f1a13d4ab3c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#11 0x00007f1a1a39f3b6 in QEventDispatcherGlib::processEvents (this=0x3b0f4a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#12 0x00007f1a1a375562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f1a1a375934 in QEventLoop::exec (this=0x7f19fd05b050, flags=...) at kernel/qeventloop.cpp:201
#14 0x00007f1a1a28e5a8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#15 0x00007f1a1a2914a5 in QThreadPrivate::start (arg=0x3bc3f60) at thread/qthread_unix.cpp:188
#16 0x00007f1a14c1673a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#17 0x00007f1a1898e69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 4 (Thread 0x7f19fc85a910 (LWP 18358)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f1a1a290f15 in thread_sleep (ti=0x7f19fc85a000) at thread/qthread_unix.cpp:297
#2  0x00007f1a1a29106e in QThread::msleep (msecs=30) at thread/qthread_unix.cpp:323
#3  0x00007f19fe112f91 in UIBlockTester::UIBlockTesterThread::run (this=0x3bc1420) at /home/soos/tmp/kdevel/kdevelop-3.9.97/languages/cpp/cpplanguagesupport.cpp:672
#4  0x00007f1a1a2914a5 in QThreadPrivate::start (arg=0x3bc1420) at thread/qthread_unix.cpp:188
#5  0x00007f1a14c1673a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f1a1898e69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f19fc001910 (LWP 18359)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f1a1a292499 in QWaitConditionPrivate::wait (this=0x1e630d8, mutex=0x1e62580, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x1e630d8, mutex=0x1e62580, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f1a1bac52e6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1e630b0, th=0x3a1cba0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f1a1bac737b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1e62660, th=0x3a1cba0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f1a1bac7394 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1e62660, th=0x3a1cba0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f1a1bac7394 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1e62660, th=0x3a1cba0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f1a1bac5a1f in ThreadWeaver::ThreadRunHelper::run (this=0x7f19fc001050, parent=0x1e630b0, th=0x3a1cba0) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007f1a1bac5f88 in ThreadWeaver::Thread::run (this=0x3a1cba0) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007f1a1a2914a5 in QThreadPrivate::start (arg=0x3a1cba0) at thread/qthread_unix.cpp:188
#10 0x00007f1a14c1673a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f1a1898e69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 2 (Thread 0x7f19fb800910 (LWP 18360)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f1a1a292499 in QWaitConditionPrivate::wait (this=0x7f1a0488be10, mutex=0x7f1a0488be08, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x7f1a0488be10, mutex=0x7f1a0488be08, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f19fe120faa in CPPParseJob::includePaths (this=0x7f1a0488bcf0) at /home/soos/tmp/kdevel/kdevelop-3.9.97/languages/cpp/cppparsejob.cpp:241
#4  0x00007f19fe13023c in PreprocessJob::run (this=0x7f1a04533a60) at /home/soos/tmp/kdevel/kdevelop-3.9.97/languages/cpp/preprocessjob.cpp:203
#5  0x00007f1a1bac667d in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f19fb7fffa0, th=0x3a69100, job=0x7f1a04533a60) at ../../../threadweaver/Weaver/Job.cpp:106
#6  0x00007f1a1bac697e in ThreadWeaver::Job::execute (this=0x7f1a04533a60, th=0x3a69100) at ../../../threadweaver/Weaver/Job.cpp:135
#7  0x00007f1a1bac7ca3 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x7f1a04538cd0, t=0x3a69100) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#8  0x00007f1a1bac59ef in ThreadWeaver::ThreadRunHelper::run (this=0x7f19fb800050, parent=0x1e630b0, th=0x3a69100) at ../../../threadweaver/Weaver/Thread.cpp:95
#9  0x00007f1a1bac5f88 in ThreadWeaver::Thread::run (this=0x3a69100) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0x00007f1a1a2914a5 in QThreadPrivate::start (arg=0x3a69100) at thread/qthread_unix.cpp:188
#11 0x00007f1a14c1673a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#12 0x00007f1a1898e69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1a1d524750 (LWP 18264)):
[KCrash Handler]
#5  QAbstractItemView::sizeHintForRow (this=<value optimized out>, row=0) at itemviews/qabstractitemview.cpp:2741
#6  0x00007f1a19ab9e07 in QTreeView::scrollContentsBy (this=0x7f19f41ca810, dx=0, dy=0) at itemviews/qtreeview.cpp:2320
#7  0x00007f1a199df0a0 in QAbstractScrollArea::qt_metacall (this=0x7f19f41ca810, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff1ac49910) at .moc/release-shared/moc_qabstractscrollarea.cpp:79
#8  0x00007f1a19a7c0a5 in QAbstractItemView::qt_metacall (this=0x7fff1ac49690, _c=QMetaObject::InvokeMetaMethod, _id=442939936, _a=0x0) at .moc/release-shared/moc_qabstractitemview.cpp:205
#9  0x00007f1a19ac06e5 in QTreeView::qt_metacall (this=0x7fff1ac49690, _c=QMetaObject::InvokeMetaMethod, _id=442939936, _a=0x0) at .moc/release-shared/moc_qtreeview.cpp:124
#10 0x00007f1a16a538cd in KDevelop::FocusedTreeView::qt_metacall (this=0x7fff1ac49690, _c=QMetaObject::InvokeMetaMethod, _id=442939936, _a=0x0)
    at /home/soos/tmp/kdevel/kdevplatform-0.9.97/build/util/focusedtreeview.moc:62
#11 0x00007f1a1a38bdf2 in QMetaObject::activate (sender=0x7f19f429bb70, from_signal_index=<value optimized out>, to_signal_index=27, argv=0x0) at kernel/qobject.cpp:3112
#12 0x00007f1a19ba95de in QAbstractSlider::valueChanged (this=0x7fff1ac49690, _t1=0) at .moc/release-shared/moc_qabstractslider.cpp:176
#13 0x00007f1a1990b30a in QAbstractSlider::wheelEvent (this=0x7f19f429bb70, e=0x7fff1ac4aa50) at widgets/qabstractslider.cpp:719
#14 0x00007f1a195e6de7 in QWidget::event (this=0x7f19f429bb70, event=0x7fff1ac4aa50) at kernel/qwidget.cpp:7562
#15 0x00007f1a1959701d in QApplicationPrivate::notify_helper (this=0x1af7ed0, receiver=0x7f19f429bb70, e=0x7fff1ac4aa50) at kernel/qapplication.cpp:4065
#16 0x00007f1a1959fe8c in QApplication::notify (this=<value optimized out>, receiver=0x7f19f429bb70, e=0x7fff1ac4aa50) at kernel/qapplication.cpp:3830
#17 0x00007f1a1ab04e06 in KApplication::notify (this=0x7fff1ac4cb90, receiver=0x7f19f429bb70, event=0x7fff1ac4aa50) at ../../kdeui/kernel/kapplication.cpp:302
#18 0x00007f1a1a376c9c in QCoreApplication::notifyInternal (this=0x7fff1ac4cb90, receiver=0x7f19f429bb70, event=0x7fff1ac4aa50) at kernel/qcoreapplication.cpp:610
#19 0x00007f1a195e6de7 in QWidget::event (this=0x7f19f41ca810, event=0x7fff1ac4aa50) at kernel/qwidget.cpp:7562
#20 0x00007f1a1994f92b in QFrame::event (this=0x7f19f41ca810, e=0x7fff1ac4aa50) at widgets/qframe.cpp:559
#21 0x00007f1a19a8198b in QAbstractItemView::viewportEvent (this=0x7f19f41ca810, event=0x7fff1ac4aa50) at itemviews/qabstractitemview.cpp:1476
#22 0x00007f1a19ab9689 in QTreeView::viewportEvent (this=0x7f19f41ca810, event=0x7fff1ac4aa50) at itemviews/qtreeview.cpp:1266
#23 0x00007f1a1a375fb8 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x7f19f46931f0, event=0x7fff1ac4aa50) at kernel/qcoreapplication.cpp:726
#24 0x00007f1a19596fec in QApplicationPrivate::notify_helper (this=0x1af7ed0, receiver=0x7f19f46931f0, e=0x7fff1ac4aa50) at kernel/qapplication.cpp:4061
#25 0x00007f1a1959fe8c in QApplication::notify (this=<value optimized out>, receiver=0x7f19f46931f0, e=0x7fff1ac4aa50) at kernel/qapplication.cpp:3830
#26 0x00007f1a1ab04e06 in KApplication::notify (this=0x7fff1ac4cb90, receiver=0x7f19f46931f0, event=0x7fff1ac4aa50) at ../../kdeui/kernel/kapplication.cpp:302
#27 0x00007f1a1a376c9c in QCoreApplication::notifyInternal (this=0x7fff1ac4cb90, receiver=0x7f19f46931f0, event=0x7fff1ac4aa50) at kernel/qcoreapplication.cpp:610
#28 0x00007f1a195f3fc2 in QCoreApplication::sendSpontaneousEvent (this=<value optimized out>, global_x=<value optimized out>, global_y=<value optimized out>, delta=120, buttons=..., modifiers=..., 
    orient=Qt::Vertical) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#29 QETWidget::translateWheelEvent (this=<value optimized out>, global_x=<value optimized out>, global_y=<value optimized out>, delta=120, buttons=..., modifiers=..., orient=Qt::Vertical)
    at kernel/qapplication_x11.cpp:4449
#30 0x00007f1a1960797d in QETWidget::translateMouseEvent (this=0x1cce120, event=0x7fff1ac4c730) at kernel/qapplication_x11.cpp:4226
#31 0x00007f1a1960640f in QApplication::x11ProcessEvent (this=0x7fff1ac4cb90, event=0x7fff1ac4c730) at kernel/qapplication_x11.cpp:3552
#32 0x00007f1a1962e76c in x11EventSourceDispatch (s=0x1afbc10, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#33 0x00007f1a13d4712a in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#34 0x00007f1a13d4a988 in ?? () from /lib/libglib-2.0.so.0
#35 0x00007f1a13d4ab3c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#36 0x00007f1a1a39f39c in QEventDispatcherGlib::processEvents (this=0xc4f0c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#37 0x00007f1a1962df1f in QGuiEventDispatcherGlib::processEvents (this=0x7fff1ac49690, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#38 0x00007f1a1a375562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f1a1a375934 in QEventLoop::exec (this=0x7fff1ac4ca60, flags=...) at kernel/qeventloop.cpp:201
#40 0x00007f1a1a377ba4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#41 0x0000000000406027 in main (argc=1, argv=0x7fff1ac4dd98) at /home/soos/tmp/kdevel/kdevelop-3.9.97/app/main.cpp:196
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Andreas Pakulat 2010-02-09 22:29:25 UTC
There's nothing kdevelop related in the backtrace, please report this to Nokia.
Comment 2 Milian Wolff 2010-09-28 21:06:40 UTC

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