https://bugs.kde.org/show_bug.cgi?id=345871

--- Comment #11 from Joshua Clayton <stillcompil...@gmail.com> ---
Situation:
partitioning an SD card from a script using parted.
Interestingly the new partition layout is usually the same as the old partition
layout
I can crash plasma repeatedly with this trick. (thankfully plasma restarts)

Looks like soid tries to create a QVariant for something whose name is still
valid, but
whose file handle has been destroyed.

Application: kded5 (kded5), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f73807f68c0 (LWP 15223))]

Thread 1 (Thread 0x7f73807f68c0 (LWP 15223)):
[KCrash Handler]
#6  0x00007f73801ab418 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007f73801ad01a in __GI_abort () at abort.c:89
#8  0x00007f737e5c8ff1 in qt_message_fatal (context=..., message=<synthetic
pointer>) at global/qlogging.cpp:1578
#9  QMessageLogger::fatal (this=this@entry=0x7ffcd4427940,
msg=msg@entry=0x7f738093cd28 "Cannot construct placeholder type QDBusRawType")
at global/qlogging.cpp:781
#10 0x00007f7380919552 in QDBusRawTypeHandler::construct () at
qdbusmetaobject.cpp:133
#11 0x00007f737e7fc9c0 in QMetaType::construct (copy=0x0, where=0x7ffcd4427a60,
this=0x7ffcd44279a0) at
../../include/QtCore/../../src/corelib/kernel/qmetatype.h:2141
#12 (anonymous namespace)::customConstruct (d=0x7ffcd4427a60, copy=0x0) at
kernel/qvariant.cpp:1019
#13 0x00007f737e7fd8bf in QVariant::QVariant (this=0x7ffcd4427a60,
typeId=<optimized out>, copy=<optimized out>) at kernel/qvariant.cpp:1660
#14 0x00007f737e7c9cf2 in QMetaProperty::read (this=this@entry=0x7ffcd4427b00,
object=object@entry=0x29a7c00) at kernel/qmetaobject.cpp:3010
#15 0x00007f737e7e9b0f in QObject::property (this=0x29a7c00, name=0x29e2868
"MountPoints") at kernel/qobject.cpp:3893
#16 0x00007f73708d4664 in Solid::Backends::UDisks2::DeviceBackend::checkCache
(this=0x29d0ed0, key=...) at
../../../src/solid/devices/backends/udisks2/udisksdevicebackend.cpp:185
#17 0x00007f73708d4883 in
Solid::Backends::UDisks2::DeviceBackend::propertyExists (this=0x29d0ed0,
key=...) at
../../../src/solid/devices/backends/udisks2/udisksdevicebackend.cpp:132
#18 0x00007f73708cc5be in Solid::Backends::UDisks2::Device::propertyExists
(this=this@entry=0x29cf040, key=...) at
../../../src/solid/devices/backends/udisks2/udisksdevice.cpp:126
#19 0x00007f73708ce37f in Solid::Backends::UDisks2::Device::isMounted
(this=0x29cf040) at
../../../src/solid/devices/backends/udisks2/udisksdevice.cpp:818
#20 0x00007f73708e7711 in Solid::Backends::UDisks2::StorageAccess::isAccessible
(this=0x297e170) at
../../../src/solid/devices/backends/udisks2/udisksstorageaccess.cpp:75
#21 0x00007f73708e7944 in Solid::Backends::UDisks2::StorageAccess::updateCache
(this=0x297e170) at
../../../src/solid/devices/backends/udisks2/udisksstorageaccess.cpp:138
#22 Solid::Backends::UDisks2::StorageAccess::StorageAccess (this=0x297e170,
device=0x29cf040, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
../../../src/solid/devices/backends/udisks2/udisksstorageaccess.cpp:36
#23 0x00007f73708cc780 in
Solid::Backends::UDisks2::Device::createDeviceInterface (this=0x29cf040,
type=<optimized out>) at
../../../src/solid/devices/backends/udisks2/udisksdevice.cpp:174
#24 0x00007f737089668f in Solid::Device::asDeviceInterface (this=0x29db2c0,
type=@0x7ffcd4427e10: Solid::DeviceInterface::StorageAccess) at
../../../src/solid/devices/frontend/device.cpp:154
#25 0x00007f73727d7353 in ?? () from
/usr/lib/x86_64-linux-gnu/libKF5KIOFileWidgets.so.5
#26 0x00007f73727d9d67 in KFilePlacesModel::Private::loadBookmarkList() () from
/usr/lib/x86_64-linux-gnu/libKF5KIOFileWidgets.so.5
#27 0x00007f73727db933 in KFilePlacesModel::Private::_k_reloadBookmarks() ()
from /usr/lib/x86_64-linux-gnu/libKF5KIOFileWidgets.so.5
#28 0x00007f73727dd08d in KFilePlacesModel::Private::_k_deviceAdded(QString
const&) () from /usr/lib/x86_64-linux-gnu/libKF5KIOFileWidgets.so.5
#29 0x00007f73727dda25 in ?? () from
/usr/lib/x86_64-linux-gnu/libKF5KIOFileWidgets.so.5
#30 0x00007f737e7eafca in QMetaObject::activate (sender=0x1129c30,
signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x7ffcd4428190) at kernel/qobject.cpp:3713
#31 0x00007f737e7eb7d7 in QMetaObject::activate (sender=<optimized out>,
m=m@entry=0x7f7370b23e60 <Solid::DeviceNotifier::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcd4428190)
at kernel/qobject.cpp:3578
#32 0x00007f7370896bb2 in Solid::DeviceNotifier::deviceAdded (this=<optimized
out>, _t1=...) at ./moc_devicenotifier.cpp:136
#33 0x00007f737e7eafca in QMetaObject::activate (sender=sender@entry=0x112bfb0,
signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x7ffcd44282c0) at kernel/qobject.cpp:3713
#34 0x00007f737e7eb7d7 in QMetaObject::activate (sender=sender@entry=0x112bfb0,
m=m@entry=0x7f7370b2c540 <Solid::Ifaces::DeviceManager::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcd44282c0)
at kernel/qobject.cpp:3578
#35 0x00007f73708f2262 in Solid::Ifaces::DeviceManager::deviceAdded
(this=this@entry=0x112bfb0, _t1=...) at moc_devicemanager.cpp:136
#36 0x00007f73708c75e0 in
Solid::Backends::UDisks2::Manager::slotInterfacesAdded (this=0x112bfb0,
object_path=..., interfaces_and_properties=...) at
../../../src/solid/devices/backends/udisks2/udisksmanager.cpp:197
#37 0x00007f73708f6a7d in Solid::Backends::UDisks2::Manager::qt_static_metacall
(_o=_o@entry=0x112bfb0, _c=_c@entry=QMetaObject::InvokeMetaMethod,
_id=_id@entry=0, _a=_a@entry=0x7ffcd4428580) at moc_udisksmanager.cpp:87
#38 0x00007f737e7eafca in QMetaObject::activate (sender=sender@entry=0x112bfc8,
signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x7ffcd4428580) at kernel/qobject.cpp:3713
#39 0x00007f737e7eb7d7 in QMetaObject::activate (sender=sender@entry=0x112bfc8,
m=m@entry=0x7f7370b2ca00
<OrgFreedesktopDBusObjectManagerInterface::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcd4428580)
at kernel/qobject.cpp:3578
#40 0x00007f73708f6d4f in
OrgFreedesktopDBusObjectManagerInterface::InterfacesAdded (_t2=..., _t1=...,
this=0x112bfc8) at moc_manager.cpp:174
#41 OrgFreedesktopDBusObjectManagerInterface::qt_static_metacall
(_o=_o@entry=0x112bfc8, _c=_c@entry=QMetaObject::InvokeMetaMethod,
_id=_id@entry=0, _a=_a@entry=0x7ffcd4428720) at moc_manager.cpp:90
#42 0x00007f73708fade5 in OrgFreedesktopDBusObjectManagerInterface::qt_metacall
(this=0x112bfc8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffcd4428720) at
moc_manager.cpp:160
#43 0x00007f73808f6913 in QDBusConnectionPrivate::deliverCall (this=0x112c0c0,
object=0x112bfc8, msg=..., metaTypes=..., slotIdx=6) at qdbusintegrator.cpp:978
#44 0x00007f737e7ebea1 in QObject::event (this=0x112bfc8, e=<optimized out>) at
kernel/qobject.cpp:1239
#45 0x00007f737fc4405c in QApplicationPrivate::notify_helper
(this=this@entry=0x1009670, receiver=receiver@entry=0x112bfc8,
e=e@entry=0x29ea670) at kernel/qapplication.cpp:3716
#46 0x00007f737fc49516 in QApplication::notify (this=0x7ffcd4428de0,
receiver=0x112bfc8, e=0x29ea670) at kernel/qapplication.cpp:3499
#47 0x00007f737e7bc62b in QCoreApplication::notifyInternal
(this=0x7ffcd4428de0, receiver=0x112bfc8, event=event@entry=0x29ea670) at
kernel/qcoreapplication.cpp:965
#48 0x00007f737e7bea26 in QCoreApplication::sendEvent (event=0x29ea670,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#49 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0,
event_type=event_type@entry=0, data=0x10097e0) at
kernel/qcoreapplication.cpp:1593
#50 0x00007f737e7bef08 in QCoreApplication::sendPostedEvents
(receiver=receiver@entry=0x0, event_type=event_type@entry=0) at
kernel/qcoreapplication.cpp:1451
#51 0x00007f737e812673 in postEventSourceDispatch (s=0x107b1b0) at
kernel/qeventdispatcher_glib.cpp:271
#52 0x00007f737da7d1a7 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007f737da7d400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007f737da7d4ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007f737e812a7f in QEventDispatcherGlib::processEvents (this=0x1076590,
flags=...) at kernel/qeventdispatcher_glib.cpp:418
#56 0x00007f737e7b9dea in QEventLoop::exec (this=this@entry=0x7ffcd4428ce0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#57 0x00007f737e7c1e8c in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1229
#58 0x00007f738054b26d in kdemain () from
/usr/lib/x86_64-linux-gnu/libkdeinit5_kded5.so
#59 0x00007f7380196830 in __libc_start_main (main=0x400700 <main>, argc=1,
argv=0x7ffcd4428f48, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffcd4428f38) at ../csu/libc-start.c:291
#60 0x0000000000400739 in _start ()

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to