dolphin crashed with SIGSEGV in KUiServerJobTracker::Private::_k_killJob()

Bug #450923 reported by Alan Fischer e Silva
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kdelibs
Invalid
High
kde4libs (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: kdebase

Description: Ubuntu karmic (development branch)
Release: 9.10

dolphin:
  Installed: 4:4.3.2-0ubuntu1
  Candidate: 4:4.3.2-0ubuntu1
  Version table:
 *** 4:4.3.2-0ubuntu1 0
        500 http://ca.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

ProblemType: Crash
Architecture: i386
CheckboxSubmission: 222dae1e3f7f9fb033fafa900cd74e97
CheckboxSystem: 78db936e3abcbc195af890c2658b7bc7
Date: Tue Oct 13 22:46:30 2009
Disassembly: 0x736f5020: Cannot access memory at address 0x736f5020
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/dolphin
Package: dolphin 4:4.3.2-0ubuntu1
ProcCmdline: /usr/bin/dolphin -icon system-file-manager -caption Dolphin /home/username
ProcEnviron:
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-13.44-generic
SegvAnalysis:
 Segfault happened at: 0x736f5020: Cannot access memory at address 0x736f5020
 PC (0x736f5020) not located in a known VMA region (needed executable region)!
SegvReason: executing unknown VMA
Signal: 11
SourcePackage: kdebase
StacktraceTop:
 ?? ()
 KUiServerJobTracker::Private::_k_killJob() ()
 KUiServerJobTracker::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
 QMetaObject::activate(QObject*, int, int, void**) ()
 QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
Title: dolphin crashed with SIGSEGV in KUiServerJobTracker::Private::_k_killJob()
Uname: Linux 2.6.31-13-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
In , Nelson-3 (nelson-3) wrote :
Download full text (3.5 KiB)

Version: (using KDE 4.2.2)
Installed from: Fedora RPMs

No plugins loaded.

kdebase version: kdebase-4.2.2-2.fc11.x86_64

Step to Reproduce:
#1. navigate to any folder, move a file to trash by hitting [del]
#2. use another application other than dolphin itself to create a file of the same name & path of the one remove in #1
------
E.g.
i move a file called "abc" in ~/test/ for #1
i open a terminal, echo "" > ~/test/abc
to make another "abc" file
------
#3. now switch back to dolphin and press ctrl-z to undo change, dolphin claims that file already exists and a information notification pop up (knotify4?) an message of "Moving file.."
#4. click on the stop button (black square next to the pause button)
#5. dolphin crashes
#6. Notification stays there forever

Expected:
dolphin prompt for overwrite Y/N ?
Notification should disappear

Backtrace:
-----------------------
Application: Dolphin (dolphin), signal SIGSEGV
0x0000003b772a5151 in nanosleep () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f3cb84d2820 (LWP 2196))]

Thread 2 (Thread 0x7f3cb1505910 (LWP 3481)):
#0 0x0000003b772d9092 in select () from /lib64/libc.so.6
#1 0x0000003c66f21691 in ?? () from /usr/lib64/libQtCore.so.4
#2 0x0000003c66e5a221 in ?? () from /usr/lib64/libQtCore.so.4
#3 0x0000003b77e0687a in start_thread () from /lib64/libpthread.so.0
#4 0x0000003b772e04cd in clone () from /lib64/libc.so.6
#5 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3cb84d2820 (LWP 2196)):
[KCrash Handler]
#5 0x0000000100000007 in ?? ()
#6 0x0000003c690e98e9 in KJob::kill(KJob::KillVerbosity) () from /usr/lib64/libkdecore.so.5
#7 0x0000003c69c01065 in KUiServerJobTracker::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkdeui.so.5
#8 0x0000003c66f58612 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#9 0x0000003c69d42a88 in ?? () from /usr/lib64/libkdeui.so.5
#10 0x0000003c67c23314 in ?? () from /usr/lib64/libQtDBus.so.4
#11 0x0000003c67c2b02f in ?? () from /usr/lib64/libQtDBus.so.4
#12 0x0000003c66f526c9 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#13 0x0000003c6858deac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#14 0x0000003c685954de in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#15 0x0000003c69c05c66 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#16 0x0000003c66f42b7c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#17 0x0000003c66f4366a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#18 0x0000003c66f6c333 in ?? () from /usr/lib64/libQtCore.so.4
#19 0x0000003b7963818e in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#20 0x0000003b7963b8e8 in ?? () from /lib64/libglib-2.0.so.0
#21 0x0000003b7963ba5c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#22 0x0000003c66f6bfa6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#23 0x0000003c686220de in ?? () from /usr/lib64/libQtGui.so.4
#24 0x0000003c66f41...

