Bug 210040 - crash when typing < after "template" in a C++ project
Summary: crash when typing < after "template" in a C++ project
Status: RESOLVED DUPLICATE of bug 204222
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: 2009-10-10 03:48 UTC by Carl
Modified: 2009-10-11 04:12 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 Carl 2009-10-10 03:48:16 UTC
Application that crashed: kdevelop
Version of the application: 3.9.95 (using KDevPlatform 0.9.95)
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.28-15-generic i686
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
I created a simple c++ cmake project, added a few classes with pure virtual functions and then in one of the class header files, below the class declaration, I was going to create a templated subclass. It crashed when typing the < after the word template. 

 -- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 0 (LWP 8812)]

Thread 8 (Thread 0xb1824b90 (LWP 8813)):
#0  0xb8008430 in __kernel_vsyscall ()
#1  0xb55a1412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6221344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6e0014c in QWaitCondition::wait (this=0x9af7cac, mutex=0x9af7cb0, time=200000) at thread/qwaitcondition_unix.cpp:85
#4  0xb5c8b1d5 in ?? () from /usr/lib/libkdevplatformlanguage.so.1
#5  0xb6dff132 in QThreadPrivate::start (arg=0x9af7ca0) at thread/qthread_unix.cpp:188
#6  0xb559d4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb621249e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xae65bb90 (LWP 8919)):
#0  0xb8008430 in __kernel_vsyscall ()
#1  0xb55a10e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb62212ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6e00172 in QWaitCondition::wait (this=0x9d87890, mutex=0x9d55738, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb7966148 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9d87878, th=0x9acc710) at /build/buildd/kde4libs-4.3.2/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb7968eec in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9d53778, th=0x9acc710) at /build/buildd/kde4libs-4.3.2/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb7964d2b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9d87878, th=0x9acc710) at /build/buildd/kde4libs-4.3.2/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb7968fea in ThreadWeaver::WorkingHardState::applyForWork (this=0x9d53778, th=0x9acc710) at /build/buildd/kde4libs-4.3.2/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb79666d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9d87878, th=0x9acc710, previous=0x9f4da58) at /build/buildd/kde4libs-4.3.2/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb7966fbe in ThreadWeaver::ThreadRunHelper::run (this=0xae65b330, parent=0x9d87878, th=0x9acc710) at /build/buildd/kde4libs-4.3.2/threadweaver/Weaver/Thread.cpp:87
#10 0xb79675fb in ThreadWeaver::Thread::run (this=0x9acc710) at /build/buildd/kde4libs-4.3.2/threadweaver/Weaver/Thread.cpp:142
#11 0xb6dff132 in QThreadPrivate::start (arg=0x9acc710) at thread/qthread_unix.cpp:188
#12 0xb559d4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0xb621249e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xab2e9b90 (LWP 8977)):
#0  0xb55770ac in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0xb6f2104b in QTimerInfoList::getTime (this=0xa32a7c4, t=@0xa32a7e8) at kernel/qeventdispatcher_unix.cpp:339
#2  0xb6f21221 in QTimerInfoList::updateCurrentTime (this=0xa32a7c4) at kernel/qeventdispatcher_unix.cpp:297
#3  0xb6f22e0c in QTimerInfoList::timerWait (this=0xa32a7c4, tm=@0xab2e9144) at kernel/qeventdispatcher_unix.cpp:420
#4  0xb6f1f4da in timerSourcePrepare (source=0xb557aff4, timeout=0xab2e9198) at kernel/qeventdispatcher_glib.cpp:141
#5  0xb54f79c0 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb54f7dda in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb54f8268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb6f1f317 in QEventDispatcherGlib::processEvents (this=0xa329518, flags={i = -1423011192}) at kernel/qeventdispatcher_glib.cpp:329
#9  0xb6ef21fa in QEventLoop::processEvents (this=0xab2e9300, flags={i = -1423011128}) at kernel/qeventloop.cpp:149
#10 0xb6ef2642 in QEventLoop::exec (this=0xab2e9300, flags={i = -1423011064}) at kernel/qeventloop.cpp:201
#11 0xb6dfbe19 in QThread::exec (this=0xa329708) at thread/qthread.cpp:487
#12 0xb5d90360 in ?? () from /usr/lib/libkdevplatformlanguage.so.1
#13 0xb6dff132 in QThreadPrivate::start (arg=0xa329708) at thread/qthread_unix.cpp:188
#14 0xb559d4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0xb621249e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xaaae8b90 (LWP 8978)):
#0  0xb559ea2c in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#1  0xb62214b6 in pthread_mutex_lock () from /lib/tls/i686/cmov/libc.so.6
#2  0xb54f79fc in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#3  0xb54f7dda in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb54f8268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb6f1f317 in QEventDispatcherGlib::processEvents (this=0xa04be10, flags={i = -1431403896}) at kernel/qeventdispatcher_glib.cpp:329
#6  0xb6ef21fa in QEventLoop::processEvents (this=0xaaae8300, flags={i = -1431403832}) at kernel/qeventloop.cpp:149
#7  0xb6ef2642 in QEventLoop::exec (this=0xaaae8300, flags={i = -1431403768}) at kernel/qeventloop.cpp:201
#8  0xb6dfbe19 in QThread::exec (this=0xa17e0d8) at thread/qthread.cpp:487
#9  0xb5d90360 in ?? () from /usr/lib/libkdevplatformlanguage.so.1
#10 0xb6dff132 in QThreadPrivate::start (arg=0xa17e0d8) at thread/qthread_unix.cpp:188
#11 0xb559d4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb621249e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xaa2e7b90 (LWP 8981)):
#0  0xb8008430 in __kernel_vsyscall ()
#1  0xb55a1412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6221344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6dfeb29 in thread_sleep (ti=0xaa2e72f0) at thread/qthread_unix.cpp:297
#4  0xb6dfec5b in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:323
#5  0xabd673ab in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#6  0xb6dff132 in QThreadPrivate::start (arg=0xaa2e7338) at thread/qthread_unix.cpp:188
#7  0xb559d4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0xb621249e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xa9364b90 (LWP 9011)):
#0  0xb8008430 in __kernel_vsyscall ()
#1  0xb55a10e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb62212ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6e00172 in QWaitCondition::wait (this=0x9a89d00, mutex=0x99df080, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb7966148 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9a89ce8, th=0xa3ff138) at /build/buildd/kde4libs-4.3.2/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb7968eec in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x99df140, th=0xa3ff138) at /build/buildd/kde4libs-4.3.2/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb7964d2b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9a89ce8, th=0xa3ff138) at /build/buildd/kde4libs-4.3.2/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb7968fea in ThreadWeaver::WorkingHardState::applyForWork (this=0x99df140, th=0xa3ff138) at /build/buildd/kde4libs-4.3.2/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb79666d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9a89ce8, th=0xa3ff138, previous=0xa62ebf8) at /build/buildd/kde4libs-4.3.2/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb7966fbe in ThreadWeaver::ThreadRunHelper::run (this=0xa9364330, parent=0x9a89ce8, th=0xa3ff138) at /build/buildd/kde4libs-4.3.2/threadweaver/Weaver/Thread.cpp:87
#10 0xb79675fb in ThreadWeaver::Thread::run (this=0xa3ff138) at /build/buildd/kde4libs-4.3.2/threadweaver/Weaver/Thread.cpp:142
#11 0xb6dff132 in QThreadPrivate::start (arg=0xa3ff138) at thread/qthread_unix.cpp:188
#12 0xb559d4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0xb621249e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xa8b63b90 (LWP 9012)):
#0  0xb8008430 in __kernel_vsyscall ()
#1  0xb55a10e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb62212ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6e00172 in QWaitCondition::wait (this=0x9a89d00, mutex=0x99df080, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb7966148 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9a89ce8, th=0xa255288) at /build/buildd/kde4libs-4.3.2/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb7968eec in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x99df140, th=0xa255288) at /build/buildd/kde4libs-4.3.2/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb7964d2b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9a89ce8, th=0xa255288) at /build/buildd/kde4libs-4.3.2/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb7968fea in ThreadWeaver::WorkingHardState::applyForWork (this=0x99df140, th=0xa255288) at /build/buildd/kde4libs-4.3.2/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb79666d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9a89ce8, th=0xa255288, previous=0xa23d940) at /build/buildd/kde4libs-4.3.2/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb7966fbe in ThreadWeaver::ThreadRunHelper::run (this=0xa8b63330, parent=0x9a89ce8, th=0xa255288) at /build/buildd/kde4libs-4.3.2/threadweaver/Weaver/Thread.cpp:87
#10 0xb79675fb in ThreadWeaver::Thread::run (this=0xa255288) at /build/buildd/kde4libs-4.3.2/threadweaver/Weaver/Thread.cpp:142
#11 0xb6dff132 in QThreadPrivate::start (arg=0xa255288) at thread/qthread_unix.cpp:188
#12 0xb559d4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0xb621249e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb5142700 (LWP 8812)):
[KCrash Handler]
#6  KParts::ReadOnlyPart::url (this=0x0) at /build/buildd/kde4libs-4.3.2/kparts/part.cpp:465
#7  0xb5c4ff65 in ?? () from /usr/lib/libkdevplatformlanguage.so.1
#8  0xb5c4d296 in KDevelop::EditorIntegrator::removeDocument () from /usr/lib/libkdevplatformlanguage.so.1
#9  0xb7d1ce0d in KDevelop::TextDocument::close () from /usr/lib/libkdevplatformshell.so.1
#10 0xb7d20e7d in KDevelop::DocumentController::closeDocument () from /usr/lib/libkdevplatformshell.so.1
#11 0xb7d0b81a in KDevelop::ProjectController::closeAllOpenedFiles () from /usr/lib/libkdevplatformshell.so.1
#12 0xb7d0f6e6 in KDevelop::ProjectController::closeProject () from /usr/lib/libkdevplatformshell.so.1
#13 0xb7d10f28 in KDevelop::ProjectController::openProject () from /usr/lib/libkdevplatformshell.so.1
#14 0xb7d12025 in KDevelop::ProjectController::qt_metacall () from /usr/lib/libkdevplatformshell.so.1
#15 0xb6f091b8 in QMetaObject::activate (sender=0x99973b8, from_signal_index=30, to_signal_index=30, argv=0xbf820f6c) at kernel/qobject.cpp:3113
#16 0xb6f09e42 in QMetaObject::activate (sender=0x99973b8, m=0xb73c88ec, local_signal_index=0, argv=0xbf820f6c) at kernel/qobject.cpp:3187
#17 0xb7144fc3 in KRecentFilesAction::urlSelected (this=0x99973b8, _t1=@0x9d7fbc4) at /build/buildd/kde4libs-4.3.2/obj-i486-linux-gnu/kdeui/krecentfilesaction.moc:118
#18 0xb714538d in KRecentFilesActionPrivate::_k_urlSelected (this=0x998bae8, action=0x998daf8) at /build/buildd/kde4libs-4.3.2/kdeui/actions/krecentfilesaction.cpp:97
#19 0xb714549c in KRecentFilesAction::qt_metacall (this=0x99973b8, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf8210fc)
    at /build/buildd/kde4libs-4.3.2/obj-i486-linux-gnu/kdeui/krecentfilesaction.moc:79
