Bug 228915 - Crash at choosing Review tab
Summary: Crash at choosing Review tab
Status: RESOLVED NOT A BUG
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-28 17:38 UTC by Volodymyr Volkov
Modified: 2010-03-01 09:14 UTC (History)
1 user (show)

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 Volodymyr Volkov 2010-02-28 17:38:05 UTC
Application that crashed: kdevelop.bin
Version of the application: 3.9.98 (using KDevPlatform 0.9.98)
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-19-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
I was at Code tab, the clicked Debug tab, then Review tab. At the moment of clicking at Review tab, KDevelop crashed.

 -- Backtrace:
Application: KDevelop (kdevelop.bin), signal: Aborted
[Current thread is 1 (Thread 0xb7832700 (LWP 12108))]

Thread 7 (Thread 0xb4cd9b70 (LWP 12109)):
#0  0x0045f422 in __kernel_vsyscall ()
#1  0x00ced142 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x00e298d4 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0x043d9def in QWaitConditionPrivate::wait (this=0x853b2b4, mutex=0x853b2b8, time=200000) at thread/qwaitcondition_unix.cpp:85
#4  QWaitCondition::wait (this=0x853b2b4, mutex=0x853b2b8, time=200000) at thread/qwaitcondition_unix.cpp:159
#5  0x067f26a5 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x853b2a8) at /home/volodymyr/Workspace/kdevplatform/language/duchain/duchain.cpp:286
#6  0x043d8e32 in QThreadPrivate::start (arg=0x853b2a8) at thread/qthread_unix.cpp:188
#7  0x00ce880e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x00e1c8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xb1c3bb70 (LWP 12213)):
#0  0x00cffe06 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x044f5bf3 in QTimerInfoList::getTime (this=0x8a078dc, t=...) at kernel/qeventdispatcher_unix.cpp:339
#2  0x044f5de1 in QTimerInfoList::updateCurrentTime (this=0x8a078dc) at kernel/qeventdispatcher_unix.cpp:297
#3  0x044f688c in QTimerInfoList::timerWait (this=0x8a078dc, tm=...) at kernel/qeventdispatcher_unix.cpp:420
#4  0x044f4210 in timerSourcePrepare (source=0x8a078a8, timeout=0xb1c3b10c) at kernel/qeventdispatcher_glib.cpp:141
#5  0x014f3f90 in IA__g_main_context_prepare (context=0x8a077e8, priority=0xb1c3b18c) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2280
#6  0x014f4351 in g_main_context_iterate (context=0x8a077e8, block=<value optimized out>, dispatch=1, self=0x84db428) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2571
#7  0x014f4863 in IA__g_main_context_iteration (context=0x8a077e8, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#8  0x044f4067 in QEventDispatcherGlib::processEvents (this=0x89c3e78, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#9  0x044c7c79 in QEventLoop::processEvents (this=0xb1c3b2d4, flags=) at kernel/qeventloop.cpp:149
#10 0x044c80ca in QEventLoop::exec (this=0xb1c3b2d4, flags=...) at kernel/qeventloop.cpp:201
#11 0x043d5b73 in QThread::exec (this=0x8a82920) at thread/qthread.cpp:487
#12 0x068fba20 in KDevelop::CompletionWorkerThread::run (this=0x8a82920) at /home/volodymyr/Workspace/kdevplatform/language/codecompletion/codecompletionmodel.cpp:82
#13 0x043d8e32 in QThreadPrivate::start (arg=0x8a82920) at thread/qthread_unix.cpp:188
#14 0x00ce880e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0x00e1c8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xb243cb70 (LWP 12214)):
#0  0x044f3c38 in socketNotifierSourcePrepare (timeout=0xb243c10c) at kernel/qeventdispatcher_glib.cpp:73
#1  0x014f3f90 in IA__g_main_context_prepare (context=0x8a32b58, priority=0xb243c18c) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2280
#2  0x014f4351 in g_main_context_iterate (context=0x8a32b58, block=<value optimized out>, dispatch=1, self=0x8a14218) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2571
#3  0x014f4863 in IA__g_main_context_iteration (context=0x8a32b58, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#4  0x044f4067 in QEventDispatcherGlib::processEvents (this=0x866c668, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#5  0x044c7c79 in QEventLoop::processEvents (this=0xb243c2d4, flags=) at kernel/qeventloop.cpp:149
#6  0x044c80ca in QEventLoop::exec (this=0xb243c2d4, flags=...) at kernel/qeventloop.cpp:201
#7  0x043d5b73 in QThread::exec (this=0x8a32898) at thread/qthread.cpp:487
#8  0x068fba20 in KDevelop::CompletionWorkerThread::run (this=0x8a32898) at /home/volodymyr/Workspace/kdevplatform/language/codecompletion/codecompletionmodel.cpp:82
#9  0x043d8e32 in QThreadPrivate::start (arg=0x8a32898) at thread/qthread_unix.cpp:188
#10 0x00ce880e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0x00e1c8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xafdefb70 (LWP 12215)):
#0  0x0045f422 in __kernel_vsyscall ()
#1  0x00ced142 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x00e298d4 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0x043d881e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:297
#4  0x043d8973 in QThread::msleep (msecs=30) at thread/qthread_unix.cpp:323
#5  0x0272700b in UIBlockTester::UIBlockTesterThread::run (this=0x8a96b70) at /home/volodymyr/Workspace/kdevelop/languages/cpp/cpplanguagesupport.cpp:672
#6  0x043d8e32 in QThreadPrivate::start (arg=0x8a96b70) at thread/qthread_unix.cpp:188
#7  0x00ce880e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x00e1c8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xae9b5b70 (LWP 12225)):
#0  0x0045f422 in __kernel_vsyscall ()
#1  0x00cece15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x00e2987d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x043d9e67 in QWaitConditionPrivate::wait (this=0x84ceb28, mutex=0x84ce900, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x84ceb28, mutex=0x84ce900, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00582b30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x84ceb10, th=0x8f01338) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x0058519c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x84ce770, th=0x8f01338) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x005811fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x84ceb10, th=0x8f01338) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00585292 in ThreadWeaver::WorkingHardState::applyForWork (this=0x84ce770, th=0x8f01338) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00582db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x84ceb10, th=0x8f01338, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x005852b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x84ce770, th=0x8f01338) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00582db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x84ceb10, th=0x8f01338, previous=0x8979ff8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x005833be in ThreadWeaver::ThreadRunHelper::run (this=0xae9b5304, parent=0x84ceb10, th=0x8f01338) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0x005839db in ThreadWeaver::Thread::run (this=0x8f01338) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0x043d8e32 in QThreadPrivate::start (arg=0x8f01338) at thread/qthread_unix.cpp:188
#15 0x00ce880e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0x00e1c8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xae1b4b70 (LWP 12226)):
#0  0x0045f422 in __kernel_vsyscall ()
#1  0x00cece15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x00e2987d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x043d9e67 in QWaitConditionPrivate::wait (this=0x84ceb28, mutex=0x84ce900, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x84ceb28, mutex=0x84ce900, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00582b30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x84ceb10, th=0x8876448) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x0058519c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x84ce770, th=0x8876448) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x005811fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x84ceb10, th=0x8876448) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00585292 in ThreadWeaver::WorkingHardState::applyForWork (this=0x84ce770, th=0x8876448) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00582db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x84ceb10, th=0x8876448, previous=0x94341e8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x005833be in ThreadWeaver::ThreadRunHelper::run (this=0xae1b4304, parent=0x84ceb10, th=0x8876448) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x005839db in ThreadWeaver::Thread::run (this=0x8876448) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x043d8e32 in QThreadPrivate::start (arg=0x8876448) at thread/qthread_unix.cpp:188
#13 0x00ce880e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0x00e1c8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7832700 (LWP 12108)):
[KCrash Handler]
#6  0x0045f422 in __kernel_vsyscall ()
#7  0x00d7a4d1 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0x00d7d932 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0x00cad4df in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#10 0x00cab415 in ?? () from /usr/lib/libstdc++.so.6
#11 0x00cab452 in std::terminate() () from /usr/lib/libstdc++.so.6
#12 0x00cab591 in __cxa_throw () from /usr/lib/libstdc++.so.6
#13 0x0411de67 in PatchReviewToolView::kompareModelChanged (this=0xa72d5a8) at /home/volodymyr/Workspace/kdevplatform/plugins/patchreview/patchreview.cpp:480
#14 0x04123d4c in PatchReviewToolView (this=0xa72d5a8, parent=0xa7a4608, plugin=0x86d6878) at /home/volodymyr/Workspace/kdevplatform/plugins/patchreview/patchreview.cpp:83
#15 0x04123e0b in PatchReviewPlugin::createToolView (this=0x86d6878, parent=0xa7a4608) at /home/volodymyr/Workspace/kdevplatform/plugins/patchreview/patchreview.cpp:1362
#16 0x00326efb in KDevelop::UiToolViewFactory::create (this=0x866e648, doc=0x8656528, parent=0xa7a4608) at /home/volodymyr/Workspace/kdevplatform/shell/uicontroller.cpp:149
#17 0x06ccafa5 in Sublime::ToolDocument::createViewWidget (this=0x8656528, parent=0xa7a4608) at /home/volodymyr/Workspace/kdevplatform/sublime/tooldocument.cpp:60
#18 0x06ccb29d in Sublime::View::createWidget (this=0x86c7c30, parent=0xa7a4608) at /home/volodymyr/Workspace/kdevplatform/sublime/view.cpp:90
#19 0x06ccb6d7 in Sublime::View::widget (this=0x86c7c30, parent=0xa7a4608) at /home/volodymyr/Workspace/kdevplatform/sublime/view.cpp:82
#20 0x06cd259b in Sublime::IdealMainWidget::addView (this=0x94ebbf8, area=Qt::BottomDockWidgetArea, view=0x86c7c30) at /home/volodymyr/Workspace/kdevplatform/sublime/ideal.cpp:586
#21 0x06cc22d6 in Sublime::MainWindowPrivate::IdealToolViewCreator::operator() (this=0xbffd6c7c, view=0x86c7c30, position=Sublime::Bottom)
    at /home/volodymyr/Workspace/kdevplatform/sublime/mainwindow_p.cpp:190
