Bug 242643 - Crash when closing a file
Summary: Crash when closing a file
Status: RESOLVED DUPLICATE of bug 241983
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-23 23:41 UTC by Christophe Marin
Modified: 2010-06-24 14:34 UTC (History)
1 user (show)

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 Christophe Marin 2010-06-23 23:41:48 UTC
Application: kdevelop (4.0.60)
KDE Platform Version: 4.4.86 (KDE 4.4.86 (KDE 4.5 >= 20100616)) "release 3" (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.34-9-desktop x86_64
Distribution: "openSUSE 11.3 RC 1 (x86_64)"

-- Information about the crash:
Using the weekly KDE snapshots from Opensuse and a kdevelop/kdevplatform snapshot from git (last one was created on 2010-06-21)

Kdevelop crashes when closing any file. The crash is reproducible every time.

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f1784f5f760 (LWP 12057))]

Thread 9 (Thread 0x7f17701fe710 (LWP 12058)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f178374ada2 in wait (this=<value optimized out>, mutex=0x9a9950, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x9a9950, time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f177fc0752e in KDevelop::DUChainPrivate::CleanupThread::run (this=0x9a9930) at /usr/src/debug/kdevplatform/language/duchain/duchain.cpp:286
#4  0x00007f178374a775 in QThreadPrivate::start (arg=0x9a9930) at thread/qthread_unix.cpp:248
#5  0x00007f178220ca4f in start_thread (arg=0x7f17701fe710) at pthread_create.c:297
#6  0x00007f17824f382d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f1769529710 (LWP 12138)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f177ac7fdd0 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f177af65220) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f177ac7fe09 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f177af732ec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007f178220ca4f in start_thread (arg=0x7f1769529710) at pthread_create.c:297
#4  0x00007f17824f382d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f175cbb2710 (LWP 12171)):
#0  0xffffffffff600177 in ?? ()
#1  0x00007fffe97ff7a1 in ?? ()
#2  0x00007f177d6072a3 in clock_gettime (clock_id=1, tp=0x7f175cbb1b90) at ../sysdeps/unix/clock_gettime.c:100
#3  0x00007f17838570ef in qt_gettime () at kernel/qcore_unix.cpp:111
#4  0x00007f178385aa3d in QTimerInfoList::updateCurrentTime (this=0x1ab6800) at kernel/qeventdispatcher_unix.cpp:340
#5  0x00007f178385bc86 in QEventDispatcherUNIXPrivate::doSelect (this=0x1ab5f90, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:181
#6  0x00007f178385d19f in QEventDispatcherUNIX::processEvents (this=0x1ab38d0, flags=...) at kernel/qeventdispatcher_unix.cpp:934
#7  0x00007f1783830da2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f1783830fa5 in QEventLoop::exec (this=0x7f175cbb1e20, flags=...) at kernel/qeventloop.cpp:201
#9  0x00007f1783747e4f in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#10 0x00007f178374a775 in QThreadPrivate::start (arg=0x1ab2a60) at thread/qthread_unix.cpp:248
#11 0x00007f178220ca4f in start_thread (arg=0x7f175cbb2710) at pthread_create.c:297
#12 0x00007f17824f382d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f175ec9d710 (LWP 12204)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f178374ae3b in wait (this=<value optimized out>, mutex=0x8480b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x8480b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f177a7290e6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8bb080, th=0x1837a30)
    at /usr/src/debug/kdelibs-4.4.86svn1138650/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f177a72b4e3 in ThreadWeaver::WorkingHardState::applyForWork (this=0x932860, th=0x1837a30) at /usr/src/debug/kdelibs-4.4.86svn1138650/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f177a72b4fc in ThreadWeaver::WorkingHardState::applyForWork (this=0x932860, th=0x1837a30) at /usr/src/debug/kdelibs-4.4.86svn1138650/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f177a72a3cf in ThreadWeaver::ThreadRunHelper::run (this=0x7f175ec9ce30, parent=0x8bb080, th=0x1837a30) at /usr/src/debug/kdelibs-4.4.86svn1138650/threadweaver/Weaver/Thread.cpp:87
#7  0x00007f177a72a458 in ThreadWeaver::Thread::run (this=0x1837a30) at /usr/src/debug/kdelibs-4.4.86svn1138650/threadweaver/Weaver/Thread.cpp:142
#8  0x00007f178374a775 in QThreadPrivate::start (arg=0x1837a30) at thread/qthread_unix.cpp:248
#9  0x00007f178220ca4f in start_thread (arg=0x7f175ec9d710) at pthread_create.c:297
#10 0x00007f17824f382d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f175f49e710 (LWP 12206)):
#0  0xffffffffff600177 in ?? ()
#1  0x00007fffe97ff7a1 in ?? ()
#2  0x00007f177d6072a3 in clock_gettime (clock_id=1, tp=0x7f175f49dc90) at ../sysdeps/unix/clock_gettime.c:100
#3  0x00007f17838570ef in qt_gettime () at kernel/qcore_unix.cpp:111
#4  0x00007f178385aa3d in QTimerInfoList::updateCurrentTime (this=0x7f1759621120) at kernel/qeventdispatcher_unix.cpp:340
#5  0x00007f178385adc5 in QTimerInfoList::timerWait (this=0x7f1759621120, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#6  0x00007f178385d231 in QEventDispatcherUNIX::processEvents (this=0x7f1758227e00, flags=...) at kernel/qeventdispatcher_unix.cpp:921
#7  0x00007f1783830da2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f1783830fa5 in QEventLoop::exec (this=0x7f175f49de20, flags=...) at kernel/qeventloop.cpp:201
#9  0x00007f1783747e4f in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#10 0x00007f178374a775 in QThreadPrivate::start (arg=0x1fde3e0) at thread/qthread_unix.cpp:248
#11 0x00007f178220ca4f in start_thread (arg=0x7f175f49e710) at pthread_create.c:297
#12 0x00007f17824f382d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f175579f710 (LWP 12207)):
#0  0xffffffffff600177 in ?? ()
#1  0x00007fffe97ff7a1 in ?? ()
#2  0x00007f177d6072a3 in clock_gettime (clock_id=1, tp=0x7f175579ec90) at ../sysdeps/unix/clock_gettime.c:100
#3  0x00007f17838570ef in qt_gettime () at kernel/qcore_unix.cpp:111
#4  0x00007f178385aa3d in QTimerInfoList::updateCurrentTime (this=0x1fd3590) at kernel/qeventdispatcher_unix.cpp:340
#5  0x00007f178385adc5 in QTimerInfoList::timerWait (this=0x1fd3590, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#6  0x00007f178385d231 in QEventDispatcherUNIX::processEvents (this=0x1a8d870, flags=...) at kernel/qeventdispatcher_unix.cpp:921
#7  0x00007f1783830da2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f1783830fa5 in QEventLoop::exec (this=0x7f175579ee20, flags=...) at kernel/qeventloop.cpp:201
#9  0x00007f1783747e4f in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#10 0x00007f178374a775 in QThreadPrivate::start (arg=0x200b3a0) at thread/qthread_unix.cpp:248
#11 0x00007f178220ca4f in start_thread (arg=0x7f175579f710) at pthread_create.c:297
#12 0x00007f17824f382d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1754f9e710 (LWP 12208)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f178374a535 in thread_sleep (ti=0x7f1754f9dde0) at thread/qthread_unix.cpp:398
#2  0x00007f178374a6a0 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:424
#3  0x00007f17557d25f1 in UIBlockTester::UIBlockTesterThread::run (this=0x2005740) at /usr/src/debug/kdevelop/languages/cpp/cpplanguagesupport.cpp:678
#4  0x00007f178374a775 in QThreadPrivate::start (arg=0x2005740) at thread/qthread_unix.cpp:248
#5  0x00007f178220ca4f in start_thread (arg=0x7f1754f9e710) at pthread_create.c:297
#6  0x00007f17824f382d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f175479d710 (LWP 12209)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f178374ae3b in wait (this=<value optimized out>, mutex=0x8480b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x8480b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f177a7290e6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8bb080, th=0x1ac4df0)
    at /usr/src/debug/kdelibs-4.4.86svn1138650/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f177a72b4e3 in ThreadWeaver::WorkingHardState::applyForWork (this=0x932860, th=0x1ac4df0) at /usr/src/debug/kdelibs-4.4.86svn1138650/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f177a72a3cf in ThreadWeaver::ThreadRunHelper::run (this=0x7f175479ce30, parent=0x8bb080, th=0x1ac4df0) at /usr/src/debug/kdelibs-4.4.86svn1138650/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f177a72a458 in ThreadWeaver::Thread::run (this=0x1ac4df0) at /usr/src/debug/kdelibs-4.4.86svn1138650/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f178374a775 in QThreadPrivate::start (arg=0x1ac4df0) at thread/qthread_unix.cpp:248
#8  0x00007f178220ca4f in start_thread (arg=0x7f175479d710) at pthread_create.c:297
#9  0x00007f17824f382d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1784f5f760 (LWP 12057)):
[KCrash Handler]
#6  0x00007f1753a69110 in KateSmartRange::~KateSmartRange (this=0x3293310, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.4.86svn1138650/kate/smart/katesmartrange.cpp:56
#7  0x00007f1753a691b9 in KateSmartRange::~KateSmartRange (this=0x3293310, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.4.86svn1138650/kate/smart/katesmartrange.cpp:60
#8  0x00007f175c1abc5f in qDeleteAll<QList<KTextEditor::SmartRange*>::const_iterator> (this=0x2007770, __in_chrg=<value optimized out>) at /usr/include/QtCore/qalgorithms.h:322
#9  qDeleteAll<QList<KTextEditor::SmartRange*> > (this=0x2007770, __in_chrg=<value optimized out>) at /usr/include/QtCore/qalgorithms.h:330
#10 ProblemHighlighter::~ProblemHighlighter (this=0x2007770, __in_chrg=<value optimized out>) at /usr/src/debug/kdevplatform/plugins/problemreporter/problemhighlighter.cpp:113
#11 0x00007f175c1abc89 in ProblemHighlighter::~ProblemHighlighter (this=0x2007770, __in_chrg=<value optimized out>) at /usr/src/debug/kdevplatform/plugins/problemreporter/problemhighlighter.cpp:114
#12 0x00007f175c1a7619 in ProblemReporterPlugin::documentAboutToBeDeleted (this=0x1ad3140, doc=<value optimized out>)
    at /usr/src/debug/kdevplatform/plugins/problemreporter/problemreporterplugin.cpp:116
#13 0x00007f175c1a76c3 in ProblemReporterPlugin::qt_metacall (this=0x1ad3140, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe96e3dc0)
    at /usr/src/debug/kdevplatform/build/plugins/problemreporter/problemreporterplugin.moc:82
#14 0x00007f178384550f in QMetaObject::activate (sender=0x9a8120, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffe96e3dc0) at kernel/qobject.cpp:3287
#15 0x00007f177fbcbac2 in KDevelop::EditorIntegratorStatic::documentAboutToBeDeleted (this=<value optimized out>, _t1=0x7f1759d20320)
    at /usr/src/debug/kdevplatform/build/language/editorintegratorstatic.moc:112
#16 0x00007f177fbcc17a in KDevelop::EditorIntegratorStatic::removeDocument (this=0x9a8120, document=0x7f1759d20320) at /usr/src/debug/kdevplatform/language/editor/editorintegratorstatic.cpp:98
#17 0x00007f178442a552 in KDevelop::TextDocument::close (this=0x1766f50, mode=<value optimized out>) at /usr/src/debug/kdevplatform/shell/textdocument.cpp:499
#18 0x00007f177f91ef34 in Sublime::Area::closeView (this=0x80c7a0, view=0x1b051e0) at /usr/src/debug/kdevplatform/sublime/area.cpp:431
#19 0x00007f177f92e51b in Sublime::MainWindowPrivate::widgetCloseRequest (this=0x7f4350, widget=0x3136b80) at /usr/src/debug/kdevplatform/sublime/mainwindow_p.cpp:612
#20 0x00007f177f930396 in Sublime::MainWindowPrivate::qt_metacall (this=0x7f4350, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe96e40b0)
    at /usr/src/debug/kdevplatform/build/sublime/mainwindow_p.moc:130
#21 0x00007f178384550f in QMetaObject::activate (sender=0x1e10910, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffe96e40b0) at kernel/qobject.cpp:3287
#22 0x00007f177f9237c2 in Sublime::Container::closeRequest (this=<value optimized out>, _t1=0x3136b80) at /usr/src/debug/kdevplatform/build/sublime/container.moc:125
#23 0x00007f177f924972 in Sublime::Container::qt_metacall (this=0x1e10910, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe96e41e0)
    at /usr/src/debug/kdevplatform/build/sublime/container.moc:103
#24 0x00007f178384550f in QMetaObject::activate (sender=0x1b27a30, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffe96e41e0) at kernel/qobject.cpp:3287
#25 0x00007f1783e3e1c1 in KTabBar::closeRequest (this=<value optimized out>, _t1=0) at /usr/src/debug/kdelibs-4.4.86svn1138650/build/kdeui/ktabbar.moc:193
#26 0x00007f1783e3e403 in KTabBar::qt_metacall (this=0x1b27a30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe96e4310)
    at /usr/src/debug/kdelibs-4.4.86svn1138650/build/kdeui/ktabbar.moc:108
#27 0x00007f178384550f in QMetaObject::activate (sender=0x1b27a30, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffe96e4310) at kernel/qobject.cpp:3287
#28 0x00007f1783069351 in QTabBar::tabCloseRequested (this=<value optimized out>, _t1=0) at .moc/release-shared/moc_qtabbar.cpp:208
#29 0x00007f1783070a69 in QTabBar::qt_metacall (this=0x1b27a30, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fffe96e4470) at .moc/release-shared/moc_qtabbar.cpp:141
#30 0x00007f1783e3e230 in KTabBar::qt_metacall (this=0x1b27a30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe96e4470)
    at /usr/src/debug/kdelibs-4.4.86svn1138650/build/kdeui/ktabbar.moc:93
#31 0x00007f178384550f in QMetaObject::activate (sender=0x32445b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffe96e4470) at kernel/qobject.cpp:3287
#32 0x00007f1783280322 in QAbstractButton::clicked (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#33 0x00007f1782fcbfeb in QAbstractButtonPrivate::emitClicked (this=0x3244f70) at widgets/qabstractbutton.cpp:546
#34 0x00007f1782fcd39b in QAbstractButtonPrivate::click (this=0x3244f70) at widgets/qabstractbutton.cpp:539
#35 0x00007f1782fcd60c in QAbstractButton::mouseReleaseEvent (this=0x32445b0, e=0x7fffe96e4df0) at widgets/qabstractbutton.cpp:1121
#36 0x00007f1782c9a8bc in QWidget::event (this=0x32445b0, event=0x7fffe96e4df0) at kernel/qwidget.cpp:8044
#37 0x00007f1782c49fd4 in QApplicationPrivate::notify_helper (this=0x646f00, receiver=0x32445b0, e=0x7fffe96e4df0) at kernel/qapplication.cpp:4302
#38 0x00007f1782c52e4a in QApplication::notify (this=<value optimized out>, receiver=0x32445b0, e=0x7fffe96e4df0) at kernel/qapplication.cpp:3867
#39 0x00007f1783d58d26 in KApplication::notify (this=0x7fffe96e5ba0, receiver=0x32445b0, event=0x7fffe96e4df0) at /usr/src/debug/kdelibs-4.4.86svn1138650/kdeui/kernel/kapplication.cpp:302
#40 0x00007f178383195c in QCoreApplication::notifyInternal (this=0x7fffe96e5ba0, receiver=0x32445b0, event=0x7fffe96e4df0) at kernel/qcoreapplication.cpp:726
#41 0x00007f1782c4bce5 in sendEvent (receiver=0x32445b0, event=0x7fffe96e4df0, alienWidget=0x32445b0, nativeWidget=0x1b27a30, buttonDown=0x7f17836cfaa8, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:215
#42 QApplicationPrivate::sendMouseEvent (receiver=0x32445b0, event=0x7fffe96e4df0, alienWidget=0x32445b0, nativeWidget=0x1b27a30, buttonDown=0x7f17836cfaa8, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2967
#43 0x00007f1782cc61c8 in QETWidget::translateMouseEvent (this=0x1b27a30, event=<value optimized out>) at kernel/qapplication_x11.cpp:4380
#44 0x00007f1782cc4919 in QApplication::x11ProcessEvent (this=0x7fffe96e5ba0, event=0x7fffe96e5760) at kernel/qapplication_x11.cpp:3513
#45 0x00007f1782ceb3b4 in QEventDispatcherX11::processEvents (this=0x619380, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#46 0x00007f1783830da2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#47 0x00007f1783830fa5 in QEventLoop::exec (this=0x7fffe96e58f0, flags=...) at kernel/qeventloop.cpp:201
#48 0x00007f178383539b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#49 0x0000000000408f0f in main (argc=<value optimized out>, argv=0x7fffe96e7548) at /usr/src/debug/kdevelop/app/main.cpp:378

Reported using DrKonqi
Comment 1 Nicolas L. 2010-06-24 14:34:08 UTC

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