Bug 211596 - Kdevelop crashed when editing a c++ class file
Summary: Kdevelop crashed when editing a c++ class file
Status: RESOLVED DUPLICATE of bug 207087
Alias: None
Product: kdevelop
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-23 23:24 UTC by Beau V.C. Bellamy
Modified: 2009-10-24 03:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Beau V.C. Bellamy 2009-10-23 23:24:21 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.27-gentoo-r8 x86_64

What I was doing when the application crashed:
Just opened kdevelop and started modifying a class method then it crashed.  I was copying and pasting of a line of code that opens an ALSA midi port.
"port_out2 = snd_seq_create_simple_port(handle, "Output2", SND_SEQ_PORT_CAP_READ |
                                              SND_SEQ_PORT_CAP_SUBS_READ,
                                              SND_SEQ_PORT_TYPE_PORT );
"

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

Thread 9 (Thread 0x7f18f381d950 (LWP 17014)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007f19044dd327 in QWaitCondition::wait (this=0x2893778, mutex=0x2893780, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007f1901147bde in KDevelop::DUChainPrivate::CleanupThread::run (this=0x2893760) at /var/tmp/portage/dev-util/kdevplatform-0.9.95/work/kdevplatform-0.9.95/language/duchain/duchain.cpp:280
#3  0x00007f19044dc604 in QThreadPrivate::start (arg=0x2893760) at thread/qthread_unix.cpp:188
#4  0x00007f190426c007 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f1902b2248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f18e8345950 (LWP 17049)):
#0  0x00007f190426ecf0 in __pthread_mutex_unlock_usercnt (mutex=0x39e8d48, decr=1) at pthread_mutex_unlock.c:64
#1  0x00007f18fcbd5330 in IA__g_main_context_acquire (context=0x39e8d40) at gmain.c:1925
#2  0x00007f18fcbd6971 in g_main_context_iterate (context=0x39e8d40, block=1, dispatch=1, self=0x1) at gmain.c:2399
#3  0x00007f18fcbd6efc in IA__g_main_context_iteration (context=0x39e8d40, may_block=1) at gmain.c:2518
#4  0x00007f19045d3c06 in QEventDispatcherGlib::processEvents (this=0x39e8c70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#5  0x00007f19045ada22 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -399224912}) at kernel/qeventloop.cpp:149
#6  0x00007f19045adbbc in QEventLoop::exec (this=0x7f18e8344ff0, flags={i = -399224832}) at kernel/qeventloop.cpp:197
#7  0x00007f19044d9aec in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f19044dc604 in QThreadPrivate::start (arg=0x39e8160) at thread/qthread_unix.cpp:188
#9  0x00007f190426c007 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x00007f1902b2248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f18e8b46950 (LWP 17050)):
#0  0x00007f190426ecb0 in __pthread_mutex_unlock_usercnt (mutex=0x39ee788, decr=1) at pthread_mutex_unlock.c:35
#1  0x00007f18fcbd5330 in IA__g_main_context_acquire (context=0x39ee780) at gmain.c:1925
#2  0x00007f18fcbd6971 in g_main_context_iterate (context=0x39ee780, block=1, dispatch=1, self=0x1) at gmain.c:2399
#3  0x00007f18fcbd6efc in IA__g_main_context_iteration (context=0x39ee780, may_block=1) at gmain.c:2518
#4  0x00007f19045d3c06 in QEventDispatcherGlib::processEvents (this=0x39ee6b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#5  0x00007f19045ada22 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -390832208}) at kernel/qeventloop.cpp:149
#6  0x00007f19045adbbc in QEventLoop::exec (this=0x7f18e8b45ff0, flags={i = -390832128}) at kernel/qeventloop.cpp:197
#7  0x00007f19044d9aec in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f19044dc604 in QThreadPrivate::start (arg=0x3add7f0) at thread/qthread_unix.cpp:188
#9  0x00007f190426c007 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x00007f1902b2248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f18e7b44950 (LWP 17053)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007f19044dbef5 in thread_sleep (ti=0x7f18e7b43fa0) at thread/qthread_unix.cpp:297
#2  0x00007f19044dc04e in QThread::msleep (msecs=30) at thread/qthread_unix.cpp:323
#3  0x00007f18e524b331 in UIBlockTester::UIBlockTesterThread::run (this=0x34f4cc0) at /var/tmp/portage/dev-util/kdevelop-3.9.95/work/kdevelop-3.9.95/languages/cpp/cpplanguagesupport.cpp:661
#4  0x00007f19044dc604 in QThreadPrivate::start (arg=0x34f4cc0) at thread/qthread_unix.cpp:188
#5  0x00007f190426c007 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007f1902b2248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f18dfbdb950 (LWP 17056)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f19044dd349 in QWaitCondition::wait (this=0x286cd38, mutex=0x2852890, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f1905bec3f4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x286cd10, th=0x38ba930)
    at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007f1905beeacb in ThreadWeaver::WorkingHardState::applyForWork (this=0x2847fa0, th=0x38ba930)
    at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007f1905bed0d7 in ThreadWeaver::ThreadRunHelper::run (this=0x7f18dfbdaff0, parent=0x286cd10, th=0x38ba930)
    at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/threadweaver/Weaver/Thread.cpp:87
#5  0x00007f1905bed519 in ThreadWeaver::Thread::run (this=0x38ba930) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/threadweaver/Weaver/Thread.cpp:142
#6  0x00007f19044dc604 in QThreadPrivate::start (arg=0x38ba930) at thread/qthread_unix.cpp:188
#7  0x00007f190426c007 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#8  0x00007f1902b2248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f18df3da950 (LWP 17057)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f19044dd349 in QWaitCondition::wait (this=0x286cd38, mutex=0x2852890, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f1905bec3f4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x286cd10, th=0x3820b50)
    at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007f1905beeacb in ThreadWeaver::WorkingHardState::applyForWork (this=0x2847fa0, th=0x3820b50)
    at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007f1905beeae4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2847fa0, th=0x3820b50)
    at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/threadweaver/Weaver/WorkingHardState.cpp:74
#5  0x00007f1905bed0d7 in ThreadWeaver::ThreadRunHelper::run (this=0x7f18df3d9ff0, parent=0x286cd10, th=0x3820b50)
    at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f1905bed519 in ThreadWeaver::Thread::run (this=0x3820b50) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f19044dc604 in QThreadPrivate::start (arg=0x3820b50) at thread/qthread_unix.cpp:188
#8  0x00007f190426c007 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#9  0x00007f1902b2248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f18dc97b950 (LWP 17098)):
#0  0x00007fff0f7ff73c in clock_gettime ()
#1  0x00007f18fce814dd in *__GI_clock_gettime (clock_id=1, tp=0x7f18dc97ad30) at ../sysdeps/unix/clock_gettime.c:100
#2  0x00007f19045d552d in QTimerInfoList::getTime (this=<value optimized out>, t=@0x31ae860) at kernel/qeventdispatcher_unix.cpp:339
#3  0x00007f19045d5721 in QTimerInfoList::updateCurrentTime (this=0x1) at kernel/qeventdispatcher_unix.cpp:297
#4  0x00007f19045d6fc3 in QTimerInfoList::timerWait (this=0x1, tm=@0x7f18dc97ad30) at kernel/qeventdispatcher_unix.cpp:420
#5  0x00007f19045d3da4 in timerSourcePrepare (source=<value optimized out>, timeout=0x7f18dc97ae24) at kernel/qeventdispatcher_glib.cpp:141
#6  0x00007f18fcbd669a in IA__g_main_context_prepare (context=0x3bc7ee0, priority=0x7f18dc97aea4) at gmain.c:2144
#7  0x00007f18fcbd6a3f in g_main_context_iterate (context=0x3bc7ee0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2435
#8  0x00007f18fcbd6efc in IA__g_main_context_iteration (context=0x3bc7ee0, may_block=1) at gmain.c:2518
#9  0x00007f19045d3c06 in QEventDispatcherGlib::processEvents (this=0x69231a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#10 0x00007f19045ada22 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -594038928}) at kernel/qeventloop.cpp:149
#11 0x00007f19045adbbc in QEventLoop::exec (this=0x7f18dc97afb0, flags={i = -594038848}) at kernel/qeventloop.cpp:197
#12 0x00007f19044d9aec in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#13 0x00007f1904595ad8 in QInotifyFileSystemWatcherEngine::run (this=0x39ea950) at io/qfilesystemwatcher_inotify.cpp:214
#14 0x00007f19044dc604 in QThreadPrivate::start (arg=0x39ea950) at thread/qthread_unix.cpp:188
#15 0x00007f190426c007 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#16 0x00007f1902b2248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f18cfffc950 (LWP 17099)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f19044dd349 in QWaitCondition::wait (this=0x84e6c28, mutex=0x79fac60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f1905bec3f4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x84e6c00, th=0x389c2f0)
    at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007f1905beeacb in ThreadWeaver::WorkingHardState::applyForWork (this=0x39687d0, th=0x389c2f0)
    at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007f1905bed0d7 in ThreadWeaver::ThreadRunHelper::run (this=0x7f18cfffbff0, parent=0x84e6c00, th=0x389c2f0)
    at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/threadweaver/Weaver/Thread.cpp:87
#5  0x00007f1905bed519 in ThreadWeaver::Thread::run (this=0x389c2f0) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/threadweaver/Weaver/Thread.cpp:142
#6  0x00007f19044dc604 in QThreadPrivate::start (arg=0x389c2f0) at thread/qthread_unix.cpp:188
#7  0x00007f190426c007 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#8  0x00007f1902b2248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1907716760 (LWP 17013)):
[KCrash Handler]
#5  KParts::ReadOnlyPart::url (this=0x0) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kparts/part.cpp:465
#6  0x00007f18e713f3eb in ProblemHighlighter::setProblems (this=0x33a78a0, problems=@0x7fff0f76ea20)
    at /var/tmp/portage/dev-util/kdevplatform-0.9.95/work/kdevplatform-0.9.95/plugins/problemreporter/problemhighlighter.cpp:56
#7  0x00007f18e7139560 in ProblemReporterPlugin::updateReady (this=0x3639680, url={m_index = 259451520}, topContext={m_topContext = 0x7fff0f76ea70})
    at /var/tmp/portage/dev-util/kdevplatform-0.9.95/work/kdevplatform-0.9.95/plugins/problemreporter/problemreporterplugin.cpp:141
#8  0x00007f18e7139d0f in ProblemReporterPlugin::qt_metacall (this=0x3639680, _c=<value optimized out>, _id=0, _a=0x7fff0f76ebc0)
    at /var/tmp/portage/dev-util/kdevplatform-0.9.95/work/kdevplatform-0.9.95_build/plugins/problemreporter/problemreporterplugin.moc:75
#9  0x00007f19045b642a in QMetaMethod::invoke (this=0x7fff0f76f090, object=0x3639680, connectionType=Qt::DirectConnection, returnValue=
        {<QGenericArgument> = {_data = 0x0, _name = 0x0}, <No data fields>}, val0={_data = 0x7fff0f76f3a0, _name = 0x7f1901278cdc "KDevelop::IndexedString"}, val1=
      {_data = 0x7fff0f76f2b0, _name = 0x7f1901278f40 "KDevelop::ReferencedTopDUContext"}, val2={_data = 0x0, _name = 0x0}, val3={_data = 0x0, _name = 0x0}, val4={_data = 0x0, _name = 0x0}, val5=
      {_data = 0x0, _name = 0x0}, val6={_data = 0x0, _name = 0x0}, val7={_data = 0x0, _name = 0x0}, val8={_data = 0x0, _name = 0x0}, val9={_data = 0x0, _name = 0x0}) at kernel/qmetaobject.cpp:1522
