Bug 187941 - crash at stop the program
Summary: crash at stop the program
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-23 20:09 UTC by BRULE Herman
Modified: 2009-08-19 22:52 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 BRULE Herman 2009-03-23 20:09:44 UTC
Version:            (using Devel)
Installed from:    Compiled sources

Crash when stop the program:
Application: KDevelop (kdevelop), signal SIGSEGV
0x00007fbca2920901 in nanosleep () from /lib/libc.so.6
Current language:  auto; currently c
[Current thread is 0 (LWP 14717)]

Thread 4 (Thread 0x7fbc90957950 (LWP 14718)):
#0  0x00007fbca294a682 in select () from /lib/libc.so.6
#1  0x00007fbca4477fc5 in QProcessManager::run (this=0x9726c0) at io/qprocess_unix.cpp:305
#2  0x00007fbca43b7ab9 in QThreadPrivate::start (arg=0x9726c0) at thread/qthread_unix.cpp:189
#3  0x00007fbca4143007 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007fbca2950f7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fbc8b34e950 (LWP 14725)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007fbca43b8637 in QWaitCondition::wait (this=0x141efd8, mutex=0x141efe0, time=140000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007fbca12a221e in KDevelop::DUChainPrivate::CleanupThread::run (this=0x141efc0) at /home/guest/kdevplatform/language/duchain/duchain.cpp:245
#3  0x00007fbca43b7ab9 in QThreadPrivate::start (arg=0x141efc0) at thread/qthread_unix.cpp:189
#4  0x00007fbca4143007 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007fbca2950f7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fbc8bb4f950 (LWP 14730)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fbca43b8655 in QWaitCondition::wait (this=0x1d5bad8, mutex=0x1d59e10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007fbca5b43c6f in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1d5bab0, th=0x1d53c90)
    at /var/tmp/portage/kde-base/kdelibs-4.2.1-r2/work/kdelibs-4.2.1/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007fbca5b46ff8 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1d59ef0, th=0x1d53c90)
    at /var/tmp/portage/kde-base/kdelibs-4.2.1-r2/work/kdelibs-4.2.1/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007fbca5b45584 in ThreadWeaver::ThreadRunHelper::run (this=0x7fbc8bb4f010, parent=0x1d5bab0, th=0x1d53c90)
    at /var/tmp/portage/kde-base/kdelibs-4.2.1-r2/work/kdelibs-4.2.1/threadweaver/Weaver/Thread.cpp:87
#5  0x00007fbca5b456a5 in ThreadWeaver::Thread::run (this=0x1d53c90) at /var/tmp/portage/kde-base/kdelibs-4.2.1-r2/work/kdelibs-4.2.1/threadweaver/Weaver/Thread.cpp:142
#6  0x00007fbca43b7ab9 in QThreadPrivate::start (arg=0x1d53c90) at thread/qthread_unix.cpp:189
#7  0x00007fbca4143007 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#8  0x00007fbca2950f7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()
Current language:  auto; currently asm

Thread 1 (Thread 0x7fbca76a7750 (LWP 14717)):
[KCrash Handler]
#5  KJob::kill (this=0x1c83920, verbosity=KJob::Quietly) at /var/tmp/portage/kde-base/kdelibs-4.2.1-r2/work/kdelibs-4.2.1/kdecore/jobs/kjob.cpp:106
#6  0x00007fbca6bc08ef in ExecuteCompositeJob::doKill (this=0x120fd10) at /home/guest/kdevplatform/shell/runcontroller.cpp:130
#7  0x00007fbca71418b9 in KJob::kill (this=0x1c83920, verbosity=KJob::Quietly) at /var/tmp/portage/kde-base/kdelibs-4.2.1-r2/work/kdelibs-4.2.1/kdecore/jobs/kjob.cpp:106
#8  0x00007fbca6bbb54a in KDevelop::RunController::stopAllProcesses (this=<value optimized out>) at /home/guest/kdevplatform/shell/runcontroller.cpp:492
#9  0x00007fbca6bbd21d in KDevelop::RunController::qt_metacall (this=0x11a3ca0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffaf6e9f10)
    at /home/guest/kdevplatform/shell/runcontroller.moc:80
