Bug 256207

Summary: Desktop crash when you click on "undo trash" [KJob::kill, KUiServerJobTracker::Private::_k_killJob, ..., OrgKdeJobViewV2Interface::qt_metacall]
Product: [Unmaintained] plasma4 Reporter: jshatch
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: akibukis, andresbajotierra, asraniel, jshatch, kdelibs-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description jshatch 2010-11-06 04:04:38 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.7.0
Operating System: Linux 2.6.34.7-0.5-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
While attempting to duplicate bug 227157 I came across this crash.  I am using folder view.  Here are the steps I did.  I was able to duplicate this several times:

1) on desktop create a folder
2) right click on folder and move to trash
3) empty trash
4) right click on desktop
5) click "undo: trash"
6) acknowledge the error displayed

After this I see a progress bar in the notification area that doesn't go away.

7) expand the notification area so all notifications are visible
8) Press the "stop" button on the progress bar

*crash*

9) when the desktop resumes expand the notification area again
10) Press the stop button and the job is successfully canceled.

- Unusual behavior I noticed:

KDE crashes always on the first attempt at stopping the job.  The second attempt works.  As I reproduce this though, after the crash all the old jobs are back and I must stop all of them as well (I'm up to 4 now).

-- Backtrace:
Application: Plasma Workspace (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f7f05ed7760 (LWP 3594))]

Thread 5 (Thread 0x7f7ee26b0710 (LWP 32213)):
#0  0x00007f7f0486639c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7f04af0fab in wait (this=<value optimized out>, mutex=0x1294f70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1294f70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f7efa12e254 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x12952d0, th=0x1f67480) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f7efa1312a5 in waitForAvailableJob (this=0x12952b0, th=0x1f67480) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x12952b0, th=0x1f67480) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f7efa1312be in ThreadWeaver::WorkingHardState::applyForWork (this=0x12952b0, th=0x1f67480) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f7efa12e64f in ThreadWeaver::ThreadRunHelper::run (this=0x7f7ee26afe30, parent=0x12952d0, th=0x1f67480) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/Thread.cpp:87
#8  0x00007f7efa12e6d8 in ThreadWeaver::Thread::run (this=0x1f67480) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/Thread.cpp:142
#9  0x00007f7f04af08be in QThreadPrivate::start (arg=0x1f67480) at thread/qthread_unix.cpp:266
#10 0x00007f7f04861a4f in start_thread () from /lib64/libpthread.so.0
#11 0x00007f7f0362182d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f7ee6286710 (LWP 32214)):
#0  0x00007f7f0486639c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7f04af0fab in wait (this=<value optimized out>, mutex=0x1294f70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1294f70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f7efa12e254 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x12952d0, th=0x1ac9fb0) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f7efa1312a5 in waitForAvailableJob (this=0x12952b0, th=0x1ac9fb0) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x12952b0, th=0x1ac9fb0) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f7efa12e64f in ThreadWeaver::ThreadRunHelper::run (this=0x7f7ee6285e30, parent=0x12952d0, th=0x1ac9fb0) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/Thread.cpp:87
#7  0x00007f7efa12e6d8 in ThreadWeaver::Thread::run (this=0x1ac9fb0) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/Thread.cpp:142
#8  0x00007f7f04af08be in QThreadPrivate::start (arg=0x1ac9fb0) at thread/qthread_unix.cpp:266
#9  0x00007f7f04861a4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f7f0362182d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f7ed7e4d710 (LWP 32215)):
#0  0x00007f7f0486639c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7f04af0fab in wait (this=<value optimized out>, mutex=0x1294f70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1294f70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f7efa12e254 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x12952d0, th=0x1f3bec0) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f7efa1312a5 in waitForAvailableJob (this=0x12952b0, th=0x1f3bec0) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x12952b0, th=0x1f3bec0) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f7efa12e64f in ThreadWeaver::ThreadRunHelper::run (this=0x7f7ed7e4ce30, parent=0x12952d0, th=0x1f3bec0) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/Thread.cpp:87
#7  0x00007f7efa12e6d8 in ThreadWeaver::Thread::run (this=0x1f3bec0) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/Thread.cpp:142
#8  0x00007f7f04af08be in QThreadPrivate::start (arg=0x1f3bec0) at thread/qthread_unix.cpp:266
#9  0x00007f7f04861a4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f7f0362182d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f7ed764c710 (LWP 32216)):
#0  0x00007f7f0486639c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7f04af0fab in wait (this=<value optimized out>, mutex=0x1294f70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1294f70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f7efa12e254 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x12952d0, th=0x1d5be70) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f7efa1312a5 in waitForAvailableJob (this=0x12952b0, th=0x1d5be70) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x12952b0, th=0x1d5be70) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f7efa12e64f in ThreadWeaver::ThreadRunHelper::run (this=0x7f7ed764be30, parent=0x12952d0, th=0x1d5be70) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/Thread.cpp:87
#7  0x00007f7efa12e6d8 in ThreadWeaver::Thread::run (this=0x1d5be70) at /usr/src/debug/kdelibs-4.5.3/threadweaver/Weaver/Thread.cpp:142
#8  0x00007f7f04af08be in QThreadPrivate::start (arg=0x1d5be70) at thread/qthread_unix.cpp:266
#9  0x00007f7f04861a4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f7f0362182d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7f05ed7760 (LWP 3594)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f7f04fc8b81 in KJob::kill (this=0x13ff480, verbosity=KJob::EmitResult) at /usr/src/debug/kdelibs-4.5.3/kdecore/jobs/kjob.cpp:106
#8  0x00007f7f058e10a9 in KUiServerJobTracker::Private::_k_killJob (this=0x1b01c80) at /usr/src/debug/kdelibs-4.5.3/kdeui/jobs/kuiserverjobtracker.cpp:59
#9  0x00007f7f058e10fd in KUiServerJobTracker::qt_metacall (this=0x1c77860, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffdb9d10a0)
    at /usr/src/debug/kdelibs-4.5.3/build/kdeui/kuiserverjobtracker.moc:100
