Bug 325757

Summary: Dolphin crash when moving file to trash
Product: [Applications] dolphin Reporter: mathieu.beliveau.1
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: marcorossi2k
Priority: NOR Keywords: drkonqi
Version: 4.11.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description mathieu.beliveau.1 2013-10-08 03:16:31 UTC
Application: dolphin (4.11.2)
KDE Platform Version: 4.11.2
Qt Version: 4.8.4
Operating System: Linux 3.11.0-11-generic x86_64
Distribution: Ubuntu Saucy Salamander (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
On kde 4.11.2 (kubuntu)
Trash was empty.
In the /home/my_user/Downloads/ folder, tried to move to trash a .tgz file (44mb).
Result: Dolphin crashed and caused kwin to crash as well.
Kwin restarted, the file was in the trash can. So far, I cannot consistently reproduce this bug but it appears once in a while with no apparent reason.

If I recall correctly, I've been having this problem since KDE 4.10.
Feel free to contact me for further details.

Thanks!

The crash can be reproduced sometimes.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5abdcc47c0 (LWP 26547))]

Thread 3 (Thread 0x7f5aa1fe6700 (LWP 26548)):
#0  0x00007f5ab4fc8d0a in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f5ab4fc95b3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5ab4fc979c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5ab9445a76 in QEventDispatcherGlib::processEvents (this=0x7f5a9c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f5ab94175ef in QEventLoop::processEvents (this=this@entry=0x7f5aa1fe5d70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f5ab94178e5 in QEventLoop::exec (this=this@entry=0x7f5aa1fe5d70, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f5ab931688f in QThread::exec (this=this@entry=0x2344ab0) at thread/qthread.cpp:542
#7  0x00007f5ab93f8d13 in QInotifyFileSystemWatcherEngine::run (this=0x2344ab0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f5ab9318f2f in QThreadPrivate::start (arg=0x2344ab0) at thread/qthread_unix.cpp:338
#9  0x00007f5ab54a1f6e in start_thread (arg=0x7f5aa1fe6700) at pthread_create.c:311
#10 0x00007f5abd58eecd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f5aa10a3700 (LWP 26549)):
#0  0x00007f5abd58247d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f5ab4fc9694 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5ab4fc979c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5ab9445a76 in QEventDispatcherGlib::processEvents (this=0x7f5a940008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f5ab94175ef in QEventLoop::processEvents (this=this@entry=0x7f5aa10a2d70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f5ab94178e5 in QEventLoop::exec (this=this@entry=0x7f5aa10a2d70, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f5ab931688f in QThread::exec (this=this@entry=0x2378210) at thread/qthread.cpp:542
#7  0x00007f5ab93f8d13 in QInotifyFileSystemWatcherEngine::run (this=0x2378210) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f5ab9318f2f in QThreadPrivate::start (arg=0x2378210) at thread/qthread_unix.cpp:338
#9  0x00007f5ab54a1f6e in start_thread (arg=0x7f5aa10a3700) at pthread_create.c:311
#10 0x00007f5abd58eecd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f5abdcc47c0 (LWP 26547)):
[KCrash Handler]
#6  QList (l=..., this=0x7fffd104c6e0) at /usr/include/qt4/QtCore/qlist.h:122
#7  QForeachContainer (t=..., this=0x7fffd104c6e0) at /usr/include/qt4/QtCore/qglobal.h:2367
#8  KDirLister::Private::cachedItemsJobForUrl (this=0x0, url=...) at ../../kio/kio/kdirlister.cpp:281
#9  0x00007f5abb28ebd9 in KDirListerCache::updateDirectory (this=this@entry=0x2352400, _dir=...) at ../../kio/kio/kdirlister.cpp:694
#10 0x00007f5abb28fbeb in KDirListerCache::slotFilesAdded (this=0x2352400, dir=...) at ../../kio/kio/kdirlister.cpp:866
#11 0x00007f5ab942ca58 in QMetaObject::activate (sender=0x234a8f0, m=m@entry=0x7f5abb612000 <OrgKdeKDirNotifyInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fffd104ca10) at kernel/qobject.cpp:3539
#12 0x00007f5abb29db65 in OrgKdeKDirNotifyInterface::FilesAdded (this=<optimized out>, _t1=...) at ./kdirnotify.moc:131
#13 0x00007f5abb29dc99 in OrgKdeKDirNotifyInterface::qt_static_metacall (_o=_o@entry=0x234a8f0, _id=_id@entry=2, _a=_a@entry=0x7fffd104cbd0, _c=QMetaObject::InvokeMetaMethod) at ./kdirnotify.moc:64
#14 0x00007f5abb29e1c3 in qt_static_metacall (_a=0x7fffd104cbd0, _id=2, _c=QMetaObject::InvokeMetaMethod, _o=0x234a8f0) at ./kdirnotify.moc:106
#15 OrgKdeKDirNotifyInterface::qt_metacall (this=0x234a8f0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffd104cbd0) at ./kdirnotify.moc:107
#16 0x00007f5ab9046e36 in QDBusConnectionPrivate::deliverCall (this=0x20ab9b0, object=0x234a8f0, msg=..., metaTypes=..., slotIdx=7) at qdbusintegrator.cpp:951
#17 0x00007f5ab9430dce in QObject::event (this=0x234a8f0, e=<optimized out>) at kernel/qobject.cpp:1194
#18 0x00007f5ab9e09dfc in QApplicationPrivate::notify_helper (this=this@entry=0x2024e10, receiver=receiver@entry=0x234a8f0, e=e@entry=0x27e72d0) at kernel/qapplication.cpp:4567
#19 0x00007f5ab9e10470 in QApplication::notify (this=this@entry=0x7fffd104d3b0, receiver=receiver@entry=0x234a8f0, e=e@entry=0x27e72d0) at kernel/qapplication.cpp:4353
#20 0x00007f5abab13a6a in KApplication::notify (this=0x7fffd104d3b0, receiver=0x234a8f0, event=0x27e72d0) at ../../kdeui/kernel/kapplication.cpp:311
#21 0x00007f5ab94188bd in QCoreApplication::notifyInternal (this=0x7fffd104d3b0, receiver=receiver@entry=0x234a8f0, event=event@entry=0x27e72d0) at kernel/qcoreapplication.cpp:946
#22 0x00007f5ab941be1f in sendEvent (event=0x27e72d0, receiver=0x234a8f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1ff5180) at kernel/qcoreapplication.cpp:1570
#24 0x00007f5ab941c2c3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#25 0x00007f5ab9446073 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#26 postEventSourceDispatch (s=0x2019a80) at kernel/qeventdispatcher_glib.cpp:279
#27 0x00007f5ab4fc93a6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f5ab4fc96f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f5ab4fc979c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f5ab9445a55 in QEventDispatcherGlib::processEvents (this=0x1ff6a40, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#31 0x00007f5ab9eab9d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f5ab94175ef in QEventLoop::processEvents (this=this@entry=0x7fffd104d280, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007f5ab94178e5 in QEventLoop::exec (this=this@entry=0x7fffd104d280, flags=...) at kernel/qeventloop.cpp:204
#34 0x00007f5ab941ce5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#35 0x00007f5ab9e0834c in QApplication::exec () at kernel/qapplication.cpp:3828
#36 0x00007f5abd8ad417 in kdemain (argc=5, argv=0x7fffd104d4e8) at ../../../dolphin/src/main.cpp:93
#37 0x00007f5abd4b6de5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=5, ubp_av=0x7fffd104d4e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffd104d4d8) at libc-start.c:260
#38 0x00000000004006fe in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 278431.