#20 0xb6f091b8 in QMetaObject::activate (sender=0x99973b8, from_signal_index=23, to_signal_index=23, argv=0xbf8210fc) at kernel/qobject.cpp:3113
#21 0xb6f09e42 in QMetaObject::activate (sender=0x99973b8, m=0xb73c8998, local_signal_index=0, argv=0xbf8210fc) at kernel/qobject.cpp:3187
#22 0xb7148d63 in KSelectAction::triggered (this=0x99973b8, _t1=0x998daf8) at /build/buildd/kde4libs-4.3.2/obj-i486-linux-gnu/kdeui/kselectaction.moc:164
#23 0xb714a8b0 in KSelectAction::actionTriggered (this=0x99973b8, action=0x998daf8) at /build/buildd/kde4libs-4.3.2/kdeui/actions/kselectaction.cpp:330
#24 0xb714bc34 in KSelectAction::qt_metacall (this=0x99973b8, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf82127c) at /build/buildd/kde4libs-4.3.2/obj-i486-linux-gnu/kdeui/kselectaction.moc:109
#25 0xb714544a in KRecentFilesAction::qt_metacall (this=0x99973b8, _c=QMetaObject::InvokeMetaMethod, _id=26, _a=0xbf82127c)
    at /build/buildd/kde4libs-4.3.2/obj-i486-linux-gnu/kdeui/krecentfilesaction.moc:71
