Bug 259261 - Crash when copying collapsed text
Summary: Crash when copying collapsed text
Status: RESOLVED DUPLICATE of bug 247081
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 4.2.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-08 23:22 UTC by matti.valovirta
Modified: 2010-12-08 23:49 UTC (History)
0 users

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 matti.valovirta 2010-12-08 23:22:04 UTC
Application: kdevelop (4.1.1)
KDE Platform Version: 4.4.5 (KDE 4.4.5) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.34-gentoo-r12 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
This might be related to kate's code collapsing facilities...

I copied (with Ctrl+C) a bunch of C++ functions that were collapsed and voilá, KDevelop crashed merrily!

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

Thread 10 (Thread 0x7fcf14e68710 (LWP 5308)):
#0  0x00007fcf2456525c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fcf14fa0ec6 in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/qt4/libQtScript.so.4
#2  0x00007fcf14fa0f09 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtScript.so.4
#3  0x00007fcf245608c4 in start_thread () from /lib/libpthread.so.0
#4  0x00007fcf248471dd in clone () from /lib/libc.so.6

Thread 9 (Thread 0x7fcf13ef2710 (LWP 5309)):
#0  0x00007fcf245655c9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fcf25af5a01 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fcf222ab40e in KDevelop::DUChainPrivate::CleanupThread::run (this=0x9fa7d0) at /var/tmp/portage/dev-util/kdevplatform-1.1.1/work/kdevplatform-1.1.1/language/duchain/duchain.cpp:286
#3  0x00007fcf25af4a35 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fcf245608c4 in start_thread () from /lib/libpthread.so.0
#5  0x00007fcf248471dd in clone () from /lib/libc.so.6

