Bug 242724 - KDevelop crashed while copy pasting 2 lines
Summary: KDevelop crashed while copy pasting 2 lines
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 4.0.1
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-24 21:47 UTC by Vishesh Handa
Modified: 2010-09-06 16:48 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 Vishesh Handa 2010-06-24 21:47:26 UTC
Application: kdevelop (4.0.60)
KDE Platform Version: 4.4.86 (KDE 4.4.86 (KDE 4.5 >= 20100616)) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

Was copy pasting 2 lines of coding from one place to another in the same files. :-(

-- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
[Current thread is 1 (Thread 0xb787b710 (LWP 15534))]

Thread 9 (Thread 0xb4ed7b70 (LWP 15536)):
#0  0x00a67422 in __kernel_vsyscall ()
#1  0x006fa342 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x017c820f in QWaitConditionPrivate::wait (this=0x93dfb0c, mutex=0x93dfb10, time=200000) at thread/qwaitcondition_unix.cpp:85
#3  QWaitCondition::wait (this=0x93dfb0c, mutex=0x93dfb10, time=200000) at thread/qwaitcondition_unix.cpp:159
#4  0x04abd385 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x93dfb00) at /home/vishesh/kde/src/kdevelop/kdevplatform/language/duchain/duchain.cpp:286
#5  0x017c732e in QThreadPrivate::start (arg=0x93dfb00) at thread/qthread_unix.cpp:248
#6  0x006f596e in start_thread (arg=0xb4ed7b70) at pthread_create.c:300
#7  0x029e1a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xb0718b70 (LWP 15688)):
#0  0x00a67422 in __kernel_vsyscall ()
#1  0x006fa015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x0648bc97 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x65651a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#3  0x0648bce1 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x65651a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#4  0x006f596e in start_thread (arg=0xb0718b70) at pthread_create.c:300
#5  0x029e1a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xafbffb70 (LWP 15779)):
#0  0x0698fe16 in *__GI_clock_gettime (clock_id=110706676, tp=0xafbfefe8) at ../sysdeps/unix/clock_gettime.c:100
#1  0x018f26fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x018f7825 in QTimerInfoList::updateCurrentTime (this=0xc889e44) at kernel/qeventdispatcher_unix.cpp:340
#3  0x018f786a in QTimerInfoList::timerWait (this=0xc889e44, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x018f5818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xafbff0fc) at kernel/qeventdispatcher_glib.cpp:136
#5  0x018f58a5 in timerSourcePrepare (source=0x0, timeout=0x6993ff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x048c0aca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x048c0ee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x048c14b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x018f560f in QEventDispatcherGlib::processEvents (this=0xc3350f0, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x018c8059 in QEventLoop::processEvents (this=0xafbff2c0, flags=) at kernel/qeventloop.cpp:149
#11 0x018c84aa in QEventLoop::exec (this=0xafbff2c0, flags=...) at kernel/qeventloop.cpp:201
#12 0x017c45a8 in QThread::exec (this=0xc7ce8b8) at thread/qthread.cpp:487
#13 0x04bb5cb0 in KDevelop::CompletionWorkerThread::run (this=0xc7ce8b8) at /home/vishesh/kde/src/kdevelop/kdevplatform/language/codecompletion/codecompletionmodel.cpp:82
#14 0x017c732e in QThreadPrivate::start (arg=0xc7ce8b8) at thread/qthread_unix.cpp:248
#15 0x006f596e in start_thread (arg=0xafbffb70) at pthread_create.c:300
#16 0x029e1a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xae0ffb70 (LWP 15780)):
#0  0x00a67422 in __kernel_vsyscall ()
#1  0x029d3b86 in *__GI___poll (fds=0x2a69ff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x048ce4eb in g_poll () from /lib/libglib-2.0.so.0
#3  0x048c10ac in ?? () from /lib/libglib-2.0.so.0
#4  0x048c14b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x018f560f in QEventDispatcherGlib::processEvents (this=0xc321d08, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0x018c8059 in QEventLoop::processEvents (this=0xae0ff2c0, flags=) at kernel/qeventloop.cpp:149
#7  0x018c84aa in QEventLoop::exec (this=0xae0ff2c0, flags=...) at kernel/qeventloop.cpp:201
#8  0x017c45a8 in QThread::exec (this=0x9609fb8) at thread/qthread.cpp:487
#9  0x04bb5cb0 in KDevelop::CompletionWorkerThread::run (this=0x9609fb8) at /home/vishesh/kde/src/kdevelop/kdevplatform/language/codecompletion/codecompletionmodel.cpp:82
#10 0x017c732e in QThreadPrivate::start (arg=0x9609fb8) at thread/qthread_unix.cpp:248
#11 0x006f596e in start_thread (arg=0xae0ffb70) at pthread_create.c:300
#12 0x029e1a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xad8feb70 (LWP 15781)):
#0  0x00a67422 in __kernel_vsyscall ()
#1  0x006fa342 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x017c6c1e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:398
#3  0x017c6d73 in QThread::msleep (msecs=30) at thread/qthread_unix.cpp:424
#4  0x02b8182b in UIBlockTester::UIBlockTesterThread::run (this=0x9439460) at /home/vishesh/kde/src/kdevelop/kdevelop/languages/cpp/cpplanguagesupport.cpp:678
#5  0x017c732e in QThreadPrivate::start (arg=0x9439460) at thread/qthread_unix.cpp:248
#6  0x006f596e in start_thread (arg=0xad8feb70) at pthread_create.c:300
#7  0x029e1a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xaf3feb70 (LWP 15939)):
#0  0x00a67422 in __kernel_vsyscall ()
#1  0x006fa015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x017c8287 in QWaitConditionPrivate::wait (this=0x9529150, mutex=0x9578128, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x9529150, mutex=0x9578128, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x0067314c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9529138, th=0xc7030c8) at /home/vishesh/kde/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x00676ff2 in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x95781e8, th=0xc7030c8) at /home/vishesh/kde/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x006730cb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9529138, th=0xc7030c8) at /home/vishesh/kde/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x00676f96 in ThreadWeaver::WorkingHardState::applyForWork (this=0x95781e8, th=0xc7030c8) at /home/vishesh/kde/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x006730a4 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9529138, th=0xc7030c8, previous=0x0) at /home/vishesh/kde/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x00676fbc in ThreadWeaver::WorkingHardState::applyForWork (this=0x95781e8, th=0xc7030c8) at /home/vishesh/kde/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x006730a4 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9529138, th=0xc7030c8, previous=0x0) at /home/vishesh/kde/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0x00676fbc in ThreadWeaver::WorkingHardState::applyForWork (this=0x95781e8, th=0xc7030c8) at /home/vishesh/kde/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:74
#12 0x006730a4 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9529138, th=0xc7030c8, previous=0xaaca0d90) at /home/vishesh/kde/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#13 0x0067492d in ThreadWeaver::ThreadRunHelper::run (this=0xaf3fe304, parent=0x9529138, th=0xc7030c8) at /home/vishesh/kde/src/kdelibs/threadweaver/Weaver/Thread.cpp:87
#14 0x00674cc1 in ThreadWeaver::Thread::run (this=0xc7030c8) at /home/vishesh/kde/src/kdelibs/threadweaver/Weaver/Thread.cpp:142
#15 0x017c732e in QThreadPrivate::start (arg=0xc7030c8) at thread/qthread_unix.cpp:248
#16 0x006f596e in start_thread (arg=0xaf3feb70) at pthread_create.c:300
#17 0x029e1a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xac1ffb70 (LWP 15940)):
#0  0x00a67422 in __kernel_vsyscall ()
#1  0x006fa015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x017c8287 in QWaitConditionPrivate::wait (this=0x9529150, mutex=0x9578128, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x9529150, mutex=0x9578128, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x0067314c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9529138, th=0xace3b078) at /home/vishesh/kde/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x00676ff2 in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x95781e8, th=0xace3b078) at /home/vishesh/kde/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x006730cb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9529138, th=0xace3b078) at /home/vishesh/kde/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x00676f96 in ThreadWeaver::WorkingHardState::applyForWork (this=0x95781e8, th=0xace3b078) at /home/vishesh/kde/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x006730a4 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9529138, th=0xace3b078, previous=0xa7d326f8) at /home/vishesh/kde/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x0067492d in ThreadWeaver::ThreadRunHelper::run (this=0xac1ff304, parent=0x9529138, th=0xace3b078) at /home/vishesh/kde/src/kdelibs/threadweaver/Weaver/Thread.cpp:87
#10 0x00674cc1 in ThreadWeaver::Thread::run (this=0xace3b078) at /home/vishesh/kde/src/kdelibs/threadweaver/Weaver/Thread.cpp:142
#11 0x017c732e in QThreadPrivate::start (arg=0xace3b078) at thread/qthread_unix.cpp:248
#12 0x006f596e in start_thread (arg=0xac1ffb70) at pthread_create.c:300
#13 0x029e1a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa91b9b70 (LWP 16053)):
#0  0x006f7f5b in __pthread_mutex_lock (mutex=0xd83b504) at pthread_mutex_lock.c:61
#1  0x048c096f in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x048c0ee9 in ?? () from /lib/libglib-2.0.so.0
#3  0x048c14b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x018f560f in QEventDispatcherGlib::processEvents (this=0x942b0d8, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#5  0x018c8059 in QEventLoop::processEvents (this=0xa91b9290, flags=) at kernel/qeventloop.cpp:149
#6  0x018c84aa in QEventLoop::exec (this=0xa91b9290, flags=...) at kernel/qeventloop.cpp:201
#7  0x017c45a8 in QThread::exec (this=0xaca635c0) at thread/qthread.cpp:487
#8  0x018a7c1b in QInotifyFileSystemWatcherEngine::run (this=0xaca635c0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x017c732e in QThreadPrivate::start (arg=0xaca635c0) at thread/qthread_unix.cpp:248
#10 0x006f596e in start_thread (arg=0xa91b9b70) at pthread_create.c:300
#11 0x029e1a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb787b710 (LWP 15534)):
[KCrash Handler]
#6  0x00a67422 in __kernel_vsyscall ()
#7  0x0293e651 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x02941a82 in *__GI_abort () at abort.c:92
#9  0x017be2dc in qt_message_output (msgType=QtFatalMsg, buf=0xd1361c8 "ASSERT: \"position.column() <= text.size()\" in file /home/vishesh/kde/src/kdelibs/kate/buffer/katetextblock.cpp, line 88")
    at global/qglobal.cpp:2250
#10 0x017be4aa in qt_message (msgType=<value optimized out>, msg=0x19312fc "ASSERT: \"%s\" in file %s, line %d", ap=0xbf901ff4 "\030\351\023\005D\350\023\005X") at global/qglobal.cpp:2296
#11 0x017be5b9 in qFatal (msg=0x19312fc "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2479
#12 0x017be645 in qt_assert (assertion=0x513e918 "position.column() <= text.size()", file=0x513e844 "/home/vishesh/kde/src/kdelibs/kate/buffer/katetextblock.cpp", line=88) at global/qglobal.cpp:2013
#13 0x04f8ed91 in Kate::TextBlock::wrapLine (this=0xacf88f88, position=...) at /home/vishesh/kde/src/kdelibs/kate/buffer/katetextblock.cpp:88
#14 0x04f89290 in Kate::TextBuffer::wrapLine (this=0xaaac0220, position=...) at /home/vishesh/kde/src/kdelibs/kate/buffer/katetextbuffer.cpp:212
#15 0x050135ff in KateBuffer::wrapLine (this=0xaaac0220, position=...) at /home/vishesh/kde/src/kdelibs/kate/document/katebuffer.cpp:258
#16 0x04ff1258 in KateDocument::editWrapLine (this=0xac33b3c8, line=228, col=4, newLine=true, newLineAdded=0x0) at /home/vishesh/kde/src/kdelibs/kate/document/katedocument.cpp:1237
#17 0x04fee7cf in KateDocument::insertText (this=0xac33b3c8, position=..., text=..., block=false) at /home/vishesh/kde/src/kdelibs/kate/document/katedocument.cpp:610
#18 0x04ff9d6f in KateDocument::paste (this=0xac33b3c8, view=0xa83bad68, mode=QClipboard::Clipboard) at /home/vishesh/kde/src/kdelibs/kate/document/katedocument.cpp:2950
#19 0x050982e2 in KateView::paste (this=0xa83bad68) at /home/vishesh/kde/src/kdelibs/kate/view/kateview.cpp:2133
#20 0x0508748f in KateView::qt_metacall (this=0xa83bad68, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0xbf9024f8) at /home/vishesh/kde/build/kdelibs/kate/kateview.moc:324
#21 0x018cec9a in QMetaObject::metacall (object=0xa83bad68, cl=15534, idx=55, argv=0xbf9024f8) at kernel/qmetaobject.cpp:237
#22 0x018dd3d5 in QMetaObject::activate (sender=0xaae18b40, m=0x7594d58, local_signal_index=1, argv=0xbf9024f8) at kernel/qobject.cpp:3293
#23 0x06c65bd9 in QAction::triggered (this=0xaae18b40, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#24 0x06c67dcc in QAction::activate (this=0xaae18b40, event=QAction::Trigger) at kernel/qaction.cpp:1255
#25 0x06c69698 in QAction::event (this=0x6, e=0x0) at kernel/qaction.cpp:1181
#26 0x01476835 in KAction::event (this=0xaae18b40, event=0xbf9029e8) at /home/vishesh/kde/src/kdelibs/kdeui/actions/kaction.cpp:131
#27 0x06c6c4dc in QApplicationPrivate::notify_helper (this=0x93d1748, receiver=0xaae18b40, e=0xbf9029e8) at kernel/qapplication.cpp:4300
#28 0x06c7305e in QApplication::notify (this=0xbf903998, receiver=0xaae18b40, e=0xbf9029e8) at kernel/qapplication.cpp:3704
#29 0x01569c60 in KApplication::notify (this=0xbf903998, receiver=0xaae18b40, event=0xbf9029e8) at /home/vishesh/kde/src/kdelibs/kdeui/kernel/kapplication.cpp:302
#30 0x018c9a3b in QCoreApplication::notifyInternal (this=0xbf903998, receiver=0xaae18b40, event=0xbf9029e8) at kernel/qcoreapplication.cpp:704
#31 0x06cae34d in QCoreApplication::sendEvent (this=0x93d17f4, e=0xbf902e64) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QShortcutMap::dispatchEvent (this=0x93d17f4, e=0xbf902e64) at kernel/qshortcutmap.cpp:879
#33 0x06cb015e in QShortcutMap::tryShortcutEvent (this=0x93d17f4, o=0xaa945fc8, e=0xbf902e64) at kernel/qshortcutmap.cpp:364
#34 0x06c74e43 in QApplication::notify (this=0xbf903998, receiver=0xaa945fc8, e=0xbf902e64) at kernel/qapplication.cpp:3746
#35 0x01569c60 in KApplication::notify (this=0xbf903998, receiver=0xaa945fc8, event=0xbf902e64) at /home/vishesh/kde/src/kdelibs/kdeui/kernel/kapplication.cpp:302
#36 0x018c9a3b in QCoreApplication::notifyInternal (this=0xbf903998, receiver=0xaa945fc8, event=0xbf902e64) at kernel/qcoreapplication.cpp:704
#37 0x06c6d2be in QCoreApplication::sendSpontaneousEvent (receiver=0xaa945fc8, event=0x6) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#38 qt_sendSpontaneousEvent (receiver=0xaa945fc8, event=0x6) at kernel/qapplication.cpp:5279
#39 0x06d26d90 in QKeyMapper::sendKeyEvent (keyWidget=0xaa945fc8, grab=false, type=QEvent::KeyPress, code=86, modifiers=..., text=..., autorepeat=<value optimized out>, count=<value optimized out>, 
    nativeScanCode=55, nativeVirtualKey=118, nativeModifiers=4) at kernel/qkeymapper_x11.cpp:1861