#10 0x00007f19045b6b14 in QMetaObject::invokeMethod (obj=0x3639680, member=<value optimized out>, type=Qt::DirectConnection, ret={<QGenericArgument> = {_data = 0x0, _name = 0x0}, <No data fields>}, 
    val0={_data = 0x7fff0f76f3a0, _name = 0x7f1901278cdc "KDevelop::IndexedString"}, val1={_data = 0x7fff0f76f2b0, _name = 0x7f1901278f40 "KDevelop::ReferencedTopDUContext"}, val2=
      {_data = 0x0, _name = 0x0}, val3={_data = 0x0, _name = 0x0}, val4={_data = 0x0, _name = 0x0}, val5={_data = 0x0, _name = 0x0}, val6={_data = 0x0, _name = 0x0}, val7={_data = 0x0, _name = 0x0}, 
    val8={_data = 0x0, _name = 0x0}, val9={_data = 0x0, _name = 0x0}) at kernel/qmetaobject.cpp:1114
#11 0x00007f190111ab53 in KDevelop::BackgroundParserPrivate::createParseJob (this=<value optimized out>, url=@0x33aa1d0, features=KDevelop::TopDUContext::AllDeclarationsContextsAndUses, 
    notifyWhenReady={{p = {static shared_null = {ref = {_q_value = 178924}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7fff0f76f5e0}, d = 0x7fff0f76f5e0}})
    at /usr/include/qt4/QtCore/qobjectdefs.h:387
