Bug 215089 - KDevelop crashed when trying to close.
Summary: KDevelop crashed when trying to close.
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-18 10:15 UTC by Juan Ramírez Ruiz
Modified: 2009-11-18 11:23 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 Juan Ramírez Ruiz 2009-11-18 10:15:06 UTC
Application that crashed: kdevelop
Version of the application: 3.9.95 (using KDevPlatform 0.9.95)
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
I closed KDevelop because I was trying to open a file modified by other program and KDevelop didn't recognize it.

 -- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0xb76e9700 (LWP 1894))]

Thread 9 (Thread 0xb409eb70 (LWP 1906)):
#0  0x00caa422 in __kernel_vsyscall ()
#1  0x00c82142 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x006a47e4 in __pthread_cond_timedwait (cond=0x9269c98, mutex=0x9269c80, abstime=0xb409e2c0) at forward.c:152
#3  0x00cfadef in QWaitConditionPrivate::wait (this=0x927bd5c, mutex=0x927bd60, time=200000) at thread/qwaitcondition_unix.cpp:85
#4  QWaitCondition::wait (this=0x927bd5c, mutex=0x927bd60, time=200000) at thread/qwaitcondition_unix.cpp:159
#5  0x08913715 in ?? () from /usr/lib/libkdevplatformlanguage.so.1
#6  0x00cf9e32 in QThreadPrivate::start (arg=0x927bd50) at thread/qthread_unix.cpp:188
#7  0x00c7d80e in start_thread (arg=0xb409eb70) at pthread_create.c:300
#8  0x006977ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xb2efeb70 (LWP 1922)):
#0  0x06921cdb in g_main_context_check () from /lib/libglib-2.0.so.0
#1  0x0692246c in ?? () from /lib/libglib-2.0.so.0
#2  0x06922853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00e15067 in QEventDispatcherGlib::processEvents (this=0xb3701300, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#4  0x00de8c79 in QEventLoop::processEvents (this=0xb2efe2a4, flags=) at kernel/qeventloop.cpp:149
#5  0x00de90ca in QEventLoop::exec (this=0xb2efe2a4, flags=...) at kernel/qeventloop.cpp:201
#6  0x00cf6b73 in QThread::exec (this=0x933c140) at thread/qthread.cpp:487
#7  0x00dcb6ab in QInotifyFileSystemWatcherEngine::run (this=0x933c140) at io/qfilesystemwatcher_inotify.cpp:214
#8  0x00cf9e32 in QThreadPrivate::start (arg=0x933c140) at thread/qthread_unix.cpp:188
#9  0x00c7d80e in start_thread (arg=0xb2efeb70) at pthread_create.c:300
#10 0x006977ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xafb4eb70 (LWP 1935)):
#0  0x00c8114f in __pthread_mutex_unlock_usercnt (mutex=0x96df7e4, decr=0) at pthread_mutex_unlock.c:77
#1  0x006a4996 in pthread_mutex_unlock (mutex=0x96df7e4) at forward.c:184
#2  0x06921f6e in g_main_context_prepare () from /lib/libglib-2.0.so.0
#3  0x06922341 in ?? () from /lib/libglib-2.0.so.0
#4  0x06922853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00e15067 in QEventDispatcherGlib::processEvents (this=0x96df6d8, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#6  0x00de8c79 in QEventLoop::processEvents (this=0xafb4e2d4, flags=) at kernel/qeventloop.cpp:149
#7  0x00de90ca in QEventLoop::exec (this=0xafb4e2d4, flags=...) at kernel/qeventloop.cpp:201
#8  0x00cf6b73 in QThread::exec (this=0x96df2f0) at thread/qthread.cpp:487
#9  0x08a181d0 in ?? () from /usr/lib/libkdevplatformlanguage.so.1
#10 0x00cf9e32 in QThreadPrivate::start (arg=0x96df2f0) at thread/qthread_unix.cpp:188
#11 0x00c7d80e in start_thread (arg=0xafb4eb70) at pthread_create.c:300
#12 0x006977ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xaf34db70 (LWP 1936)):
#0  0x00caa422 in __kernel_vsyscall ()
#1  0x00689ba6 in *__GI___poll (fds=0x70aff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x0692f53b in g_poll () from /lib/libglib-2.0.so.0
#3  0x0692255b in ?? () from /lib/libglib-2.0.so.0
#4  0x06922853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00e15067 in QEventDispatcherGlib::processEvents (this=0x96e0b20, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#6  0x00de8c79 in QEventLoop::processEvents (this=0xaf34d2d4, flags=) at kernel/qeventloop.cpp:149
#7  0x00de90ca in QEventLoop::exec (this=0xaf34d2d4, flags=...) at kernel/qeventloop.cpp:201
#8  0x00cf6b73 in QThread::exec (this=0x96ded20) at thread/qthread.cpp:487
#9  0x08a181d0 in ?? () from /usr/lib/libkdevplatformlanguage.so.1
#10 0x00cf9e32 in QThreadPrivate::start (arg=0x96ded20) at thread/qthread_unix.cpp:188
#11 0x00c7d80e in start_thread (arg=0xaf34db70) at pthread_create.c:300
#12 0x006977ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xaeb4cb70 (LWP 1939)):
#0  0x00caa422 in __kernel_vsyscall ()
#1  0x00c82142 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x006a47e4 in __pthread_cond_timedwait (cond=0xaeb4c234, mutex=0xaeb4c264, abstime=0xaeb4c2b0) at forward.c:152
#3  0x00cf981e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:297
#4  0x00cf9973 in QThread::msleep (msecs=30) at thread/qthread_unix.cpp:323
#5  0x02fba2ab in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#6  0x00cf9e32 in QThreadPrivate::start (arg=0x975db80) at thread/qthread_unix.cpp:188
#7  0x00c7d80e in start_thread (arg=0xaeb4cb70) at pthread_create.c:300
#8  0x006977ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xae0a3b70 (LWP 1943)):
#0  0x00caa422 in __kernel_vsyscall ()
#1  0x00c81e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x006a478d in __pthread_cond_wait (cond=0x91c1a20, mutex=0x91c1a08) at forward.c:139
#3  0x00cfae67 in QWaitConditionPrivate::wait (this=0x91a9e68, mutex=0x91c1a70, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x91a9e68, mutex=0x91c1a70, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00f0db30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x91a9e50, th=0x96a3848) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00f1019c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x91c1fd8, th=0x96a3848) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00f0c1fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x91a9e50, th=0x96a3848) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00f10292 in ThreadWeaver::WorkingHardState::applyForWork (this=0x91c1fd8, th=0x96a3848) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00f0ddb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x91a9e50, th=0x96a3848, previous=0xaa3d4f8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00f0e3be in ThreadWeaver::ThreadRunHelper::run (this=0xae0a3304, parent=0x91a9e50, th=0x96a3848) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x00f0e9db in ThreadWeaver::Thread::run (this=0x96a3848) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x00cf9e32 in QThreadPrivate::start (arg=0x96a3848) at thread/qthread_unix.cpp:188
#13 0x00c7d80e in start_thread (arg=0xae0a3b70) at pthread_create.c:300
#14 0x006977ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xad8a2b70 (LWP 1944)):
#0  0x00caa422 in __kernel_vsyscall ()
#1  0x00c81e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x006a478d in __pthread_cond_wait (cond=0x91c1a20, mutex=0x91c1a08) at forward.c:139
#3  0x00cfae67 in QWaitConditionPrivate::wait (this=0x91a9e68, mutex=0x91c1a70, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x91a9e68, mutex=0x91c1a70, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00f0db30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x91a9e50, th=0xb3783210) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00f1019c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x91c1fd8, th=0xb3783210) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00f0c1fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x91a9e50, th=0xb3783210) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00f10292 in ThreadWeaver::WorkingHardState::applyForWork (this=0x91c1fd8, th=0xb3783210) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00f0ddb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x91a9e50, th=0xb3783210, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00f102b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x91c1fd8, th=0xb3783210) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00f0ddb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x91a9e50, th=0xb3783210, previous=0xa9bac90) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x00f0e3be in ThreadWeaver::ThreadRunHelper::run (this=0xad8a2304, parent=0x91a9e50, th=0xb3783210) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0x00f0e9db in ThreadWeaver::Thread::run (this=0xb3783210) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0x00cf9e32 in QThreadPrivate::start (arg=0xb3783210) at thread/qthread_unix.cpp:188
#15 0x00c7d80e in start_thread (arg=0xad8a2b70) at pthread_create.c:300
#16 0x006977ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xabbffb70 (LWP 18642)):
#0  0x00caa422 in __kernel_vsyscall ()
#1  0x00c81e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x006a478d in __pthread_cond_wait (cond=0xb15e968, mutex=0xb15e950) at forward.c:139
#3  0x00cfae67 in QWaitConditionPrivate::wait (this=0xb15e860, mutex=0xb15eaf0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xb15e860, mutex=0xb15eaf0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00f0db30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xb15e848, th=0xb159a20) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00f1019c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xb15eb88, th=0xb159a20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00f0c1fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xb15e848, th=0xb159a20) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00f10292 in ThreadWeaver::WorkingHardState::applyForWork (this=0xb15eb88, th=0xb159a20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00f0ddb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xb15e848, th=0xb159a20, previous=0xb187970) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00f0e3be in ThreadWeaver::ThreadRunHelper::run (this=0xabbff304, parent=0xb15e848, th=0xb159a20) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x00f0e9db in ThreadWeaver::Thread::run (this=0xb159a20) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x00cf9e32 in QThreadPrivate::start (arg=0xb159a20) at thread/qthread_unix.cpp:188
#13 0x00c7d80e in start_thread (arg=0xabbffb70) at pthread_create.c:300
#14 0x006977ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb76e9700 (LWP 1894)):
[KCrash Handler]
#6  KParts::ReadOnlyPart::url (this=0x0) at ../../kparts/part.cpp:465
#7  0x088f7dcb in KDevelop::DUChain::documentAboutToBeDeleted(KTextEditor::Document*) () from /usr/lib/libkdevplatformlanguage.so.1
#8  0x088fcabf in KDevelop::DUChain::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdevplatformlanguage.so.1
#9  0x00e00263 in QMetaObject::activate (sender=0x927c230, from_signal_index=5, to_signal_index=5, argv=0xbfc1d1a8) at kernel/qobject.cpp:3113
#10 0x00e00ec2 in QMetaObject::activate (sender=0x927c230, m=0x8a96ae8, local_signal_index=1, argv=0xbfc1d1a8) at kernel/qobject.cpp:3187
#11 0x088d7ec3 in ?? () from /usr/lib/libkdevplatformlanguage.so.1
#12 0x088d8e69 in ?? () from /usr/lib/libkdevplatformlanguage.so.1
#13 0x088d6256 in KDevelop::EditorIntegrator::removeDocument(KTextEditor::Document*) () from /usr/lib/libkdevplatformlanguage.so.1
#14 0x00a03b9d in KDevelop::TextDocument::close(KDevelop::IDocument::DocumentSaveMode) () from /usr/lib/libkdevplatformshell.so.1
#15 0x00a07cea in KDevelop::DocumentController::closeDocument(KUrl const&) () from /usr/lib/libkdevplatformshell.so.1
#16 0x009f226a in KDevelop::ProjectController::closeAllOpenedFiles(KDevelop::IProject*) () from /usr/lib/libkdevplatformshell.so.1
#17 0x009f62a7 in KDevelop::ProjectController::closeProject(KDevelop::IProject*) () from /usr/lib/libkdevplatformshell.so.1
#18 0x009f29d4 in KDevelop::ProjectController::cleanup() () from /usr/lib/libkdevplatformshell.so.1
#19 0x009e87d4 in KDevelop::Core::cleanup() () from /usr/lib/libkdevplatformshell.so.1
#20 0x009d65fd in KDevelop::MainWindow::~MainWindow() () from /usr/lib/libkdevplatformshell.so.1
#21 0x00df9135 in qDeleteInEventHandler (o=0x0) at kernel/qobject.cpp:3815
#22 0x00dfa62b in QObject::event (this=0x9158628, e=0x9ae9368) at kernel/qobject.cpp:1094
#23 0x05faa906 in QWidget::event (this=0x9158628, event=0x9ae9368) at kernel/qwidget.cpp:7946
#24 0x06378297 in QMainWindow::event (this=0x9158628, event=0x9ae9368) at widgets/qmainwindow.cpp:1399
#25 0x011fbdc4 in KMainWindow::event (this=0x9158628, ev=0x9ae9368) at ../../kdeui/widgets/kmainwindow.cpp:1094
#26 0x0124230f in KXmlGuiWindow::event (this=0x9158628, ev=0x9ae9368) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#27 0x05f55f54 in QApplicationPrivate::notify_helper (this=0x905fdf8, receiver=0x9158628, e=0x9ae9368) at kernel/qapplication.cpp:4056
#28 0x05f5d5ca in QApplication::notify (this=0xbfc1dea4, receiver=0x9158628, e=0x9ae9368) at kernel/qapplication.cpp:4021
#29 0x01115bfa in KApplication::notify (this=0xbfc1dea4, receiver=0x9158628, event=0x9ae9368) at ../../kdeui/kernel/kapplication.cpp:302
#30 0x00dea6cb in QCoreApplication::notifyInternal (this=0xbfc1dea4, receiver=0x9158628, event=0x9ae9368) at kernel/qcoreapplication.cpp:610
#31 0x00deb2b2 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x8f93ef8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8f93ef8) at kernel/qcoreapplication.cpp:1247
#33 0x00deb47d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#34 0x00e153ff in QCoreApplication::sendPostedEvents (s=0x9061990) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#35 postEventSourceDispatch (s=0x9061990) at kernel/qeventdispatcher_glib.cpp:210
#36 0x0691ee78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#37 0x06922720 in ?? () from /lib/libglib-2.0.so.0
#38 0x06922853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#39 0x00e1502c in QEventDispatcherGlib::processEvents (this=0x8f940d0, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#40 0x05ff6be5 in QGuiEventDispatcherGlib::processEvents (this=0x8f940d0, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#41 0x00de8c79 in QEventLoop::processEvents (this=0xbfc1ddc4, flags=) at kernel/qeventloop.cpp:149
#42 0x00de90ca in QEventLoop::exec (this=0xbfc1ddc4, flags=...) at kernel/qeventloop.cpp:201
#43 0x00deb53f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#44 0x05f55dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#45 0x0804f393 in _start ()

This bug may be a duplicate of or related to bug 193577

Reported using DrKonqi
Comment 1 Andreas Pakulat 2009-11-18 11:23:59 UTC
please re-open if you can reproduce with Beta6 or current svn.