Thread 8 (Thread 0x7fcf129e8710 (LWP 5311)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fcf129e7ac0 in ?? ()
#2  0x00007fff533bc852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 7 (Thread 0x7fcf04252710 (LWP 5331)):
#0  0x00007fcf2456455e in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#1  0x00007fcf1fdfc691 in g_main_context_query () from /usr/lib/libglib-2.0.so.0
#2  0x00007fcf1fe0196c in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#3  0x00007fcf1fe01ebc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007fcf25c0c606 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007fcf25be19a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007fcf25be1d74 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fcf25af1f4b in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007fcf25af4a35 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007fcf245608c4 in start_thread () from /lib/libpthread.so.0
#10 0x00007fcf248471dd in clone () from /lib/libc.so.6

Thread 6 (Thread 0x7fcf03a51710 (LWP 5332)):
#0  0x00007fcf24562ff5 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x00007fcf1fe014ba in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0x00007fcf1fe018e8 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#3  0x00007fcf1fe01ebc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007fcf25c0c606 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007fcf25be19a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007fcf25be1d74 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fcf25af1f4b in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007fcf25af4a35 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007fcf245608c4 in start_thread () from /lib/libpthread.so.0
#10 0x00007fcf248471dd in clone () from /lib/libc.so.6

Thread 5 (Thread 0x7fcf0252e710 (LWP 5344)):
#0  0x00007fcf2456525c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fcf25af5a8b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fcf1d4641b1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8e40c0, th=0x1ab3750)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007fcf1d468000 in ThreadWeaver::WorkingHardState::applyForWork (this=0x81cd90, th=0x1ab3750)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007fcf1d468019 in ThreadWeaver::WorkingHardState::applyForWork (this=0x81cd90, th=0x1ab3750)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:74
#5  0x00007fcf1d468019 in ThreadWeaver::WorkingHardState::applyForWork (this=0x81cd90, th=0x1ab3750)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fcf1d468019 in ThreadWeaver::WorkingHardState::applyForWork (this=0x81cd90, th=0x1ab3750)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fcf1d468019 in ThreadWeaver::WorkingHardState::applyForWork (this=0x81cd90, th=0x1ab3750)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007fcf1d468019 in ThreadWeaver::WorkingHardState::applyForWork (this=0x81cd90, th=0x1ab3750)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007fcf1d468019 in ThreadWeaver::WorkingHardState::applyForWork (this=0x81cd90, th=0x1ab3750)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00007fcf1d468019 in ThreadWeaver::WorkingHardState::applyForWork (this=0x81cd90, th=0x1ab3750)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00007fcf1d466694 in ThreadWeaver::ThreadRunHelper::run (this=0x7fcf0252de30, parent=0x8e40c0, th=0x1ab3750)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:87
#12 0x00007fcf1d466794 in ThreadWeaver::Thread::run (this=0x1ab3750) at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:142
#13 0x00007fcf25af4a35 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007fcf245608c4 in start_thread () from /lib/libpthread.so.0
#15 0x00007fcf248471dd in clone () from /lib/libc.so.6

Thread 4 (Thread 0x7fcf01d2d710 (LWP 5345)):
#0  0x00007fcf2456525c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fcf25af5a8b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fcf1d4641b1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8e40c0, th=0x1ae9ab0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007fcf1d468000 in ThreadWeaver::WorkingHardState::applyForWork (this=0x81cd90, th=0x1ae9ab0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007fcf1d466694 in ThreadWeaver::ThreadRunHelper::run (this=0x7fcf01d2ce30, parent=0x8e40c0, th=0x1ae9ab0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:87
#5  0x00007fcf1d466794 in ThreadWeaver::Thread::run (this=0x1ae9ab0) at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:142
#6  0x00007fcf25af4a35 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fcf245608c4 in start_thread () from /lib/libpthread.so.0
#8  0x00007fcf248471dd in clone () from /lib/libc.so.6

Thread 3 (Thread 0x7fcf0a8bf710 (LWP 5947)):
#0  0x00007fcf2456525c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fcf25af5a8b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fcf1d4641b1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3b56a50, th=0x457f3e0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007fcf1d468000 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1b94ad0, th=0x457f3e0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007fcf1d466694 in ThreadWeaver::ThreadRunHelper::run (this=0x7fcf0a8bee30, parent=0x3b56a50, th=0x457f3e0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:87
#5  0x00007fcf1d466794 in ThreadWeaver::Thread::run (this=0x457f3e0) at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:142
#6  0x00007fcf25af4a35 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fcf245608c4 in start_thread () from /lib/libpthread.so.0
#8  0x00007fcf248471dd in clone () from /lib/libc.so.6

Thread 2 (Thread 0x7fcf00d82710 (LWP 5948)):
#0  0x00007fcf2456525c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fcf25af5a8b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fcf1d4641b1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3b56a50, th=0x331f6a0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007fcf1d468000 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1b94ad0, th=0x331f6a0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007fcf1d466694 in ThreadWeaver::ThreadRunHelper::run (this=0x7fcf00d81e30, parent=0x3b56a50, th=0x331f6a0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:87
#5  0x00007fcf1d466794 in ThreadWeaver::Thread::run (this=0x331f6a0) at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:142
#6  0x00007fcf25af4a35 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fcf245608c4 in start_thread () from /lib/libpthread.so.0
#8  0x00007fcf248471dd in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7fcf27331760 (LWP 5307)):
[KCrash Handler]
#5  0x00007fcf247a8165 in raise () from /lib/libc.so.6
#6  0x00007fcf247a9580 in abort () from /lib/libc.so.6
#7  0x00007fcf25aec944 in qt_message_output(QtMsgType, char const*) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007fcf25aecaf2 in qt_message(QtMsgType, char const*, __va_list_tag*) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007fcf25aecca5 in qFatal(char const*, ...) () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007fcf1537025f in KateLayoutCache::lastViewLine (this=0x37efeb0, realLine=1225) at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kate/render/katelayoutcache.cpp:468
#11 0x00007fcf153bf930 in KateViewInternal::viewLineOffset (this=0x37ef1f0, virtualCursor=..., offset=45, keepX=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kate/view/kateviewinternal.cpp:1360
#12 0x00007fcf153c2956 in KateViewInternal::makeVisible (this=0x37ef1f0, c=..., endCol=0, force=false, center=<value optimized out>, calledExternally=false)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kate/view/kateviewinternal.cpp:667
#13 0x00007fcf153c2fb1 in KateViewInternal::updateCursor (this=0x37ef1f0, newCursor=<value optimized out>, force=<value optimized out>, center=false, calledExternally=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kate/view/kateviewinternal.cpp:1915
#14 0x00007fcf153c38e3 in KateViewInternal::editEnd (this=0x37ef1f0, editTagLineStart=<value optimized out>, editTagLineEnd=857, tagFrom=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kate/view/kateviewinternal.cpp:3400
#15 0x00007fcf15330a54 in KateDocument::editEnd (this=0x35cf830) at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kate/document/katedocument.cpp:981
#16 0x00007fcf153afeb7 in KateView::removeSelectedText (this=0x37de6f0) at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kate/view/kateview.cpp:1774
#17 0x00007fcf153ba8d2 in KateView::qt_metacall (this=0x37de6f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff53201e50)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5_build/kate/kateview.moc:328
#18 0x00007fcf25bf6246 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#19 0x00007fcf24f9a412 in QAction::triggered(bool) () from /usr/lib64/qt4/libQtGui.so.4
#20 0x00007fcf24f9c47b in QAction::activate(QAction::ActionEvent) () from /usr/lib64/qt4/libQtGui.so.4
#21 0x00007fcf24f9dd87 in QAction::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#22 0x00007fcf2605179b in KAction::event (this=0x385a640, event=0x7fff532024a0) at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kdeui/actions/kaction.cpp:129
#23 0x00007fcf24fa060c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#24 0x00007fcf24fa6b4b in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#25 0x00007fcf2610fa41 in KApplication::notify (this=0x7fff53203c30, receiver=0x385a640, event=0x7fff532024a0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#26 0x00007fcf25be304b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#27 0x00007fcf24fdc0e1 in QShortcutMap::dispatchEvent(QKeyEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#28 0x00007fcf24fdded5 in QShortcutMap::tryShortcutEvent(QObject*, QKeyEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#29 0x00007fcf24fa8692 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#30 0x00007fcf2610fa41 in KApplication::notify (this=0x7fff53203c30, receiver=0x37ef1f0, event=0x7fff53202ab0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#31 0x00007fcf25be304b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#32 0x00007fcf25049c1a in QKeyMapper::sendKeyEvent(QWidget*, bool, QEvent::Type, int, QFlags<Qt::KeyboardModifier>, QString const&, bool, int, unsigned int, unsigned int, unsigned int, bool*) ()
   from /usr/lib64/qt4/libQtGui.so.4
#33 0x00007fcf2504c161 in QKeyMapperPrivate::translateKeyEvent(QWidget*, _XEvent const*, bool) () from /usr/lib64/qt4/libQtGui.so.4
#34 0x00007fcf25025244 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#35 0x00007fcf2504f432 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtGui.so.4
#36 0x00007fcf1fdfdecf in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#37 0x00007fcf1fe01d08 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#38 0x00007fcf1fe01ebc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#39 0x00007fcf25c0c5b3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#40 0x00007fcf2504f02e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#41 0x00007fcf25be19a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#42 0x00007fcf25be1d74 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#43 0x00007fcf25be69eb in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#44 0x000000000040725d in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/dev-util/kdevelop-4.1.1/work/kdevelop-4.1.1/app/main.cpp:380

Reported using DrKonqi
Comment 1 Milian Wolff 2010-12-08 23:49:46 UTC
kate issue

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