#12 0x00007f190111c7e9 in KDevelop::BackgroundParserPrivate::parseDocumentsInternal (this=0x286cb10)
    at /var/tmp/portage/dev-util/kdevplatform-0.9.95/work/kdevplatform-0.9.95/language/backgroundparser/backgroundparser.cpp:160
#13 0x00007f1901117aaa in KDevelop::BackgroundParser::parseDocuments (this=0x2887320)
    at /var/tmp/portage/dev-util/kdevplatform-0.9.95/work/kdevplatform-0.9.95/language/backgroundparser/backgroundparser.cpp:501
#14 0x00007f1901118b95 in KDevelop::BackgroundParser::qt_metacall (this=0x2887320, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7f18e14d5c80)
    at /var/tmp/portage/dev-util/kdevplatform-0.9.95/work/kdevplatform-0.9.95_build/language/backgroundparser.moc:167
#15 0x00007f19045bdb31 in QObject::event (this=0x2887320, e=0x7f18e39af7b0) at kernel/qobject.cpp:1099
#16 0x00007f19036e9b7d in QApplicationPrivate::notify_helper (this=0x2685440, receiver=0x2887320, e=0x7f18e39af7b0) at kernel/qapplication.cpp:4056
#17 0x00007f19036f244a in QApplication::notify (this=0x7fff0f770170, receiver=0x2887320, e=0x7f18e39af7b0) at kernel/qapplication.cpp:4021
#18 0x00007f1904cfa52b in KApplication::notify (this=0x7fff0f770170, receiver=0x2887320, event=0x7f18e39af7b0)
    at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kdeui/kernel/kapplication.cpp:302
