Bug 400062 - When I eject a pendrive, Baloo crashes in Baloo::StorageDevices::Entry::Entry()
Summary: When I eject a pendrive, Baloo crashes in Baloo::StorageDevices::Entry::Entry()
Status: RESOLVED DUPLICATE of bug 374204
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.51.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: baloo-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-10-20 09:55 UTC by jmarinho.73
Modified: 2020-10-26 15:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jmarinho.73 2018-10-20 09:55:56 UTC
Application: baloo_file (5.51.0)
 (Compiled from sources)
Qt Version: 5.11.2
Frameworks Version: 5.51.0
Operating System: Linux 4.15.0-36-generic x86_64
Distribution: KDE neon User Edition 5.14

-- Information about the crash:
Insert a pendrive (exfat formatted) , open with Dolphin, close Dolphin. press Extract on Widget and baloo crashed. It does not happen again, only one time.

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc1dfe53800 (LWP 1331))]

Thread 2 (Thread 0x7fc1d4ce8700 (LWP 1345)):
#0  0x00007fc1dd845bf9 in __GI___poll (fds=0x7fc1d0003ce0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fc1d9a11439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc1d9a1154c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc1de51e53b in QEventDispatcherGlib::processEvents (this=0x7fc1d0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fc1de4c27fa in QEventLoop::exec (this=this@entry=0x7fc1d4ce7d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007fc1de2edbba in QThread::exec (this=this@entry=0x7fc1df97cd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:525
#6  0x00007fc1df704e45 in QDBusConnectionManager::run (this=0x7fc1df97cd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#7  0x00007fc1de2f8adb in QThreadPrivate::start (arg=0x7fc1df97cd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:367
#8  0x00007fc1dc86a6db in start_thread (arg=0x7fc1d4ce8700) at pthread_create.c:463
#9  0x00007fc1dd85288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fc1dfe53800 (LWP 1331)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00005648988b1b0f in Baloo::StorageDevices::Entry::~Entry (this=<optimized out>, __in_chrg=<optimized out>) at ./src/file/storagedevices.h:45
#8  QHashNode<QString, Baloo::StorageDevices::Entry>::~QHashNode (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:149
#9  QHash<QString, Baloo::StorageDevices::Entry>::deleteNode2 (node=0x564899682f50) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:545
#10 QHash<QString, Baloo::StorageDevices::Entry>::deleteNode (node=0x564899682f50, this=0x56489961e2a0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:535
#11 QHash<QString, Baloo::StorageDevices::Entry>::erase (this=this@entry=0x56489961e2a0, it=..., it@entry=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:872
#12 0x00005648988b08ab in QHash<QString, Baloo::StorageDevices::Entry>::erase (it=..., this=0x56489961e2a0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:475
#13 Baloo::StorageDevices::slotSolidDeviceRemoved (this=0x56489961e290, udi=...) at ./src/file/storagedevices.cpp:109
#14 0x00007fc1de4f367f in QtPrivate::QSlotObjectBase::call (a=0x7fff5b4d20e0, r=0x56489961e290, this=0x5648996cbf20) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#15 QMetaObject::activate (sender=0x564899613e60, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff5b4d20e0) at kernel/qobject.cpp:3754
#16 0x00007fc1de4f3c37 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fc1dfc5ce20 <Solid::DeviceNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff5b4d20e0) at kernel/qobject.cpp:3633
#17 0x00007fc1df9a76d5 in Solid::DeviceNotifier::deviceRemoved (this=<optimized out>, _t1=...) at ./obj-x86_64-linux-gnu/src/solid/KF5Solid_autogen/include/moc_devicenotifier.cpp:146
#18 0x00007fc1de4f3565 in QMetaObject::activate (sender=0x564899625950, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff5b4d2210) at kernel/qobject.cpp:3771
#19 0x00007fc1de4f3c37 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fc1dfc65520 <Solid::Ifaces::DeviceManager::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff5b4d2210) at kernel/qobject.cpp:3633
#20 0x00007fc1dfa2c6b5 in Solid::Ifaces::DeviceManager::deviceRemoved (this=<optimized out>, _t1=...) at ./obj-x86_64-linux-gnu/src/solid/KF5Solid_autogen/3PYKXLVNWF/moc_devicemanager.cpp:146
#21 0x00007fc1df9f2f65 in Solid::Backends::UDisks2::Manager::slotInterfacesRemoved (this=0x564899625950, object_path=..., interfaces=...) at ./src/solid/devices/backends/udisks2/udisksmanager.cpp:233
#22 0x00007fc1de4f3565 in QMetaObject::activate (sender=0x564899625968, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff5b4d2450) at kernel/qobject.cpp:3771
#23 0x00007fc1de4f3c37 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fc1dfc659e0 <OrgFreedesktopDBusObjectManagerInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff5b4d2450) at kernel/qobject.cpp:3633
#24 0x00007fc1dfa2fe31 in OrgFreedesktopDBusObjectManagerInterface::InterfacesRemoved (_t2=..., _t1=..., this=<optimized out>) at ./obj-x86_64-linux-gnu/src/solid/KF5Solid_autogen/W35TJJ7QHF/moc_manager.cpp:184
#25 OrgFreedesktopDBusObjectManagerInterface::qt_static_metacall (_o=_o@entry=0x564899625968, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=1, _a=_a@entry=0x7fff5b4d25b0) at ./obj-x86_64-linux-gnu/src/solid/KF5Solid_autogen/W35TJJ7QHF/moc_manager.cpp:93
#26 0x00007fc1dfa344f5 in OrgFreedesktopDBusObjectManagerInterface::qt_metacall (this=0x564899625968, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff5b4d25b0) at ./obj-x86_64-linux-gnu/src/solid/KF5Solid_autogen/W35TJJ7QHF/moc_manager.cpp:163
#27 0x00007fc1df70ff58 in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:991
#28 0x00007fc1de4f40d2 in QObject::event (this=0x564899625968, e=<optimized out>) at kernel/qobject.cpp:1251
#29 0x00007fc1de4c44c1 in doNotify (event=0x7fc1d007b7b0, receiver=0x564899625968) at kernel/qcoreapplication.cpp:1138
#30 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>) at kernel/qcoreapplication.cpp:1124
#31 QCoreApplication::notifyInternal2 (receiver=0x564899625968, event=event@entry=0x7fc1d007b7b0) at kernel/qcoreapplication.cpp:1048
#32 0x00007fc1de4c701d in QCoreApplication::sendEvent (event=0x7fc1d007b7b0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x56489960baa0) at kernel/qcoreapplication.cpp:1745
#34 0x00007fc1de4c75d8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1599
#35 0x00007fc1de51eee3 in postEventSourceDispatch (s=0x56489960d630) at kernel/qeventdispatcher_glib.cpp:276
#36 0x00007fc1d9a11287 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fc1d9a114c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fc1d9a1154c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fc1de51e51f in QEventDispatcherGlib::processEvents (this=0x56489960d0f0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#40 0x00007fc1de4c27fa in QEventLoop::exec (this=this@entry=0x7fff5b4d29d0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#41 0x00007fc1de4cb9c0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
#42 0x00005648988a05dc in main (argc=<optimized out>, argv=<optimized out>) at ./src/file/main.cpp:104

Possible duplicates by query: bug 374204.

Reported using DrKonqi
Comment 1 Nate Graham 2020-10-26 15:49:27 UTC

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