#10 0x00007f7f04bf0b5f in QMetaObject::activate (sender=0x144d740, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3272
#11 0x00007f7f05a355d0 in OrgKdeJobViewV2Interface::qt_metacall (this=0x144d740, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffdb9d1610)
    at /usr/src/debug/kdelibs-4.5.3/build/kdeui/jobviewifacev2.moc:98
#12 0x00007f7f01fe13f8 in QDBusConnectionPrivate::deliverCall (this=0x66a140, object=0x144d740, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:919
#13 0x00007f7f01fecf9f in QDBusCallDeliveryEvent::placeMetaCall (this=<value optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:103
#14 0x00007f7f04bef7da in QObject::event (this=0x144d740, e=<value optimized out>) at kernel/qobject.cpp:1211
#15 0x00007f7f03d81f34 in QApplicationPrivate::notify_helper (this=0x676710, receiver=0x144d740, e=0x13d5330) at kernel/qapplication.cpp:4396
#16 0x00007f7f03d8a35a in QApplication::notify (this=<value optimized out>, receiver=0x144d740, e=0x13d5330) at kernel/qapplication.cpp:4277
#17 0x00007f7f05867846 in KApplication::notify (this=0x669550, receiver=0x144d740, event=0x13d5330) at /usr/src/debug/kdelibs-4.5.3/kdeui/kernel/kapplication.cpp:310
#18 0x00007f7f04bdb9dc in QCoreApplication::notifyInternal (this=0x669550, receiver=0x144d740, event=0x13d5330) at kernel/qcoreapplication.cpp:732
#19 0x00007f7f04bdf185 in sendEvent (receiver=0x0, event_type=0, data=0x60f3e0) at kernel/qcoreapplication.h:215
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60f3e0) at kernel/qcoreapplication.cpp:1373
#21 0x00007f7f04c06463 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#22 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#23 0x00007f7f00725a93 in g_main_dispatch (context=0x678d20) at gmain.c:1960
#24 IA__g_main_context_dispatch (context=0x678d20) at gmain.c:2513
#25 0x00007f7f00726270 in g_main_context_iterate (context=0x678d20, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#26 0x00007f7f00726510 in IA__g_main_context_iteration (context=0x678d20, may_block=1) at gmain.c:2654
#27 0x00007f7f04c065ff in QEventDispatcherGlib::processEvents (this=0x669f80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#28 0x00007f7f03e25eee in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007f7f04bdae12 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#30 0x00007f7f04bdb025 in QEventLoop::exec (this=0x7fffdb9d2040, flags=...) at kernel/qeventloop.cpp:201
#31 0x00007f7f04bdf43b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#32 0x00007f7ef6c17ca8 in kdemain (argc=1, argv=0x664850) at /usr/src/debug/kdebase-workspace-4.5.3/plasma/desktop/shell/main.cpp:118
#33 0x0000000000407509 in launch (argc=1, _name=0x663698 "/usr/bin/plasma-desktop", args=<value optimized out>, cwd=0x0, envc=<value optimized out>, envs=<value optimized out>, reset_env=false, tty=
    0x0, avoid_loops=false, startup_id_str=0x40b277 "0") at /usr/src/debug/kdelibs-4.5.3/kinit/kinit.cpp:723