#19 0x00007f19045af023 in QCoreApplication::notifyInternal (this=0x7fff0f770170, receiver=0x2887320, event=0x7f18e39af7b0) at kernel/qcoreapplication.cpp:606
#20 0x00007f19045af926 in QCoreApplicationPrivate::sendPostedEvents (receiver=<value optimized out>, event_type=0, data=0x15c64d0) at kernel/qcoreapplication.h:213
#21 0x00007f19045d3f43 in postEventSourceDispatch (s=<value optimized out>) at kernel/qcoreapplication.h:218
#22 0x00007f18fcbd36a0 in IA__g_main_context_dispatch (context=0x2688040) at gmain.c:1824
#23 0x00007f18fcbd6d38 in g_main_context_iterate (context=0x2688040, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2455
#24 0x00007f18fcbd6efc in IA__g_main_context_iteration (context=0x2688040, may_block=1) at gmain.c:2518
#25 0x00007f19045d3bef in QEventDispatcherGlib::processEvents (this=0x2684f00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#26 0x00007f190376f15f in QGuiEventDispatcherGlib::processEvents (this=0x7fff0f76e940, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#27 0x00007f19045ada22 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 259457056}) at kernel/qeventloop.cpp:149
#28 0x00007f19045adbbc in QEventLoop::exec (this=0x7fff0f770060, flags={i = 259457136}) at kernel/qeventloop.cpp:197
#29 0x00007f19045afbb4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#30 0x00000000004083d7 in main (argc=2, argv=0x7fff0f771318) at /var/tmp/portage/dev-util/kdevelop-3.9.95/work/kdevelop-3.9.95/app/main.cpp:181

Reported using DrKonqi
Comment 1 Dario Andres 2009-10-24 03:13:04 UTC
Merging with bug 207087. Thanks

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