Bug 236501 - KDevelop craches when open another project after closing current project
Summary: KDevelop craches when open another project after closing current project
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 3.9.95
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-06 02:12 UTC by seema.jaisinghani
Modified: 2010-05-06 23:17 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 seema.jaisinghani 2010-05-06 02:12:44 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-21-generic x86_64
Distribution: Ubuntu 9.10

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

Thread 8 (Thread 0x7f5b38951910 (LWP 8807)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f5b4ccd3462 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2b918e0, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2b918e0, time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f5b488769be in ?? () from /usr/lib/libkdevplatformlanguage.so.1
#4  0x00007f5b4ccd2445 in QThreadPrivate::start (arg=0x2b918c0) at thread/qthread_unix.cpp:188
#5  0x00007f5b45f03a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f5b4bb2080d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f5b31a3b910 (LWP 8812)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f5b4ccd34fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x35615e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x35615e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f5b43ae9326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3555a20, th=0x3552050) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f5b43aeb45b in ThreadWeaver::WorkingHardState::applyForWork (this=0x35191d0, th=0x3552050) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f5b43ae9a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f5b31a3b050, parent=0x3555a20, th=0x3552050) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f5b43ae9eb8 in ThreadWeaver::Thread::run (this=0x3552050) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f5b4ccd2445 in QThreadPrivate::start (arg=0x3552050) at thread/qthread_unix.cpp:188
#8  0x00007f5b45f03a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f5b4bb2080d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 6 (Thread 0x7f5b2211b910 (LWP 8901)):
#0  0x00007f5b45f060b2 in __pthread_mutex_lock (mutex=0x463bf78) at pthread_mutex_lock.c:61
#1  0x00007f5b46157c5f in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x00007f5b46158191 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007f5b461586c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007f5b4cde11fe in QEventDispatcherGlib::processEvents (this=0x356a6a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#5  0x00007f5b4cdb7532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f5b4cdb7904 in QEventLoop::exec (this=0x7f5b2211b050, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f5b4cccf6cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f5b4ccd2445 in QThreadPrivate::start (arg=0x3565630) at thread/qthread_unix.cpp:188
#9  0x00007f5b45f03a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f5b4bb2080d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f5b2191a910 (LWP 8902)):
#0  0x00007f5b45f076dd in __pthread_mutex_unlock_usercnt (mutex=0x359d528) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x359d528) at pthread_mutex_unlock.c:289
#2  0x00007f5b46157dae in g_main_context_prepare () from /lib/libglib-2.0.so.0
#3  0x00007f5b46158191 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007f5b461586c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00007f5b4cde11fe in QEventDispatcherGlib::processEvents (this=0x4633e50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#6  0x00007f5b4cdb7532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#7  0x00007f5b4cdb7904 in QEventLoop::exec (this=0x7f5b2191a050, flags=) at kernel/qeventloop.cpp:201
#8  0x00007f5b4cccf6cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#9  0x00007f5b4ccd2445 in QThreadPrivate::start (arg=0x356db20) at thread/qthread_unix.cpp:188
#10 0x00007f5b45f03a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f5b4bb2080d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 4 (Thread 0x7f5b21119910 (LWP 8915)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f5b4ccd1ed5 in thread_sleep (ti=0x7f5b21119000) at thread/qthread_unix.cpp:297
#2  0x00007f5b4ccd2040 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:323
#3  0x00007f5b233ed301 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#4  0x00007f5b4ccd2445 in QThreadPrivate::start (arg=0x464bf10) at thread/qthread_unix.cpp:188
#5  0x00007f5b45f03a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f5b4bb2080d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f5b1fcca910 (LWP 9111)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f5b4ccd34fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2b0e2a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2b0e2a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f5b43ae9326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2b0f070, th=0x5b06900) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f5b43aeb45b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2b0f450, th=0x5b06900) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f5b43ae9a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f5b1fcca050, parent=0x2b0f070, th=0x5b06900) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f5b43ae9eb8 in ThreadWeaver::Thread::run (this=0x5b06900) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f5b4ccd2445 in QThreadPrivate::start (arg=0x5b06900) at thread/qthread_unix.cpp:188
#8  0x00007f5b45f03a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f5b4bb2080d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 2 (Thread 0x7f5b1f4c9910 (LWP 9112)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f5b4ccd34fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2b0e2a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2b0e2a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f5b43ae9326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2b0f070, th=0x60f7730) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f5b43aeb45b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2b0f450, th=0x60f7730) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f5b43aeb474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2b0f450, th=0x60f7730) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f5b43ae9a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f5b1f4c9050, parent=0x2b0f070, th=0x60f7730) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f5b43ae9eb8 in ThreadWeaver::Thread::run (this=0x60f7730) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f5b4ccd2445 in QThreadPrivate::start (arg=0x60f7730) at thread/qthread_unix.cpp:188
#9  0x00007f5b45f03a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f5b4bb2080d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5b4e49d750 (LWP 8806)):
[KCrash Handler]
#5  KParts::ReadOnlyPart::url (this=0x0) at ../../kparts/part.cpp:465
#6  0x00007f5b4885c3cb in KDevelop::DUChain::documentAboutToBeDeleted(KTextEditor::Document*) () from /usr/lib/libkdevplatformlanguage.so.1
#7  0x00007f5b488610f7 in KDevelop::DUChain::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdevplatformlanguage.so.1
#8  0x00007f5b4cdcdddc in QMetaObject::activate (sender=0x2bac530, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0xf) at kernel/qobject.cpp:3113
#9  0x00007f5b4883d8f2 in ?? () from /usr/lib/libkdevplatformlanguage.so.1
#10 0x00007f5b4883e856 in ?? () from /usr/lib/libkdevplatformlanguage.so.1
#11 0x00007f5b4d98cfc4 in KDevelop::TextDocument::close(KDevelop::IDocument::DocumentSaveMode) () from /usr/lib/libkdevplatformshell.so.1
#12 0x00007f5b4d990d02 in KDevelop::DocumentController::closeDocument(KUrl const&) () from /usr/lib/libkdevplatformshell.so.1
#13 0x00007f5b4d97ca4c in KDevelop::ProjectController::closeAllOpenedFiles(KDevelop::IProject*) () from /usr/lib/libkdevplatformshell.so.1
#14 0x00007f5b4d980628 in KDevelop::ProjectController::closeProject(KDevelop::IProject*) () from /usr/lib/libkdevplatformshell.so.1
#15 0x00007f5b4d97ce96 in KDevelop::ProjectController::closeAllProjects() () from /usr/lib/libkdevplatformshell.so.1
#16 0x00007f5b4d982c4d in KDevelop::ProjectController::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdevplatformshell.so.1
#17 0x00007f5b4cdcdddc in QMetaObject::activate (sender=0x2ae4d30, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0xf) at kernel/qobject.cpp:3113
#18 0x00007f5b4c25b0a7 in QAction::triggered (this=0x7fffd4be2e90, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#19 0x00007f5b4c25c4ef in QAction::activate (this=0x2ae4d30, event=<value optimized out>) at kernel/qaction.cpp:1160
#20 0x00007f5b4c648ecd in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0x2ae4d30, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:967
#21 0x00007f5b4c64edea in QMenuPrivate::activateAction (this=0x2b6ca00, action=0x2ae4d30, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1060
#22 0x00007f5b4d3a12be in KMenu::mouseReleaseEvent (this=0x2b6b590, e=0x0) at ../../kdeui/widgets/kmenu.cpp:456
#23 0x00007f5b4c2af9c0 in QWidget::event (this=0x2b6b590, event=0x7fffd4be4000) at kernel/qwidget.cpp:7549
#24 0x00007f5b4c6515ab in QMenu::event (this=0x2b6b590, e=0x7fffd4be4000) at widgets/qmenu.cpp:2353
#25 0x00007f5b4c260efc in QApplicationPrivate::notify_helper (this=0x26cff40, receiver=0x2b6b590, e=0x7fffd4be4000) at kernel/qapplication.cpp:4056
#26 0x00007f5b4c268011 in QApplication::notify (this=<value optimized out>, receiver=0x2b6b590, e=0x7fffd4be4000) at kernel/qapplication.cpp:3758
#27 0x00007f5b4d2ceab6 in KApplication::notify (this=0x7fffd4be5f70, receiver=0x2b6b590, event=0x7fffd4be4000) at ../../kdeui/kernel/kapplication.cpp:302
#28 0x00007f5b4cdb8c2c in QCoreApplication::notifyInternal (this=0x7fffd4be5f70, receiver=0x2b6b590, event=0x7fffd4be4000) at kernel/qcoreapplication.cpp:610
#29 0x00007f5b4c2678e0 in QCoreApplication::sendSpontaneousEvent (receiver=0x2b6b590, event=0x7fffd4be4000, alienWidget=0x0, nativeWidget=0x2b6b590, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#30 QApplicationPrivate::sendMouseEvent (receiver=0x2b6b590, event=0x7fffd4be4000, alienWidget=0x0, nativeWidget=0x2b6b590, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>)
    at kernel/qapplication.cpp:2924
#31 0x00007f5b4c2cde2e in QETWidget::translateMouseEvent (this=0x2b6b590, event=<value optimized out>) at kernel/qapplication_x11.cpp:4343
#32 0x00007f5b4c2ccaa9 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffd4be5b30) at kernel/qapplication_x11.cpp:3550
#33 0x00007f5b4c2f5d0c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#34 0x00007f5b46154bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#35 0x00007f5b46158598 in ?? () from /lib/libglib-2.0.so.0
#36 0x00007f5b461586c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#37 0x00007f5b4cde11a6 in QEventDispatcherGlib::processEvents (this=0x1620870, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#38 0x00007f5b4c2f54be in QGuiEventDispatcherGlib::processEvents (this=0x7fffd4be2e90, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#39 0x00007f5b4cdb7532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#40 0x00007f5b4cdb7904 in QEventLoop::exec (this=0x7fffd4be5e60, flags=) at kernel/qeventloop.cpp:201
#41 0x00007f5b4cdb9ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#42 0x0000000000407f27 in _start ()
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Amilcar do Carmo Lucas 2010-05-06 08:39:27 UTC
You are using Beta5 (testing version more than one year old). Please update to KDevelop 4.0.0 (final stable release, meant for production use).

If the bug presists after you update, then reopen it and repost the newer backtrace.
Comment 2 seema.jaisinghani 2010-05-06 22:56:56 UTC
Is there a KDevelop 4.0.0 binary available for Ubuntu or Linux x86_64, x64?
Can you send me a link to download.

All I found was 3.9.95.

Thanks,
Seema

-----Original Message-----
From: bugzilla_noreply@kde.org [mailto:bugzilla_noreply@kde.org] On Behalf Of Amilcar do Carmo Lucas
Sent: Wednesday, May 05, 2010 11:40 PM
To: Seema Jaisinghani
Subject: [Bug 236501] KDevelop craches when open another project after closing current project

https://bugs.kde.org/show_bug.cgi?id=236501


Amilcar do Carmo Lucas <amilcar@kdevelop.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |amilcar@kdevelop.org
            Version|unspecified                 |3.9.95
         Resolution|                            |INVALID




--- Comment #1 from Amilcar do Carmo Lucas <amilcar kdevelop org>  2010-05-06 08:39:27 ---
You are using Beta5 (testing version more than one year old). Please update to
KDevelop 4.0.0 (final stable release, meant for production use).

If the bug presists after you update, then reopen it and repost the newer
backtrace.
Comment 3 Andreas Pakulat 2010-05-06 23:17:38 UTC
(In reply to comment #2)
> Is there a KDevelop 4.0.0 binary available for Ubuntu or Linux x86_64, x64?
> Can you send me a link to download.

You should ask your distribution about that. Or you could simply build it from source.