#22 0x06cca623 in Sublime::Area::walkToolViews<Sublime::MainWindowPrivate::IdealToolViewCreator> (this=0x83c2c38, op=..., positions=)
    at /home/volodymyr/Workspace/kdevplatform/sublime/areawalkers.h:59
#23 0x06cc71b7 in Sublime::MainWindowPrivate::reconstruct (this=0x8391320) at /home/volodymyr/Workspace/kdevplatform/sublime/mainwindow_p.cpp:269
#24 0x06cbdcd4 in Sublime::MainWindow::setArea (this=0x8361e48, area=0x83c2c38) at /home/volodymyr/Workspace/kdevplatform/sublime/mainwindow.cpp:136
#25 0x06ccaa64 in Sublime::MainWindowOperator::setArea (this=0x8375880, w=0x8361e48, area=0x83c2c38) at /home/volodymyr/Workspace/kdevplatform/sublime/mainwindowoperator.cpp:27
#26 0x06cb869b in Sublime::Controller::showAreaInternal (this=0x8375880, area=0x83c2c38, mainWindow=0x8361e48) at /home/volodymyr/Workspace/kdevplatform/sublime/controller.cpp:142
#27 0x06cba538 in Sublime::Controller::showArea (this=0x8375880, areaTypeId=..., mainWindow=0x8361e48) at /home/volodymyr/Workspace/kdevplatform/sublime/controller.cpp:163
#28 0x06cc2af0 in Sublime::MainWindowPrivate::toggleArea (this=0x8391320, index=2) at /home/volodymyr/Workspace/kdevplatform/sublime/mainwindow_p.cpp:615
#29 0x06cc9ca1 in Sublime::MainWindowPrivate::qt_metacall (this=0x8391320, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbffd6f08)
    at /home/volodymyr/Workspace/kdevplatform/build/sublime/mainwindow_p.moc:118