#10 0x00007fbca44ac03d in QMetaObject::activate (sender=0x11ab6b0, from_signal_index=<value optimized out>, to_signal_index=6, argv=0x1d78b30) at kernel/qobject.cpp:3057
#11 0x00007fbca351cfd7 in QAction::triggered (this=0x1c83920, _t1=false) at .moc/debug-shared/moc_qaction.cpp:236
#12 0x00007fbca351dd40 in QAction::activate (this=0x11ab6b0, event=<value optimized out>) at kernel/qaction.cpp:1160
#13 0x00007fbca38a95ea in QAbstractButtonPrivate::click (this=0x11e84b0) at widgets/qabstractbutton.cpp:525
#14 0x00007fbca38a9865 in QAbstractButton::mouseReleaseEvent (this=0x11df920, e=0x7fffaf6ea8d0) at widgets/qabstractbutton.cpp:1115
#15 0x00007fbca396f7fa in QToolButton::mouseReleaseEvent (this=0x1c83920, e=0x0) at widgets/qtoolbutton.cpp:709
#16 0x00007fbca35757d0 in QWidget::event (this=0x11df920, event=0x7fffaf6ea8d0) at kernel/qwidget.cpp:7516
#17 0x00007fbca352290d in QApplicationPrivate::notify_helper (this=0x1011880, receiver=0x11df920, e=0x7fffaf6ea8d0) at kernel/qapplication.cpp:4084
#18 0x00007fbca352bbd3 in QApplication::notify (this=<value optimized out>, receiver=0x11df920, e=0x7fffaf6ea8d0) at kernel/qapplication.cpp:3786
#19 0x00007fbca4bf2e4b in KApplication::notify (this=0x7fffaf6eb6a0, receiver=0x11df920, event=0x7fffaf6ea8d0)
    at /var/tmp/portage/kde-base/kdelibs-4.2.1-r2/work/kdelibs-4.2.1/kdeui/kernel/kapplication.cpp:307
#20 0x00007fbca4496a13 in QCoreApplication::notifyInternal (this=0x7fffaf6eb6a0, receiver=0x11df920, event=0x7fffaf6ea8d0) at kernel/qcoreapplication.cpp:598
#21 0x00007fbca352ad62 in QApplicationPrivate::sendMouseEvent (receiver=0x11df920, event=0x7fffaf6ea8d0, alienWidget=0x11df920, nativeWidget=0x1129a40, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7fbca3eea050) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#22 0x00007fbca358bb7c in QETWidget::translateMouseEvent (this=0x1129a40, event=<value optimized out>) at kernel/qapplication_x11.cpp:4425
#23 0x00007fbca358aa15 in QApplication::x11ProcessEvent (this=0x7fffaf6eb6a0, event=0x7fffaf6eb270) at kernel/qapplication_x11.cpp:3543
#24 0x00007fbca35afefc in x11EventSourceDispatch (s=0x1014f90, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#25 0x00007fbc9d66d232 in IA__g_main_context_dispatch (context=0x1013860) at gmain.c:2144
#26 0x00007fbc9d67094d in g_main_context_iterate (context=0x1013860, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778
#27 0x00007fbc9d670b0b in IA__g_main_context_iteration (context=0x1013860, may_block=1) at gmain.c:2841
#28 0x00007fbca44be55f in QEventDispatcherGlib::processEvents (this=0x1011a90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#29 0x00007fbca35af75f in QGuiEventDispatcherGlib::processEvents (this=0x1c83920, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#30 0x00007fbca44956b2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1351699104}) at kernel/qeventloop.cpp:149
#31 0x00007fbca4495845 in QEventLoop::exec (this=0x7fffaf6eb5a0, flags={i = -1351699024}) at kernel/qeventloop.cpp:196
#32 0x00007fbca449a406 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#33 0x0000000000407dd0 in main (argc=1, argv=0x7fffaf6ec8a8) at /home/guest/kdevelop/app/main.cpp:203
#0  0x00007fbca2920901 in nanosleep () from /lib/libc.so.6
Current language:  auto; currently c
Comment 1 Andreas Pakulat 2009-07-25 20:39:43 UTC
If you can reproduce this at will, please provide the steps. the backtrace doesn't tell us anything.
Comment 2 BRULE Herman 2009-07-25 20:45:52 UTC
I just work under kdevelop, and after I close kdevelop.
Comment 3 Andreas Pakulat 2009-08-19 22:52:59 UTC
SVN commit 1013435 by apaku:

Make sure that the killing of an outputjob is seen in other parts.
BUG:204419
BUG:187941

 M  +7 -1      outputjob.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1013435