Bug 258474 - KDevelop crashed after collapsing all functions
Summary: KDevelop crashed after collapsing all functions
Status: RESOLVED DUPLICATE of bug 237256
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-01 12:11 UTC by matti.valovirta
Modified: 2010-12-01 14:29 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-01 12:11:00 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:
I had just reformatted with the Code->Reformat source tool. After that i had a file open with several functions. I hit Ctrl+Shift+Minus to collapse all functions when kdevelop crashed.

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

Thread 8 (Thread 0x7f74538db710 (LWP 5369)):
#0  0x00007f7462fd825c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f7453a13ec6 in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/qt4/libQtScript.so.4
#2  0x00007f7453a13f09 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtScript.so.4
#3  0x00007f7462fd38c4 in start_thread () from /lib/libpthread.so.0
#4  0x00007f74632ba1dd in clone () from /lib/libc.so.6

Thread 7 (Thread 0x7f7452972710 (LWP 5370)):
#0  0x00007f7462fd85c9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f7464568a01 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f7460d1e40e in KDevelop::DUChainPrivate::CleanupThread::run (this=0x9df360) at /var/tmp/portage/dev-util/kdevplatform-1.1.1/work/kdevplatform-1.1.1/language/duchain/duchain.cpp:286
#3  0x00007f7464567a35 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f7462fd38c4 in start_thread () from /lib/libpthread.so.0
#5  0x00007f74632ba1dd in clone () from /lib/libc.so.6

Thread 6 (Thread 0x7f7451468710 (LWP 5372)):
#0  0x00007f7462fd6003 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x00007f745e874b81 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2  0x00007f745e874ebc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f746467f606 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f74646549a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f7464654d74 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f7464564f4b in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f7464635478 in QInotifyFileSystemWatcherEngine::run() () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f7464567a35 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f7462fd38c4 in start_thread () from /lib/libpthread.so.0
#10 0x00007f74632ba1dd in clone () from /lib/libc.so.6

Thread 5 (Thread 0x7f7442cee710 (LWP 5392)):
#0  0x00007f74632b1503 in poll () from /lib/libc.so.6
#1  0x00007f745e874ae9 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2  0x00007f745e874ebc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f746467f606 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f74646549a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f7464654d74 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f7464564f4b in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f7464567a35 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f7462fd38c4 in start_thread () from /lib/libpthread.so.0
#9  0x00007f74632ba1dd in clone () from /lib/libc.so.6

Thread 4 (Thread 0x7f74424ed710 (LWP 5393)):
#0  0x00007f74632b1512 in poll () from /lib/libc.so.6
#1  0x00007f745e874ae9 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2  0x00007f745e874ebc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f746467f606 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f74646549a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f7464654d74 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f7464564f4b in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f7464567a35 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f7462fd38c4 in start_thread () from /lib/libpthread.so.0
#9  0x00007f74632ba1dd in clone () from /lib/libc.so.6

Thread 3 (Thread 0x7f74410de710 (LWP 5405)):
#0  0x00007f7462fd825c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f7464568a8b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f745bed71b1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x804760, th=0x1db4620)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007f745bedb000 in ThreadWeaver::WorkingHardState::applyForWork (this=0x84ff80, th=0x1db4620)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007f745bedb019 in ThreadWeaver::WorkingHardState::applyForWork (this=0x84ff80, th=0x1db4620)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:74
#5  0x00007f745bedb019 in ThreadWeaver::WorkingHardState::applyForWork (this=0x84ff80, th=0x1db4620)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f745bed9694 in ThreadWeaver::ThreadRunHelper::run (this=0x7f74410dde30, parent=0x804760, th=0x1db4620)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:87
#7  0x00007f745bed9794 in ThreadWeaver::Thread::run (this=0x1db4620) at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:142
#8  0x00007f7464567a35 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f7462fd38c4 in start_thread () from /lib/libpthread.so.0
#10 0x00007f74632ba1dd in clone () from /lib/libc.so.6