#30 0x044df263 in QMetaObject::activate (sender=0x8369708, from_signal_index=27, to_signal_index=27, argv=0xbffd6f08) at kernel/qobject.cpp:3113
#31 0x044dfec2 in QMetaObject::activate (sender=0x8369708, m=0x216f9e0, local_signal_index=0, argv=0xbffd6f08) at kernel/qobject.cpp:3187
#32 0x01d7da23 in QTabBar::currentChanged (this=0x8369708, _t1=2) at .moc/release-shared/moc_qtabbar.cpp:201
#33 0x01d83dc0 in QTabBar::setCurrentIndex (this=0x8369708, index=2) at widgets/qtabbar.cpp:1176
#34 0x01d84f45 in QTabBar::mousePressEvent (this=0x8369708, event=0xbffd72e8) at widgets/qtabbar.cpp:1707
#35 0x0195bff6 in QWidget::event (this=0x8369708, event=0xbffd72e8) at kernel/qwidget.cpp:7545
#36 0x01d84fd8 in QTabBar::event (this=0x8369708, event=0xbffd72e8) at widgets/qtabbar.cpp:1453
#37 0x01906f54 in QApplicationPrivate::notify_helper (this=0x82d2fb8, receiver=0x8369708, e=0xbffd72e8) at kernel/qapplication.cpp:4056
#38 0x0190f033 in QApplication::notify (this=0xbffd8f98, receiver=0xa7a6498, e=0xbffd7520) at kernel/qapplication.cpp:3758
#39 0x07987bfa in KApplication::notify (this=0xbffd8f98, receiver=0xa7a6498, event=0xbffd7520) at ../../kdeui/kernel/kapplication.cpp:302
#40 0x044c96cb in QCoreApplication::notifyInternal (this=0xbffd8f98, receiver=0xa7a6498, event=0xbffd7520) at kernel/qcoreapplication.cpp:610
#41 0x0190df6e in QCoreApplication::sendSpontaneousEvent (receiver=0xa7a6498, event=0xbffd7520, alienWidget=0xa7a6498, nativeWidget=0x8361e48, buttonDown=0x2181aa0, lastMouseReceiver=...)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#42 QApplicationPrivate::sendMouseEvent (receiver=0xa7a6498, event=0xbffd7520, alienWidget=0xa7a6498, nativeWidget=0x8361e48, buttonDown=0x2181aa0, lastMouseReceiver=...)
    at kernel/qapplication.cpp:2924