Possible duplicates by query: bug 322130, bug 320734, bug 320664, bug 316953, bug 311237.

Reported using DrKonqi
Comment 1 mathieu.beliveau.1 2013-10-08 06:51:55 UTC
update: Emptying the trash and removing the same file again, I can consistently reproduce this bug (which does not occurs if the trash is not empty).
Comment 2 Frank Reininghaus 2013-10-08 07:41:16 UTC
Thanks for the bug report! This crash has been reported already.

*** This bug has been marked as a duplicate of bug 278431 ***
Comment 3 Marco Rossi 2013-10-24 08:36:15 UTC
Created attachment 83074 [details]
New crash information added by DrKonqi

dolphin (4.11.2) on KDE Platform 4.11.2 using Qt 4.8.2

Open dolphin , trash any file. Same error for any kernel versions and from 4.10 upgrade.

-- Backtrace (Reduced):
#6  QList (this=0x7fff02ad9390, l=...) at /usr/include/qt4/QtCore/qlist.h:122
#7  QForeachContainer (t=..., this=0x7fff02ad9390) at /usr/include/qt4/QtCore/qglobal.h:2346
#8  KDirLister::Private::cachedItemsJobForUrl (this=0x30, url=...) at ../../kio/kio/kdirlister.cpp:281
#9  0x00007fdad4473fbf in KDirListerCache::updateDirectory (this=0x1b78cf0, _dir=...) at ../../kio/kio/kdirlister.cpp:694
#10 0x00007fdad447638d in KDirListerCache::slotFilesAdded (this=0x1b78cf0, dir=...) at ../../kio/kio/kdirlister.cpp:866