Bug 316925 - KDevelop crashed during typing in the editor
Summary: KDevelop crashed during typing in the editor
Status: RESOLVED DUPLICATE of bug 314213
Alias: None
Product: kdevelop
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 4.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-17 18:11 UTC by Vitalii Abetkin
Modified: 2013-03-17 18:22 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitalii Abetkin 2013-03-17 18:11:06 UTC
Application: kdevelop (4.5.60)
KDE Platform Version: 4.10.00 "release 1" (Compiled from sources)
Qt Version: 4.8.4
Operating System: Linux 3.7.10-1.1-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
	just typing in the editor
- Custom settings of the application:
	Python plugin is installed (latest), was editing python files. Two kdevelop sessions were opened.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fbe8ccfd780 (LWP 7263))]

Thread 9 (Thread 0x7fbe87389700 (LWP 7264)):
#0  0x00007fbe9c081d11 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbe9c314587 in wait (time=1000, this=0x32ee150) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x32e28a0, time=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fbe987766bb in KDevelop::DUChainPrivate::CleanupThread::run (this=0x32e2880) at /home/vitalii/kdevplatform/language/duchain/duchain.cpp:282
#4  0x00007fbe9c3140cc in QThreadPrivate::start (arg=0x32e2880) at thread/qthread_unix.cpp:338
#5  0x00007fbe9c07de0f in start_thread () from /lib64/libpthread.so.0
#6  0x00007fbe9a4447dd in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7fbe75571700 (LWP 7267)):
#0  0x00007fbe947cf5cd in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fbe947d12b7 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fbe947d19cb in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fbe947d1bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fbe9c43e1f6 in QEventDispatcherGlib::processEvents (this=0x7fbe700008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fbe9c40e9ef in QEventLoop::processEvents (this=this@entry=0x7fbe75570e00, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fbe9c40ec78 in QEventLoop::exec (this=0x7fbe75570e00, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fbe9c3110f0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#8  0x00007fbe9c3140cc in QThreadPrivate::start (arg=0x40694f0) at thread/qthread_unix.cpp:338
#9  0x00007fbe9c07de0f in start_thread () from /lib64/libpthread.so.0
#10 0x00007fbe9a4447dd in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7fbe74d70700 (LWP 7268)):
#0  0x00007fbe9c081964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbe993c6307 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fbe996d3660 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fbe993c6339 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fbe9c07de0f in start_thread () from /lib64/libpthread.so.0
#4  0x00007fbe9a4447dd in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fbe6ede5700 (LWP 7279)):
#0  0x00007fbe9a43b87d in poll () from /lib64/libc.so.6
#1  0x00007fbe947d1aa4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fbe947d1bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fbe9c43e1f6 in QEventDispatcherGlib::processEvents (this=0x7fbe680008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fbe9c40e9ef in QEventLoop::processEvents (this=this@entry=0x7fbe6ede4dd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fbe9c40ec78 in QEventLoop::exec (this=0x7fbe6ede4dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fbe9c3110f0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007fbe9c3ef1af in QInotifyFileSystemWatcherEngine::run (this=0x4f401b0) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007fbe9c3140cc in QThreadPrivate::start (arg=0x4f401b0) at thread/qthread_unix.cpp:338
#9  0x00007fbe9c07de0f in start_thread () from /lib64/libpthread.so.0
#10 0x00007fbe9a4447dd in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fbe67fff700 (LWP 7303)):
#0  0x00007fbe9c081964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbe927117c7 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/libQtWebKit.so.4
#2  0x00007fbe927117f9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#3  0x00007fbe9c07de0f in start_thread () from /lib64/libpthread.so.0
#4  0x00007fbe9a4447dd in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fbe6c9ca700 (LWP 7304)):
#0  0x00007fbe9a43b87d in poll () from /lib64/libc.so.6
#1  0x00007fbe947d1aa4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fbe947d1bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fbe9c43e1f6 in QEventDispatcherGlib::processEvents (this=0x7fbe60002900, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fbe9c40e9ef in QEventLoop::processEvents (this=this@entry=0x7fbe6c9c9e00, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fbe9c40ec78 in QEventLoop::exec (this=0x7fbe6c9c9e00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fbe9c3110f0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007fbe9c3140cc in QThreadPrivate::start (arg=0x4fa3a40) at thread/qthread_unix.cpp:338
#8  0x00007fbe9c07de0f in start_thread () from /lib64/libpthread.so.0
#9  0x00007fbe9a4447dd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fbe66d72700 (LWP 7379)):
#0  0x00007fbe9a41558d in nanosleep () from /lib64/libc.so.6
#1  0x00007fbe9a43dd44 in usleep () from /lib64/libc.so.6
#2  0x00007fbe987b5bb2 in KDevelop::DUChainLock::lockForWrite (this=0x32e43d8, timeout=0) at /home/vitalii/kdevplatform/language/duchain/duchainlock.cpp:190
#3  0x00007fbe987b5d41 in KDevelop::DUChainWriteLocker::lock (this=0x7fbe66d71120) at /home/vitalii/kdevplatform/language/duchain/duchainlock.cpp:284
#4  0x00007fbe755c01f9 in Python::DeclarationBuilder::visitFunctionDefinition (this=0x7fbe1ec81bb0, node=0x7fbe1c7d8ea0) at /home/vitalii/kdev-python/duchain/declarationbuilder.cpp:1488
#5  0x00007fbe85f0094c in Python::AstDefaultVisitor::visitClassDefinition (this=0x7fbe1ec81c10, node=0x7fbe1e5e2e38) at /home/vitalii/kdev-python/parser/astdefaultvisitor.cpp:317
#6  0x00007fbe755c169b in Python::DeclarationBuilder::visitClassDefinition (this=0x7fbe1ec81bb0, node=0x7fbe1e5e2e38) at /home/vitalii/kdev-python/duchain/declarationbuilder.cpp:1441
#7  0x00007fbe85f00194 in Python::AstDefaultVisitor::visitCode (this=0x7fbe1ec81c10, node=<optimized out>) at /home/vitalii/kdev-python/parser/astdefaultvisitor.cpp:47
#8  0x00007fbe755ba937 in Python::ContextBuilder::visitCode (this=0x7fbe1ec81bb0, node=0x7fbe1de25a60) at /home/vitalii/kdev-python/duchain/contextbuilder.cpp:333
#9  0x00007fbe755bffb1 in Python::DeclarationBuilder::visitCode (this=0x7fbe1ec81bb0, node=0x7fbe1de25a60) at /home/vitalii/kdev-python/duchain/declarationbuilder.cpp:356
#10 0x00007fbe755cd415 in supportBuild (context=0x7fbe14075440, node=0x7fbe1de25a60, this=0x7fbe1ec81bb0) at /usr/local/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:133
#11 KDevelop::AbstractTypeBuilder<Python::Ast, Python::Identifier, Python::ContextBuilder>::supportBuild (this=0x7fbe1ec81bb0, node=0x7fbe1de25a60, context=<optimized out>) at /usr/local/include/kdevplatform/language/duchain/builders/abstracttypebuilder.h:85
#12 0x00007fbe755bca1f in build (updateContext=..., node=0x7fbe1de25a60, url=..., this=0x7fbe1ec81bb0) at /usr/local/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:113
#13 Python::ContextBuilder::build (this=0x7fbe1ec81bb0, url=..., node=0x7fbe1de25a60, updateContext=...) at /home/vitalii/kdev-python/duchain/contextbuilder.cpp:86
#14 0x00007fbe755bf443 in Python::DeclarationBuilder::build (this=0x7fbe1ec81bb0, url=..., node=0x7fbe1de25a60, updateContext=...) at /home/vitalii/kdev-python/duchain/declarationbuilder.cpp:104
#15 0x00007fbe755bf3c8 in Python::DeclarationBuilder::build (this=0x7fbe66d71bd0, url=..., node=0x7fbe1de25a60, updateContext=...) at /home/vitalii/kdev-python/duchain/declarationbuilder.cpp:97
#16 0x00007fbe75a24e86 in Python::ParseJob::run (this=0x6adeff0) at /home/vitalii/kdev-python/pythonparsejob.cpp:160
#17 0x00007fbe9ec5283a in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7fbe66d71db0, th=th@entry=0x4f8ac40, job=job@entry=0x6adeff0) at /usr/src/debug/kdelibs-4.10.0/threadweaver/Weaver/Job.cpp:106
#18 0x00007fbe9ec529b1 in ThreadWeaver::Job::execute (this=0x6adeff0, th=0x4f8ac40) at /usr/src/debug/kdelibs-4.10.0/threadweaver/Weaver/Job.cpp:135
#19 0x00007fbe9ec5200f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7fbe66d71e00, parent=0x23ee2a0, th=th@entry=0x4f8ac40) at /usr/src/debug/kdelibs-4.10.0/threadweaver/Weaver/Thread.cpp:95
#20 0x00007fbe9ec520cb in ThreadWeaver::Thread::run (this=0x4f8ac40) at /usr/src/debug/kdelibs-4.10.0/threadweaver/Weaver/Thread.cpp:142
#21 0x00007fbe9c3140cc in QThreadPrivate::start (arg=0x4f8ac40) at thread/qthread_unix.cpp:338
#22 0x00007fbe9c07de0f in start_thread () from /lib64/libpthread.so.0
#23 0x00007fbe9a4447dd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fbe1bfff700 (LWP 7380)):
#0  0x00007fbe9c081964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbe9c31462b in wait (time=18446744073709551615, this=0x23ee3f0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x23ee570, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fbe9ec50981 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x23ee2a0, th=0x41b2cb0) at /usr/src/debug/kdelibs-4.10.0/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fbe9ec531cb in ThreadWeaver::WorkingHardState::applyForWork (this=0x23ee600, th=0x41b2cb0) at /usr/src/debug/kdelibs-4.10.0/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fbe9ec531e4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x23ee600, th=0x41b2cb0) at /usr/src/debug/kdelibs-4.10.0/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fbe9ec5203f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7fbe1bffee00, parent=0x23ee2a0, th=th@entry=0x41b2cb0) at /usr/src/debug/kdelibs-4.10.0/threadweaver/Weaver/Thread.cpp:87
#7  0x00007fbe9ec520cb in ThreadWeaver::Thread::run (this=0x41b2cb0) at /usr/src/debug/kdelibs-4.10.0/threadweaver/Weaver/Thread.cpp:142
#8  0x00007fbe9c3140cc in QThreadPrivate::start (arg=0x41b2cb0) at thread/qthread_unix.cpp:338
#9  0x00007fbe9c07de0f in start_thread () from /lib64/libpthread.so.0
#10 0x00007fbe9a4447dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fbe8ccfd780 (LWP 7263)):
[KCrash Handler]
#6  0x00007fbe75808ea2 in Python::PythonDeclarationCompletionItem::data (this=0x7fbe70081630, index=..., role=<optimized out>, model=0x407db40) at /home/vitalii/kdev-python/codecompletion/items/declaration.cpp:73
#7  0x00007fbe75809711 in Python::FunctionDeclarationCompletionItem::data (this=0x7fbe70081630, index=..., role=34, model=0x407db40) at /home/vitalii/kdev-python/codecompletion/items/functiondeclaration.cpp:120
#8  0x00007fbe98865071 in KDevelop::CodeCompletionModel::data (this=0x407db40, index=..., role=34) at /home/vitalii/kdevplatform/language/codecompletion/codecompletionmodel.cpp:371
#9  0x00007fbe7e848645 in data (arole=34, this=0x7fff183db990) at /usr/include/QtCore/qabstractitemmodel.h:402
#10 KateCompletionModel::contextMatchQuality (this=0x5d1e0a0, source=...) at /usr/src/debug/kate-4.10.0/part/completion/katecompletionmodel.cpp:336
#11 0x00007fbe7e84ce0b in KateCompletionModel::updateBestMatches (this=this@entry=0x5d1e0a0) at /usr/src/debug/kate-4.10.0/part/completion/katecompletionmodel.cpp:2034
#12 0x00007fbe7e84d887 in KateCompletionModel::setCurrentCompletion (this=0x5d1e0a0, model=0x3c4a830, completion=...) at /usr/src/debug/kate-4.10.0/part/completion/katecompletionmodel.cpp:954
#13 0x00007fbe7e83fe1b in KateCompletionWidget::cursorPositionChanged (this=0x5d1dd00) at /usr/src/debug/kate-4.10.0/part/completion/katecompletionwidget.cpp:727
#14 0x00007fbe9c4251af in QMetaObject::activate (sender=0x5d936e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff183dc0e0) at kernel/qobject.cpp:3548
#15 0x00007fbe9ee7eb67 in KTextEditor::View::cursorPositionChanged (this=<optimized out>, _t1=0x5d936e0, _t2=...) at /usr/src/debug/kdelibs-4.10.0/build/interfaces/ktexteditor/view.moc:188
#16 0x00007fbe7e9191fe in KateViewInternal::updateCursor (this=this@entry=0x5d93f20, newCursor=..., force=force@entry=true, center=center@entry=false, calledExternally=calledExternally@entry=false) at /usr/src/debug/kate-4.10.0/part/view/kateviewinternal.cpp:1910
#17 0x00007fbe7e91961f in KateViewInternal::editEnd (this=0x5d93f20, editTagLineStart=<optimized out>, editTagLineEnd=<optimized out>, tagFrom=<optimized out>) at /usr/src/debug/kate-4.10.0/part/view/kateviewinternal.cpp:3372
#18 0x00007fbe7e886242 in editEnd (this=0x4a300d0) at /usr/src/debug/kate-4.10.0/part/document/katedocument.cpp:822
#19 KateDocument::editEnd (this=0x4a300d0) at /usr/src/debug/kate-4.10.0/part/document/katedocument.cpp:797
#20 0x00007fbe7e8885a1 in KateDocument::typeChars (this=0x4a300d0, view=0x5d936e0, realChars=...) at /usr/src/debug/kate-4.10.0/part/document/katedocument.cpp:2599
#21 0x00007fbe7e91e9a8 in keyPressEvent (e=0x7fff183dca60, this=0x5d93f20) at /usr/src/debug/kate-4.10.0/part/view/kateviewinternal.cpp:2402
#22 KateViewInternal::keyPressEvent (this=0x5d93f20, e=0x7fff183dca60) at /usr/src/debug/kate-4.10.0/part/view/kateviewinternal.cpp:2248
#23 0x00007fbe7e9167cd in KateViewInternal::eventFilter (this=0x5d93f20, obj=0x5d93f20, e=0x7fff183dca60) at /usr/src/debug/kate-4.10.0/part/view/kateviewinternal.cpp:2200
#24 0x00007fbe9c40fe06 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x5d93f20, event=0x7fff183dca60) at kernel/qcoreapplication.cpp:1056
#25 0x00007fbe9b59d83c in QApplicationPrivate::notify_helper (this=this@entry=0x20cf5a0, receiver=receiver@entry=0x5d93f20, e=e@entry=0x7fff183dca60) at kernel/qapplication.cpp:4558
#26 0x00007fbe9b5a2864 in QApplication::notify (this=<optimized out>, receiver=0x5d93f20, e=0x7fff183dca60) at kernel/qapplication.cpp:4003
#27 0x00007fbe9cc27cb6 in KApplication::notify (this=0x7fff183ddc30, receiver=0x5d93f20, event=0x7fff183dca60) at /usr/src/debug/kdelibs-4.10.0/kdeui/kernel/kapplication.cpp:311
#28 0x00007fbe9c40fc9e in QCoreApplication::notifyInternal (this=0x7fff183ddc30, receiver=0x5d93f20, event=0x7fff183dca60) at kernel/qcoreapplication.cpp:946
#29 0x00007fbe9b639e8a in QKeyMapper::sendKeyEvent (keyWidget=keyWidget@entry=0x5d93f20, grab=grab@entry=false, type=QEvent::KeyPress, code=82, modifiers=..., text=..., autorepeat=autorepeat@entry=false, count=1, nativeScanCode=27, nativeVirtualKey=114, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1866
#30 0x00007fbe9b63a2c1 in QKeyMapperPrivate::translateKeyEvent (this=0x211da20, keyWidget=0x5d93f20, event=0x7fff183dd480, grab=false) at kernel/qkeymapper_x11.cpp:1836
#31 0x00007fbe9b6179f8 in QApplication::x11ProcessEvent (this=0x7fff183ddc30, event=0x7fff183dd480) at kernel/qapplication_x11.cpp:3543
#32 0x00007fbe9b63dfa2 in x11EventSourceDispatch (s=0x20c7ef0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#33 0x00007fbe947d17d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#34 0x00007fbe947d1b08 in ?? () from /usr/lib64/libglib-2.0.so.0
#35 0x00007fbe947d1bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#36 0x00007fbe9c43e1d6 in QEventDispatcherGlib::processEvents (this=0x2034c70, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#37 0x00007fbe9b63dc1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007fbe9c40e9ef in QEventLoop::processEvents (this=this@entry=0x7fff183dd850, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007fbe9c40ec78 in QEventLoop::exec (this=0x7fff183dd850, flags=...) at kernel/qeventloop.cpp:204
#40 0x00007fbe9c413918 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#41 0x000000000040e711 in main (argc=<optimized out>, argv=<optimized out>) at /home/vitalii/kdevelop/app/main.cpp:522

Reported using DrKonqi
Comment 1 Kevin Funk 2013-03-17 18:22:01 UTC

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