#43 0x0197c7c0 in QETWidget::translateMouseEvent (this=0x8361e48, event=0xbffd8b6c) at kernel/qapplication_x11.cpp:4409
#44 0x0197bc4b in QApplication::x11ProcessEvent (this=0xbffd8f98, event=0xbffd8b6c) at kernel/qapplication_x11.cpp:3428
#45 0x019a8502 in x11EventSourceDispatch (s=0x82d6068, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#46 0x014f0e88 in g_main_dispatch (context=0x82d5290) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#47 IA__g_main_context_dispatch (context=0x82d5290) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#48 0x014f4730 in g_main_context_iterate (context=0x82d5290, block=<value optimized out>, dispatch=1, self=0x82d31d8) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#49 0x014f4863 in IA__g_main_context_iteration (context=0x82d5290, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#50 0x044f402c in QEventDispatcherGlib::processEvents (this=0x8254ed8, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#51 0x019a7be5 in QGuiEventDispatcherGlib::processEvents (this=0x8254ed8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#52 0x044c7c79 in QEventLoop::processEvents (this=0xbffd8e64, flags=) at kernel/qeventloop.cpp:149
#53 0x044c80ca in QEventLoop::exec (this=0xbffd8e64, flags=...) at kernel/qeventloop.cpp:201
#54 0x044ca53f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#55 0x01906dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#56 0x0805029b in main (argc=1, argv=0xbffd95c4) at /home/volodymyr/Workspace/kdevelop/app/main_internal.cpp:222

Reported using DrKonqi
Comment 1 Andreas Pakulat 2010-02-28 23:43:37 UTC
Hmm, is this reproduceable? If it is, do you get the same backtrace every time?

@David: Code can be seen at http://websvn.kde.org/tags/kdevplatform/0.9.98/plugins/patchreview/patchreview.cpp?revision=1088414&view=markup

I don't think thats a throw from the patchreview codebase, but rather a out-of-memory exception, what do you think?
Comment 2 David Nolden 2010-02-28 23:51:34 UTC
Very much has changed in that specific code. Please try with the newest svn version, or with the next beta.
Comment 3 Volodymyr Volkov 2010-03-01 07:25:51 UTC
Do it as following:
1) execute:
export KDEDIRS=/usr/local:/usr
kbuildsycoca4
kdevelop

2) KDevelop opens with some small project (for me)
3) click Debug tab
4) click Review tab

I get it every time. I've compiled the code 02/21/2010 - is it too old?
Comment 4 Andreas Pakulat 2010-03-01 08:49:40 UTC
That diesn't crash here. Is the project version controlled and  do you have changed compared to upstream?
Comment 5 Volodymyr Volkov 2010-03-01 09:14:13 UTC
No. The code is two weeks old. I am not a developer yet, so not updating the code frequently enough. I will update the code today.

Sorry for inconvenience.