Read more...

Revision history for this message
In , Nelson-3 (nelson-3) wrote :

Qt version :
qt-4.5.0-14.fc11.x86_64
qt-4.5.0-14.fc11.i586

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :
Download full text (4.2 KiB)

Here using:

Qt: 4.5.1 (qt-copy 958974)
KDE: 4.2.85 (KDE 4.2.85 (KDE 4.3 Beta1))
kdelibs svn rev. 967040 / kdebase svn rev. 967041
on ArchLinux i686 - Kernel 2.6.29.2

I can reproduce the crash with the provided steps.
However, the "Overwrite" file dialog didn't appear.
It only appeared a message in the Dolphin statusbar saying "The file X already exists"

And the notification can be cancelled and removed (this was fixed from the Plasma side)

I guess it is trying to kill a job which doesn't exist. I wonder if this is a kdelibs bug.

Backtrace:
---

Application: Dolphin (dolphin), signal: Segmentation fault
[KCrash Handler]
#6 0x0070004f in ?? ()
#7 0xb7317d32 in KJob::kill (this=0x874d598, verbosity=KJob::EmitResult) at /home/kde-devel/kde/src/KDE/kdelibs/kdecore/jobs/kjob.cpp:106
#8 0xb76c9a7f in KUiServerJobTracker::Private::_k_killJob (this=0x8795438) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/jobs/kuiserverjobtracker.cpp:58
#9 0xb76c9af9 in KUiServerJobTracker::qt_metacall (this=0x87452e0, _c=QMetaObject::InvokeMetaMethod, _id=25, _a=0xbfba6a98) at /home/kde-devel/kde/build/KDE/kdelibs/kdeui/kuiserverjobtracker.moc:94
#10 0xb67e3b3b in QMetaObject::activate (sender=0x87393c8, from_signal_index=5, to_signal_index=5, argv=0x0) at kernel/qobject.cpp:3117
#11 0xb67e4f07 in QMetaObject::activate (sender=0x87393c8, m=0xb78d3a64, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3194
#12 0xb783e127 in OrgKdeJobViewInterface::cancelRequested (this=0x87393c8) at /home/kde-devel/kde/build/KDE/kdelibs/kdeui/jobviewiface.moc:113
#13 0xb783e52b in OrgKdeJobViewInterface::qt_metacall (this=0x87393c8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfba6cc0) at /home/kde-devel/kde/build/KDE/kdelibs/kdeui/jobviewiface.moc:90
#14 0xb72020be in QDBusConnectionPrivate::deliverCall (this=0x82f9810, object=0x87393c8, msg=@0x87398ac, metaTypes=@0x87398b0, slotIdx=5) at qdbusintegrator.cpp:891
#15 0xb720d4d8 in QDBusCallDeliveryEvent::placeMetaCall (this=0x8739880, object=0x87393c8) at qdbusintegrator_p.h:101
#16 0xb67e19ef in QObject::event (this=0x87393c8, e=0x8739880) at kernel/qobject.cpp:1115
#17 0xb69f51d5 in QApplicationPrivate::notify_helper (this=0x83011c8, receiver=0x87393c8, e=0x8739880) at kernel/qapplication.cpp:4057
#18 0xb69f5589 in QApplication::notify (this=0xbfba764c, receiver=0x87393c8, e=0x8739880) at kernel/qapplication.cpp:3604
#19 0xb76cf24a in KApplication::notify (this=0xbfba764c, receiver=0x87393c8, event=0x8739880) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#20 0xb67cd6cb in QCoreApplication::notifyInternal (this=0xbfba764c, receiver=0x87393c8, event=0x8739880) at kernel/qcoreapplication.cpp:606
#21 0xb69f1bbd in QCoreApplication::sendEvent (receiver=0x87393c8, event=0x8739880) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#22 0xb67cdbb3 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x82c9998) at kernel/qcoreapplication.cpp:1244
#23 0xb67cdd6f in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#24 0xb6aa45ec in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/cor...