#26 0xb6f091b8 in QMetaObject::activate (sender=0x9997708, from_signal_index=4, to_signal_index=4, argv=0xbf82127c) at kernel/qobject.cpp:3113
#27 0xb6f09e42 in QMetaObject::activate (sender=0x9997708, m=0xb6d40ec4, local_signal_index=0, argv=0xbf82127c) at kernel/qobject.cpp:3187
#28 0xb64d6403 in QActionGroup::triggered (this=0x9997708, _t1=0x998daf8) at .moc/release-shared/moc_qactiongroup.cpp:140
#29 0xb64d6c98 in QActionGroupPrivate::_q_actionTriggered (this=0x9997718) at kernel/qactiongroup.cpp:87
#30 0xb64d6eae in QActionGroup::qt_metacall (this=0x9997708, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbf8213bc) at .moc/release-shared/moc_qactiongroup.cpp:95
#31 0xb6f091b8 in QMetaObject::activate (sender=0x998daf8, from_signal_index=5, to_signal_index=6, argv=0xbf8213bc) at kernel/qobject.cpp:3113
#32 0xb6f095f0 in QMetaObject::activate (sender=0x998daf8, m=0xb6d40e48, from_local_signal_index=1, to_local_signal_index=2, argv=0xbf8213bc) at kernel/qobject.cpp:3207
#33 0xb64d16c1 in QAction::triggered (this=0x998daf8, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#34 0xb64d2c3f in QAction::activate (this=0x998daf8, event=QAction::Trigger) at kernel/qaction.cpp:1160
#35 0xb69240e4 in QMenuPrivate::activateCausedStack (this=0x9988a50, causedStack=@0xbf821498, action=0x998daf8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:967
#36 0xb692a83b in QMenuPrivate::activateAction (this=0x9988a50, action=0x998daf8, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1060
#37 0xb692b382 in QMenu::mouseReleaseEvent (this=0x9944418, e=0xbf821ad8) at widgets/qmenu.cpp:2254
#38 0xb7309e15 in KMenu::mouseReleaseEvent (this=0x9944418, e=0xbf821ad8) at /build/buildd/kde4libs-4.3.2/kdeui/widgets/kmenu.cpp:456
#39 0xb652e973 in QWidget::event (this=0x9944418, event=0xbf821ad8) at kernel/qwidget.cpp:7549
#40 0xb692d639 in QMenu::event (this=0x9944418, e=0xbf821ad8) at widgets/qmenu.cpp:2353
#41 0xb64d7d3c in QApplicationPrivate::notify_helper (this=0x9842820, receiver=0x9944418, e=0xbf821ad8) at kernel/qapplication.cpp:4056
#42 0xb64e09b1 in QApplication::notify (this=0xbf82348c, receiver=0x9944418, e=0xbf821ad8) at kernel/qapplication.cpp:3758
#43 0xb722149d in KApplication::notify (this=0xbf82348c, receiver=0x9944418, event=0xbf821ad8) at /build/buildd/kde4libs-4.3.2/kdeui/kernel/kapplication.cpp:302
#44 0xb6ef3bcb in QCoreApplication::notifyInternal (this=0xbf82348c, receiver=0x9944418, event=0xbf821ad8) at kernel/qcoreapplication.cpp:610
#45 0xb64dfa1e in QApplicationPrivate::sendMouseEvent (receiver=0x9944418, event=0xbf821ad8, alienWidget=0x0, nativeWidget=0x9944418, buttonDown=0xb6d59aa0, lastMouseReceiver=@0xb6d59aa4)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#46 0xb654ff56 in QETWidget::translateMouseEvent (this=0x9944418, event=0xbf82316c) at kernel/qapplication_x11.cpp:4343
#47 0xb654f085 in QApplication::x11ProcessEvent (this=0xbf82348c, event=0xbf82316c) at kernel/qapplication_x11.cpp:3428
#48 0xb657a37a in x11EventSourceDispatch (s=0x9845900, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#49 0xb54f4b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#50 0xb54f80eb in ?? () from /usr/lib/libglib-2.0.so.0
#51 0xb54f8268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#52 0xb6f1f2f8 in QEventDispatcherGlib::processEvents (this=0x97913b0, flags={i = -1081986264}) at kernel/qeventdispatcher_glib.cpp:327
#53 0xb6579a75 in QGuiEventDispatcherGlib::processEvents (this=0x97913b0, flags={i = -1081986216}) at kernel/qguieventdispatcher_glib.cpp:202
#54 0xb6ef21fa in QEventLoop::processEvents (this=0xbf8233d0, flags={i = -1081986152}) at kernel/qeventloop.cpp:149
#55 0xb6ef2642 in QEventLoop::exec (this=0xbf8233d0, flags={i = -1081986088}) at kernel/qeventloop.cpp:201
#56 0xb6ef4ae9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#57 0xb64d7bb7 in QApplication::exec () at kernel/qapplication.cpp:3525
#58 0x0804f1fb in _start ()

Reported using DrKonqi
Comment 1 Andreas Pakulat 2009-10-10 08:53:33 UTC
your description doesn't match the backtrace at all, but the backtrace matches another already open report. Hence closing as dupe.

*** This bug has been marked as a duplicate of bug 204222 ***
Comment 2 Carl 2009-10-11 04:12:07 UTC
(In reply to comment #1)
> your description doesn't match the backtrace at all, but the backtrace matches
> another already open report. Hence closing as dupe.
> 
> *** This bug has been marked as a duplicate of bug 204222 ***

It might not match the back trace, but it was what I was doing.