#40 0x06d292f5 in QKeyMapperPrivate::translateKeyEvent (this=0x93fd390, keyWidget=0xaa945fc8, event=0xbf90352c, grab=false) at kernel/qkeymapper_x11.cpp:1831
#41 0x06cfc757 in QApplication::x11ProcessEvent (this=0xbf903998, event=0xbf90352c) at kernel/qapplication_x11.cpp:3394
#42 0x06d2c60a in x11EventSourceDispatch (s=0x93d48a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#43 0x048bd5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#44 0x048c12d8 in ?? () from /lib/libglib-2.0.so.0
#45 0x048c14b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#46 0x018f55d5 in QEventDispatcherGlib::processEvents (this=0x93b0280, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#47 0x06d2c135 in QGuiEventDispatcherGlib::processEvents (this=0x93b0280, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x018c8059 in QEventLoop::processEvents (this=0xbf903824, flags=) at kernel/qeventloop.cpp:149
#49 0x018c84aa in QEventLoop::exec (this=0xbf903824, flags=...) at kernel/qeventloop.cpp:201
#50 0x018cc69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#51 0x06c6c577 in QApplication::exec () at kernel/qapplication.cpp:3579
#52 0x08050a53 in main (argc=1, argv=0xbf904074) at /home/vishesh/kde/src/kdevelop/kdevelop/app/main.cpp:378

Reported using DrKonqi
Comment 1 Milian Wolff 2010-09-06 16:48:21 UTC
should be fixed with KDevelop 4.2 and movingranges / foreground lock. But I never got that crash with recent KDevelop and Kate either, even without the foreground lock. So closing