Thread 2 (Thread 0x7f74408dd710 (LWP 5406)):
#0  0x00007f7462fd825c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f7464568a8b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f745bed71b1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x804760, th=0x7f744c012140)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007f745bedb000 in ThreadWeaver::WorkingHardState::applyForWork (this=0x84ff80, th=0x7f744c012140)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007f745bed9694 in ThreadWeaver::ThreadRunHelper::run (this=0x7f74408dce30, parent=0x804760, th=0x7f744c012140)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:87
#5  0x00007f745bed9794 in ThreadWeaver::Thread::run (this=0x7f744c012140) at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:142
#6  0x00007f7464567a35 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f7462fd38c4 in start_thread () from /lib/libpthread.so.0
#8  0x00007f74632ba1dd in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7f7465da4760 (LWP 5365)):
[KCrash Handler]
#5  0x00007f746321b165 in raise () from /lib/libc.so.6
#6  0x00007f746321c580 in abort () from /lib/libc.so.6
#7  0x00007f746455f944 in qt_message_output(QtMsgType, char const*) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f746455faf2 in qt_message(QtMsgType, char const*, __va_list_tag*) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f746455fca5 in qFatal(char const*, ...) () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007f7453dddf38 in KSharedPtr<KateLineLayout>::operator-> (this=0x7ffff23607b0) at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kdecore/util/ksharedptr.h:126
#11 0x00007f7453de331b in KateLayoutCache::viewLine (this=0x3abbba0, realCursor=...) at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kate/render/katelayoutcache.cpp:395
#12 0x00007f7453e326f9 in KateViewInternal::viewLineOffset (this=0x3abaee0, virtualCursor=..., offset=-47, keepX=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kate/view/kateviewinternal.cpp:1352
#13 0x00007f7453e334d9 in KateViewInternal::maxStartPos (this=0x3abaee0, changed=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kate/view/kateviewinternal.cpp:459
#14 0x00007f7453e3902c in KateViewInternal::slotRegionVisibilityChangedAt (this=0x3abaee0, clear_cache=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kate/view/kateviewinternal.cpp:710
#15 0x00007f7453e3d70e in KateViewInternal::qt_metacall (this=0x3abaee0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff2360d10)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5_build/kate/kateviewinternal.moc:143
#16 0x00007f7464669246 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00007f7453e1c19c in KateCodeFoldingTree::regionVisibilityChangedAt (this=0x14f5, _t1=4294967227, _t2=false)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5_build/kate/katecodefolding.moc:112
#18 0x00007f7453e1c282 in KateCodeFoldingTree::collapseToplevelNodes (this=0x38cdbc0) at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kate/syntax/katecodefolding.cpp:1583
#19 0x00007f7453e1d490 in KateCodeFoldingTree::qt_metacall (this=0x38cdbc0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff2360ea0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5_build/kate/katecodefolding.moc:95
#20 0x00007f7464669246 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007f7463a0d412 in QAction::triggered(bool) () from /usr/lib64/qt4/libQtGui.so.4
#22 0x00007f7463a0f47b in QAction::activate(QAction::ActionEvent) () from /usr/lib64/qt4/libQtGui.so.4
#23 0x00007f7463a10d87 in QAction::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#24 0x00007f7464ac479b in KAction::event (this=0x3b95880, event=0x7ffff23614f0) at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kdeui/actions/kaction.cpp:129
#25 0x00007f7463a1360c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007f7463a19b4b in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007f7464b82a41 in KApplication::notify (this=0x7ffff2362c80, receiver=0x3b95880, event=0x7ffff23614f0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#28 0x00007f746465604b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#29 0x00007f7463a4f0e1 in QShortcutMap::dispatchEvent(QKeyEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#30 0x00007f7463a50ed5 in QShortcutMap::tryShortcutEvent(QObject*, QKeyEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#31 0x00007f7463a1b692 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#32 0x00007f7464b82a41 in KApplication::notify (this=0x7ffff2362c80, receiver=0x3abaee0, event=0x7ffff2361b00)
    at /var/tmp/portage/kde-base/kdelibs-4.4.5/work/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#33 0x00007f746465604b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#34 0x00007f7463abcc1a 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
#35 0x00007f7463abf161 in QKeyMapperPrivate::translateKeyEvent(QWidget*, _XEvent const*, bool) () from /usr/lib64/qt4/libQtGui.so.4
#36 0x00007f7463a98244 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#37 0x00007f7463ac2432 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtGui.so.4
#38 0x00007f745e870ecf in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#39 0x00007f745e874d08 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#40 0x00007f745e874ebc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#41 0x00007f746467f5b3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#42 0x00007f7463ac202e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#43 0x00007f74646549a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#44 0x00007f7464654d74 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#45 0x00007f74646599eb in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#46 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-01 14:29:03 UTC
kate bug

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