Bug 272970

Summary: Dolphin crashes when copying files from trash bin to smb:// share
Product: [Unmaintained] kio Reporter: GGG <ggg_mail>
Component: smbAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: adawit, Ekkehard.Blanz, kde.org, sml
Priority: NOR    
Version: 4.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description GGG 2011-05-10 20:53:09 UTC
Application: dolphin (1.5)
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.7.0
Operating System: Linux 2.6.32-30-generic x86_64
Distribution: Ubuntu 10.04.2 LTS

-- Information about the crash:
- What I was doing when the application crashed:

Attempted to restore trash bin to smb:// share (it was not the original place of file though)

When the process stalled I attempted to cancel it in the notification applet

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f562e8ef760 (LWP 12623))]

Thread 2 (Thread 0x7f56192a6700 (LWP 12626)):
#0  0x00007f562e1d5f93 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f5625d6a4a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f5625d6a8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f562a5c41d6 in QEventDispatcherGlib::processEvents (this=0x11be2b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f562a596dd2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f562a5971bc in QEventLoop::exec (this=0x7f56192a5db0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f562a4a236d in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f562a576b48 in QInotifyFileSystemWatcherEngine::run (this=0x11e4d50) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f562a4a52ee in QThreadPrivate::start (arg=0x11e4d50) at thread/qthread_unix.cpp:266
#9  0x00007f56282f19ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f562e1e270d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f562e8ef760 (LWP 12623)):
[KCrash Handler]
#6  QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::data (this=0x1, child=...) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
#7  qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > > (this=0x1, child=...) at ../../include/QtCore/../../src/corelib/global/qglobal.h:2332
#8  QStandardItemModel::d_func (this=0x1, child=...) at itemviews/qstandarditemmodel.h:425
#9  QStandardItemModel::parent (this=0x1, child=...) at itemviews/qstandarditemmodel.cpp:2771
#10 0x00007f562ac720a9 in KJob::kill (this=0x24748a0, verbosity=KJob::EmitResult) at ../../kdecore/jobs/kjob.cpp:106
#11 0x00007f562bf3c365 in KUiServerJobTracker::qt_metacall (this=0x12af0e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7ec798f0) at ./kuiserverjobtracker.moc:100
#12 0x00007f562a5afda7 in QMetaObject::activate (sender=0x2337620, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xb) at kernel/qobject.cpp:3280
#13 0x00007f562c09d738 in OrgKdeJobViewV2Interface::qt_metacall (this=0x2337620, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7ec79e80) at jobviewifacev2.moc:98
#14 0x00007f562a8ee95e in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:919
#15 0x00007f562a8f982f in QDBusCallDeliveryEvent::placeMetaCall (this=0x246a280, object=0x1) at qdbusintegrator_p.h:103
#16 0x00007f562a5a9e7e in QObject::event (this=0x2337620, e=0x24748a0) at kernel/qobject.cpp:1219
#17 0x00007f562b1e56ec in QApplicationPrivate::notify_helper (this=0xdcf120, receiver=0x2337620, e=0x2473370) at kernel/qapplication.cpp:4396
#18 0x00007f562b1eb1dd in QApplication::notify (this=0x7fff7ec7a980, receiver=0x2337620, e=0x2473370) at kernel/qapplication.cpp:4277
#19 0x00007f562bf41926 in KApplication::notify (this=0x7fff7ec7a980, receiver=0x2337620, event=0x2473370) at ../../kdeui/kernel/kapplication.cpp:310
#20 0x00007f562a5980ac in QCoreApplication::notifyInternal (this=0x7fff7ec7a980, receiver=0x2337620, event=0x2473370) at kernel/qcoreapplication.cpp:732
#21 0x00007f562a59afd2 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0xda9b10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0xda9b10) at kernel/qcoreapplication.cpp:1373
#23 0x00007f562a5c4643 in QCoreApplication::sendPostedEvents (s=0xdd55c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#24 postEventSourceDispatch (s=0xdd55c0) at kernel/qeventdispatcher_glib.cpp:277
#25 0x00007f5625d668c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x00007f5625d6a748 in ?? () from /lib/libglib-2.0.so.0
#27 0x00007f5625d6a8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x00007f562a5c4183 in QEventDispatcherGlib::processEvents (this=0xda9650, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#29 0x00007f562b29797e in QGuiEventDispatcherGlib::processEvents (this=0x24748a0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007f562a596dd2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#31 0x00007f562a5971bc in QEventLoop::exec (this=0x7fff7ec7a8c0, flags=) at kernel/qeventloop.cpp:201
#32 0x00007f562a59b26b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#33 0x00007f562e4cad4f in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../../apps/dolphin/src/main.cpp:98
#34 0x00007f562e11ac4d in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fff7ec7ae98) at libc-start.c:226
#35 0x00000000004006b9 in _start ()

Reported using DrKonqi
Comment 1 Jekyll Wu 2011-11-23 03:48:54 UTC
[From bug 285617]

- What I was doing when the application crashed:

I had just tried to restore a directory from the Trash, and this job was still
running when I emptied the Trash.

The job then appeared to 'hang' (showing no progress) so I clicked the Stop
button in the notification popup and Dolphin crashed.
Comment 2 Jekyll Wu 2011-11-23 03:52:23 UTC
*** Bug 285617 has been marked as a duplicate of this bug. ***
Comment 3 kde.org 2011-12-22 04:50:40 UTC
Created attachment 67005 [details]
New crash information added by DrKonqi

dolphin (1.7) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

- What I was doing when the application crashed:

I was doign exactly what is described in the main report.   Restoring non empty directory from the trash can.  When cancelling the stalled job using the notification from the system tray, dolphin crashed.  Using kubuntu 11.10.

-- Backtrace (Reduced):
#7  0x00007f7b18810631 in KJob::kill (this=0x1d82210, verbosity=KJob::EmitResult) at ../../kdecore/jobs/kjob.cpp:106
#8  0x00007f7b19ab883d in KUiServerJobTracker::qt_metacall (this=0x1e27e30, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffe8cbff40) at ./kuiserverjobtracker.moc:100
[...]
#10 0x00007f7b19c10c08 in OrgKdeJobViewV2Interface::qt_metacall (this=0x17f83e0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffe8cc0420) at jobviewifacev2.moc:98
#11 0x00007f7b17fe80e9 in QDBusConnectionPrivate::deliverCall (this=0x11c3aa0, object=0x17f83e0, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:942
#12 0x00007f7b17ff138f in QDBusCallDeliveryEvent::placeMetaCall (this=<optimized out>, object=<optimized out>) at qdbusintegrator_p.h:103
Comment 4 Peter Penz 2012-01-25 08:03:42 UTC
*** Bug 292358 has been marked as a duplicate of this bug. ***
Comment 5 Dawit Alemayehu 2013-09-02 15:50:44 UTC
I cannot reproduce this crash in KDE 4.11. Moreover, the action that caused the crash in the first place, the ability to trash remote files, is no longer allowed in the current stable version of KDE.