Bug 362841

Summary: Dolphin crashes after repartitining and reformatting (FAT32) external USB driver
Product: [Applications] dolphin Reporter: Thiemo van Engelen <tvanengelen>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: asturm, jodr666
Priority: NOR Keywords: drkonqi
Version: 15.12.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: dolphin-20160726-093839.kcrash.txt

Description Thiemo van Engelen 2016-05-09 08:31:21 UTC
Application: dolphin (15.12.3)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-22-generic x86_64
Distribution: Ubuntu 16.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Using KDE Partition Manager I was repartitioning (removed some ntfs partitions and created a FAT32 one) an external USB drive. The drive was not mounted.

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

Thread 3 (Thread 0x7f638ea92700 (LWP 2565)):
#0  0x00007f63a3fabe8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f6398738c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f639873a8d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f6390de4629 in QXcbEventReader::run (this=0x1d21d00) at qxcbconnection.cpp:1253
#4  0x00007f639eb7d84e in QThreadPrivate::start (arg=0x1d21d00) at thread/qthread_unix.cpp:331
#5  0x00007f639b32c6fa in start_thread (arg=0x7f638ea92700) at pthread_create.c:333
#6  0x00007f63a3fb7b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f6384b09700 (LWP 2566)):
#0  0x00007f63a3fabe8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f639a7a131c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f639a7a142c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f639edb4a9b in QEventDispatcherGlib::processEvents (this=0x7f63800008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f639ed5bdea in QEventLoop::exec (this=this@entry=0x7f6384b08d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f639eb788a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f639eb7d84e in QThreadPrivate::start (arg=0x21ca860) at thread/qthread_unix.cpp:331
#7  0x00007f639b32c6fa in start_thread (arg=0x7f6384b09700) at pthread_create.c:333
#8  0x00007f63a3fb7b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f63911948c0 (LWP 2564)):
[KCrash Handler]
#6  0x00007f63a3ee6418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007f63a3ee801a in __GI_abort () at abort.c:89
#8  0x00007f639eb6aff1 in qt_message_fatal (context=..., message=<synthetic pointer>) at global/qlogging.cpp:1578
#9  QMessageLogger::fatal (this=this@entry=0x7fff72eea080, msg=msg@entry=0x7f63a46edd28 "Cannot construct placeholder type QDBusRawType") at global/qlogging.cpp:781
#10 0x00007f63a46ca552 in QDBusRawTypeHandler::construct () at qdbusmetaobject.cpp:133
#11 0x00007f639ed9e9c0 in QMetaType::construct (copy=0x0, where=0x7fff72eea1a0, this=0x7fff72eea0e0) at ../../include/QtCore/../../src/corelib/kernel/qmetatype.h:2141
#12 (anonymous namespace)::customConstruct (d=0x7fff72eea1a0, copy=0x0) at kernel/qvariant.cpp:1019
#13 0x00007f639ed9f8bf in QVariant::QVariant (this=0x7fff72eea1a0, typeId=<optimized out>, copy=<optimized out>) at kernel/qvariant.cpp:1660
#14 0x00007f639ed6bcf2 in QMetaProperty::read (this=this@entry=0x7fff72eea240, object=object@entry=0x286efc0) at kernel/qmetaobject.cpp:3010
#15 0x00007f639ed8bb0f in QObject::property (this=0x286efc0, name=0x2b29678 "MountPoints") at kernel/qobject.cpp:3893
#16 0x00007f63a1b92664 in Solid::Backends::UDisks2::DeviceBackend::checkCache (this=0x2667260, key=...) at ../../../src/solid/devices/backends/udisks2/udisksdevicebackend.cpp:185
#17 0x00007f63a1b92883 in Solid::Backends::UDisks2::DeviceBackend::propertyExists (this=0x2667260, key=...) at ../../../src/solid/devices/backends/udisks2/udisksdevicebackend.cpp:132
#18 0x00007f63a1b8a5be in Solid::Backends::UDisks2::Device::propertyExists (this=this@entry=0x2b296b0, key=...) at ../../../src/solid/devices/backends/udisks2/udisksdevice.cpp:126
#19 0x00007f63a1b8c37f in Solid::Backends::UDisks2::Device::isMounted (this=0x2b296b0) at ../../../src/solid/devices/backends/udisks2/udisksdevice.cpp:818
#20 0x00007f63a1ba5711 in Solid::Backends::UDisks2::StorageAccess::isAccessible (this=0x2c768e0) at ../../../src/solid/devices/backends/udisks2/udisksstorageaccess.cpp:75
#21 0x00007f63a1ba5944 in Solid::Backends::UDisks2::StorageAccess::updateCache (this=0x2c768e0) at ../../../src/solid/devices/backends/udisks2/udisksstorageaccess.cpp:138
#22 Solid::Backends::UDisks2::StorageAccess::StorageAccess (this=0x2c768e0, device=0x2b296b0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../src/solid/devices/backends/udisks2/udisksstorageaccess.cpp:36
#23 0x00007f63a1b8a780 in Solid::Backends::UDisks2::Device::createDeviceInterface (this=0x2b296b0, type=<optimized out>) at ../../../src/solid/devices/backends/udisks2/udisksdevice.cpp:174
#24 0x00007f63a1b5468f in Solid::Device::asDeviceInterface (this=this@entry=0x7fff72eea5b0, type=@0x7fff72eea540: Solid::DeviceInterface::StorageAccess) at ../../../src/solid/devices/frontend/device.cpp:154
#25 0x00007f63a1e06ff6 in Solid::Device::as<Solid::StorageAccess> (this=0x7fff72eea5b0) at /usr/include/KF5/Solid/solid/device.h:247
#26 Baloo::StorageDevices::createCacheEntry (this=this@entry=0x2234e00, dev=...) at ../../../src/file/storagedevices.cpp:79
#27 0x00007f63a1e07288 in Baloo::StorageDevices::slotSolidDeviceAdded (this=0x2234e00, udi=...) at ../../../src/file/storagedevices.cpp:96
#28 0x00007f639ed8ce4f in QtPrivate::QSlotObjectBase::call (a=0x7fff72eea710, r=0x2234e00, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#29 QMetaObject::activate (sender=0x1decb50, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff72eea710) at kernel/qobject.cpp:3698
#30 0x00007f639ed8d7d7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f63a1de1e60 <Solid::DeviceNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff72eea710) at kernel/qobject.cpp:3578
#31 0x00007f63a1b54bb2 in Solid::DeviceNotifier::deviceAdded (this=<optimized out>, _t1=...) at ./moc_devicenotifier.cpp:136
#32 0x00007f639ed8cfca in QMetaObject::activate (sender=sender@entry=0x1df21e0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff72eea840) at kernel/qobject.cpp:3713
#33 0x00007f639ed8d7d7 in QMetaObject::activate (sender=sender@entry=0x1df21e0, m=m@entry=0x7f63a1dea540 <Solid::Ifaces::DeviceManager::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff72eea840) at kernel/qobject.cpp:3578
#34 0x00007f63a1bb0262 in Solid::Ifaces::DeviceManager::deviceAdded (this=this@entry=0x1df21e0, _t1=...) at moc_devicemanager.cpp:136
#35 0x00007f63a1b855e0 in Solid::Backends::UDisks2::Manager::slotInterfacesAdded (this=0x1df21e0, object_path=..., interfaces_and_properties=...) at ../../../src/solid/devices/backends/udisks2/udisksmanager.cpp:197
#36 0x00007f63a1bb4a7d in Solid::Backends::UDisks2::Manager::qt_static_metacall (_o=_o@entry=0x1df21e0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=0, _a=_a@entry=0x7fff72eeab00) at moc_udisksmanager.cpp:87
#37 0x00007f639ed8cfca in QMetaObject::activate (sender=sender@entry=0x1df21f8, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff72eeab00) at kernel/qobject.cpp:3713
#38 0x00007f639ed8d7d7 in QMetaObject::activate (sender=sender@entry=0x1df21f8, m=m@entry=0x7f63a1deaa00 <OrgFreedesktopDBusObjectManagerInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff72eeab00) at kernel/qobject.cpp:3578
#39 0x00007f63a1bb4d4f in OrgFreedesktopDBusObjectManagerInterface::InterfacesAdded (_t2=..., _t1=..., this=0x1df21f8) at moc_manager.cpp:174
#40 OrgFreedesktopDBusObjectManagerInterface::qt_static_metacall (_o=_o@entry=0x1df21f8, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=0, _a=_a@entry=0x7fff72eeaca0) at moc_manager.cpp:90
#41 0x00007f63a1bb8de5 in OrgFreedesktopDBusObjectManagerInterface::qt_metacall (this=0x1df21f8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff72eeaca0) at moc_manager.cpp:160
#42 0x00007f63a46a7913 in QDBusConnectionPrivate::deliverCall (this=0x1e00430, object=0x1df21f8, msg=..., metaTypes=..., slotIdx=6) at qdbusintegrator.cpp:978
#43 0x00007f639ed8dea1 in QObject::event (this=0x1df21f8, e=<optimized out>) at kernel/qobject.cpp:1239
#44 0x00007f639f86105c in QApplicationPrivate::notify_helper (this=this@entry=0x1d093e0, receiver=receiver@entry=0x1df21f8, e=e@entry=0x2b535b0) at kernel/qapplication.cpp:3716
#45 0x00007f639f866516 in QApplication::notify (this=0x7fff72eeb390, receiver=0x1df21f8, e=0x2b535b0) at kernel/qapplication.cpp:3499
#46 0x00007f639ed5e62b in QCoreApplication::notifyInternal (this=0x7fff72eeb390, receiver=0x1df21f8, event=event@entry=0x2b535b0) at kernel/qcoreapplication.cpp:965
#47 0x00007f639ed60a26 in QCoreApplication::sendEvent (event=0x2b535b0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#48 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1d07870) at kernel/qcoreapplication.cpp:1593
#49 0x00007f639ed60f08 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#50 0x00007f639edb4673 in postEventSourceDispatch (s=0x1d40b20) at kernel/qeventdispatcher_glib.cpp:271
#51 0x00007f639a7a1127 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007f639a7a1380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007f639a7a142c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007f639edb4a7f in QEventDispatcherGlib::processEvents (this=0x1d400c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#55 0x00007f639ed5bdea in QEventLoop::exec (this=this@entry=0x7fff72eeb260, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#56 0x00007f639ed63e8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#57 0x00007f639f2a7c3c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1542
#58 0x00007f639f85d495 in QApplication::exec () at kernel/qapplication.cpp:2976
#59 0x00007f63a42d7e2b in kdemain (argc=1, argv=<optimized out>) at /build/dolphin-HvGmRr/dolphin-15.12.3/src/main.cpp:150
#60 0x00007f63a3ed1830 in __libc_start_main (main=0x400710 <main(int, char**)>, argc=1, argv=0x7fff72eeb518, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff72eeb508) at ../csu/libc-start.c:291
#61 0x0000000000400749 in _start ()

Possible duplicates by query: bug 355096, bug 353914, bug 353057, bug 352840, bug 352098.

Reported using DrKonqi
Comment 1 Tony 2016-06-20 21:56:57 UTC
I can confirm this one, it happen to me today using KDE Neon 5.6. Apparently most actions you take with
KDE Partition Manager while having dolphin open will lead to a crash. Also dolphin won't register any changes made until you disconnect and reconnect the drive.

Eg: in my case i deleted all the partitions from a usb connected laptop drive, dolphin crashed. After i re-open it "surprise" all the deleted partitions are shown on the left panel, mounted and accessible as well. 

Something else i noticed is that KDE Partition Manager mounts all unmounted partitions when you open it. I don't get why?
Comment 2 Andreas Sturmlechner 2016-07-26 07:50:40 UTC
Created attachment 100306 [details]
dolphin-20160726-093839.kcrash.txt

Same just happened to me. No partitionmanager involved, simply ejecting a card reader crashed dolphin in the background.
Comment 3 Christoph Feck 2016-11-15 12:58:10 UTC

*** This bug has been marked as a duplicate of bug 345871 ***