#34 0x0000000000408025 in handle_launcher_request (sock=8, who=<value optimized out>) at /usr/src/debug/kdelibs-4.5.3/kinit/kinit.cpp:1215
#35 0x000000000040879a in handle_requests (waitForPid=<value optimized out>) at /usr/src/debug/kdelibs-4.5.3/kinit/kinit.cpp:1408
#36 0x00000000004093f0 in main (argc=4, argv=0x7fffdb9d34b8, envp=0x7fffdb9d34e0) at /usr/src/debug/kdelibs-4.5.3/kinit/kinit.cpp:1892

Possible duplicates by query: bug 255257, bug 253887, bug 240752, bug 219627.

Reported using DrKonqi
Comment 1 jshatch 2010-11-06 05:53:43 UTC
Created attachment 53182 [details]
New crash information added by DrKonqi

plasma-desktop (0.3) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0

I updated to the latest patches released today.  I still get the crash in the same manner described above.

-- Backtrace (Reduced):
#6  KJob::kill (this=0x16b1be0, verbosity=KJob::EmitResult) at /usr/src/debug/kdelibs-4.5.3/kdecore/jobs/kjob.cpp:106
#7  0x00007fa0ed1450a9 in KUiServerJobTracker::Private::_k_killJob (this=0x18e6e40) at /usr/src/debug/kdelibs-4.5.3/kdeui/jobs/kuiserverjobtracker.cpp:59
#8  0x00007fa0ed1450fd in KUiServerJobTracker::qt_metacall (this=0x1a74a90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff4933cad0)
    at /usr/src/debug/kdelibs-4.5.3/build/kdeui/kuiserverjobtracker.moc:100
[...]
#10 0x00007fa0ed2995d0 in OrgKdeJobViewV2Interface::qt_metacall (this=0x15fe7e0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff4933d040)
    at /usr/src/debug/kdelibs-4.5.3/build/kdeui/jobviewifacev2.moc:98
#11 0x00007fa0e98453f8 in QDBusConnectionPrivate::deliverCall (this=0x66a340, object=0x15fe7e0, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:919
Comment 2 Beat Wolf 2010-11-06 14:56:14 UTC

*** This bug has been marked as a duplicate of bug 240752 ***
Comment 3 Dario Andres 2010-11-15 19:18:50 UTC
*** Bug 252085 has been marked as a duplicate of this bug. ***