Read more...

Revision history for this message
In , Nelson-3 (nelson-3) wrote :

sorry for being a bit misleading, the statement "dolphin claims
that file already exists" i was actually referring to the status bar of dolphin.

Revision history for this message
In , Nelson-3 (nelson-3) wrote :

i've found a way to make the pop up disappear, which is to drag them away and make them become a "widget" and then close it there.

Revision history for this message
Alan Fischer e Silva (alanfischer85) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt (retraced)

StacktraceTop:?? ()
KUiServerJobTracker::Private::_k_killJob (this=0xa849470)
KUiServerJobTracker::qt_metacall (this=0xa5d16e8,
QMetaObject::activate (sender=0xa852db0,
QMetaObject::activate (sender=0xa852db0, m=0xf7a604,

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt (retraced)
Changed in kdebase (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
affects: kdebase (Ubuntu) → kde4libs (Ubuntu)
Changed in kde4libs (Ubuntu):
importance: Medium → Low
status: New → Triaged
visibility: private → public
Revision history for this message
In , Jonathan Thomas (echidnaman-f) wrote :
Download full text (10.2 KiB)

Here's a better backtrace from KDE 4.3.2:
(https://launchpad.net/bugs/453651)

.
Thread 3 (process 4573):
#0 0x007d5422 in __kernel_vsyscall ()
No symbol table info available.
#1 0x06fbd142 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2 0x083bf7e4 in __pthread_cond_timedwait (cond=0xa104b70, mutex=0xa104b58,
    abstime=0xb5ec2330) at forward.c:152
 __p = (int (*)(pthread_cond_t *, pthread_mutex_t *,
    const struct timespec *)) 0xfffffdfc
#3 0x081089ff in metronom_sync_loop (this=0xa104b10) at metronom.c:870
 tv = {tv_sec = 1255743222, tv_usec = 910107}
 ts = {tv_sec = 1255743227, tv_nsec = 910107000}
 scr = <value optimized out>
 pts = 581115262953857840
#4 0x06fb880e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#5 0x083b27ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.
.
Thread 2 (process 4679):
#0 0x007d5422 in __kernel_vsyscall ()
No symbol table info available.
#1 0x083ab981 in select () from /lib/tls/i686/cmov/libc.so.6
No locals.
#2 0x0351baf5 in QProcessManager::run (this=0x9bd0d38)
    at io/qprocess_unix.cpp:296
 readset = {fds_bits = {64, 0 <repeats 31 times>}}
 nselect = <value optimized out>
 c = 0 '\0'
#3 0x0344ce32 in QThreadPrivate::start (arg=0x9bd0d38)
    at thread/qthread_unix.cpp:188
 data = (QThreadData *) 0x9bd68f8
#4 0x06fb880e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#5 0x083b27ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.
.
Thread 1 (process 4472):
#0 0x01053078 in typeinfo name for KTimeZoneSource ()
   from /usr/lib/libkdecore.so.5
No symbol table info available.
#1 0x00f174b2 in KJob::kill (this=0xa39ee50, verbosity=KJob::EmitResult)
    at ../../kdecore/jobs/kjob.cpp:106
No locals.
#2 0x00aca497 in KUiServerJobTracker::Private::_k_killJob (this=0xa09c348)
    at ../../kdeui/jobs/kuiserverjobtracker.cpp:58
 job = (class KJob *) 0x107c428
#3 0x00aca509 in KUiServerJobTracker::qt_metacall (this=0x9eb5748,
    _c=QMetaObject::InvokeMetaMethod, _id=25, _a=0xbf82164c)
    at ./kuiserverjobtracker.moc:94
No locals.
#4 0x03553263 in QMetaObject::activate (sender=0x9fca058,
    from_signal_index=5, to_signal_index=5, argv=0x0)
    at kernel/qobject.cpp:3113
 c = <value optimized out>
 method = 25
 currentSender = {sender = 0x9fca058, signal = 5, ref = 1}
 previousSender = (QObjectPrivate::Sender *) 0x0
 i = 0
 count = 1
 signal = 5
 empty_argv = {0x0}
 locker = {{mtx = 0x9bade7c, val = 163241596}}
 currentThreadData = <value optimized out>
 connectionLists = (QObjectConnectionListVector *) 0x9c3cff8
#5 0x03553ec2 in QMetaObject::activate (sender=0x9fca058, m=0xc87604,
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
 signal_index = 5
#6 0x00c3c5a7 in OrgKdeJobViewInterface::cancelRequested (this=0x9fca058)
    at jobviewiface.moc:113
No locals.
#7 0x00c3c9a3 in OrgKdeJobViewInterface::qt_metacall (this=0x9fca058,
    _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf82194c)
    at jobviewiface.moc:90
No locals.
#8 0x0062d7b4 in QDBusConnectionPrivate::deliverCall (...

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Hi there!

Thanks for reporting this bug! Your bug seems to be a problem with the KDE program itself, and not with our KDE packages. But don't worry! This issue is being tracked by the KDE developers at: http://bugs.kde.org/show_bug.cgi?id=192547
Once fixed in KDE, it will be included in Kubuntu once the KDE version the fix is in in reaches Kubuntu.

Thanks!

Changed in kde4libs (Ubuntu):
status: Triaged → Invalid
Changed in kdelibs:
status: Unknown → Confirmed
Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

[Comment from a bug triager]
I just checked this bug myself again (using KDE SC 4.5.3), with the steps on comment 0; and I could still reproduce the crash with the following backtrace:

#8 0xb71c3181 in KJob::kill (this=0x8a784c8, verbosity=KJob::EmitResult)
    at /home/dario/ArchPKG/abs/kdelibs/src/kdelibs-4.5.3/kdecore/jobs/kjob.cpp:106
No locals.
#9 0xb75f2095 in KUiServerJobTracker::Private::_k_killJob (this=0x8ba4460)
    at /home/dario/ArchPKG/abs/kdelibs/src/kdelibs-4.5.3/kdeui/jobs/kuiserverjobtracker.cpp:59
        job = <value optimized out>
        jobView = 0x8a949a0
#10 0xb75f2101 in KUiServerJobTracker::qt_metacall (this=0x8b07cc0,
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfcc091c)
    at /home/dario/ArchPKG/abs/kdelibs/src/build/kdeui/kuiserverjobtracker.moc:100
No locals.
#11 0xb6f7fc4a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
No symbol table info available.
#12 0xb6f8fa9f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
No symbol table info available.
#13 0xb77602b7 in OrgKdeJobViewV2Interface::cancelRequested (this=0x8a949a0)
    at /home/dario/ArchPKG/abs/kdelibs/src/build/kdeui/jobviewifacev2.moc:122
No locals.
#14 0xb77604bb in OrgKdeJobViewV2Interface::qt_metacall (this=0x8a949a0,
    _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfcc0a24)
    at /home/dario/ArchPKG/abs/kdelibs/src/build/kdeui/jobviewifacev2.moc:98
No locals.

Revision history for this message
In , Nelson-3 (nelson-3) wrote :

I have quited KDE for quite a while and now i'm back.
Now i'm using KDE SC 4.6.0 on Arch Linux
i tried to repeat the steps in the report
and the bug seems to have been fixed, now it shows the file is already exists in dolphin status when i do the "undo" step.
So i think this bug can be closed. can someone else verify?

Changed in kdelibs:
importance: Unknown → High
Revision history for this message
In , Postix (postix) wrote :

Seems to be fixed.

Operating System: Manjaro Linux
KDE Plasma Version: 5.17.4
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.0

Changed in kdelibs:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.