Bug 383702

Summary: Gwenview crashed when drive got unmounted
Product: [Applications] gwenview Reporter: Mark Szentes-Wanner <mark>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mark Szentes-Wanner 2017-08-19 14:50:51 UTC
Application: gwenview (4.14.0 pre)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.16.0-4-amd64 x86_64
Distribution: Debian GNU/Linux 8.9 (jessie)

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

I unmounted a drive and noticed that Gwenview crashed. I guess it displayed a folder from that drive.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f565da27840 (LWP 7194))]

Thread 2 (Thread 0x7f56448c5700 (LWP 7195)):
#0  0x00007f565a3daaed in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f56560eaee4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f56560eaffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f565c823d37 in QEventDispatcherGlib::processEvents (this=0x7f56400008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f565c7f3271 in QEventLoop::processEvents (this=this@entry=0x7f56448c4d40, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f565c7f35d5 in QEventLoop::exec (this=this@entry=0x7f56448c4d40, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f565c6e7e99 in QThread::exec (this=this@entry=0xc3bb00) at thread/qthread.cpp:538
#7  0x00007f565c7d3ac3 in QInotifyFileSystemWatcherEngine::run (this=0xc3bb00) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f565c6ea70f in QThreadPrivate::start (arg=0xc3bb00) at thread/qthread_unix.cpp:349
#9  0x00007f56565bc064 in start_thread (arg=0x7f56448c5700) at pthread_create.c:309
#10 0x00007f565a3e362d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f565da27840 (LWP 7194)):
[KCrash Handler]
#6  KDirListerCache::forgetDirs (this=this@entry=0x9585b0, lister=lister@entry=0x95efb0, _url=..., notify=notify@entry=false) at ../../kio/kio/kdirlister.cpp:596
#7  0x00007f565cebd224 in KDirListerCache::forgetDirs (this=this@entry=0x9585b0, lister=0x95efb0) at ../../kio/kio/kdirlister.cpp:526
#8  0x00007f565cebd4de in KDirListerCache::listDir (this=0x9585b0, lister=0x95efb0, _u=..., _keep=<optimized out>, _reload=<optimized out>) at ../../kio/kio/kdirlister.cpp:139
#9  0x00007f565d2eac1d in Gwenview::ContextManager::setCurrentDirUrl(KUrl const&) () from /usr/lib/libgwenviewlib.so.4
#10 0x00007f565c80971c in QMetaObject::activate (sender=0x95efb0, m=m@entry=0x7f565d25f6e0 <KDirLister::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7ffda6983840) at kernel/qobject.cpp:3567
#11 0x00007f565ceb6ac5 in KDirLister::redirection (this=<optimized out>, _t1=...) at ./kdirlister.moc:253
#12 0x00007f565cec49af in KDirLister::Private::redirect (this=0x91c390, oldUrl=..., newUrl=..., keepItems=keepItems@entry=true) at ../../kio/kio/kdirlister.cpp:2750
#13 0x00007f565cec5f2f in KDirListerCache::emitRedirections (this=this@entry=0x9585b0, oldUrl=..., newUrl=...) at ../../kio/kio/kdirlister.cpp:1662
#14 0x00007f565cec6799 in KDirListerCache::renameDir (this=this@entry=0x9585b0, oldUrl=..., newUrl=...) at ../../kio/kio/kdirlister.cpp:1594
#15 0x00007f565cec6fc3 in KDirListerCache::slotFileRenamed (this=0x9585b0, _src=..., _dst=...) at ../../kio/kio/kdirlister.cpp:1002
#16 0x00007f565c80971c in QMetaObject::activate (sender=0x9546a0, m=m@entry=0x7f565d25f980 <OrgKdeKDirNotifyInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffda6983e40) at kernel/qobject.cpp:3567
#17 0x00007f565ced3b67 in OrgKdeKDirNotifyInterface::FileRenamed (this=<optimized out>, _t1=..., _t2=...) at ./kdirnotify.moc:116
#18 0x00007f565ced3dd0 in OrgKdeKDirNotifyInterface::qt_static_metacall (_o=_o@entry=0x9546a0, _id=_id@entry=0, _a=_a@entry=0x7ffda6984010, _c=QMetaObject::InvokeMetaMethod) at ./kdirnotify.moc:61
#19 0x00007f565ced43f3 in qt_static_metacall (_a=0x7ffda6984010, _id=0, _c=QMetaObject::InvokeMetaMethod, _o=0x9546a0) at ./kdirnotify.moc:105
#20 OrgKdeKDirNotifyInterface::qt_metacall (this=0x9546a0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffda6984010) at ./kdirnotify.moc:106
#21 0x00007f5656c6b6c6 in QDBusConnectionPrivate::deliverCall (this=0x876b00, object=0x9546a0, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:951
#22 0x00007f565c80de11 in QObject::event (this=0x9546a0, e=<optimized out>) at kernel/qobject.cpp:1222
#23 0x00007f565b06848c in QApplicationPrivate::notify_helper (this=this@entry=0x81ca00, receiver=receiver@entry=0x9546a0, e=e@entry=0xa06880) at kernel/qapplication.cpp:4570
#24 0x00007f565b06efa8 in QApplication::notify (this=this@entry=0x7ffda69846e0, receiver=receiver@entry=0x9546a0, e=e@entry=0xa06880) at kernel/qapplication.cpp:4356
#25 0x00007f565bde01aa in KApplication::notify (this=0x7ffda69846e0, receiver=0x9546a0, event=0xa06880) at ../../kdeui/kernel/kapplication.cpp:311
#26 0x00007f565c7f471d in QCoreApplication::notifyInternal (this=0x7ffda69846e0, receiver=receiver@entry=0x9546a0, event=event@entry=0xa06880) at kernel/qcoreapplication.cpp:955
#27 0x00007f565c7f7fc1 in sendEvent (event=0xa06880, receiver=0x9546a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x7dd220) at kernel/qcoreapplication.cpp:1579
#29 0x00007f565c7f8453 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1472
#30 0x00007f565c823bd3 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#31 postEventSourceDispatch (s=0x82a950) at kernel/qeventdispatcher_glib.cpp:280
#32 0x00007f56560eac5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f56560eaf48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f56560eaffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f565c823d1d in QEventDispatcherGlib::processEvents (this=0x7deb20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#36 0x00007f565b10cf96 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007f565c7f3271 in QEventLoop::processEvents (this=this@entry=0x7ffda6984670, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007f565c7f35d5 in QEventLoop::exec (this=this@entry=0x7ffda6984670, flags=...) at kernel/qeventloop.cpp:204
#39 0x00007f565c7f9059 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#40 0x00000000004275fd in ?? ()
#41 0x00007f565a31cb45 in __libc_start_main (main=0x4272f0, argc=6, argv=0x7ffda6984828, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffda6984818) at libc-start.c:287
#42 0x00000000004278e6 in _start ()

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

Possible duplicates by query: bug 334308.

Reported using DrKonqi