https://bugs.kde.org/show_bug.cgi?id=434087
Bug ID: 434087 Summary: Dolphin crash when eject cdrom with external cdrom drive. Product: dolphin Version: 20.12.3 Platform: Ubuntu Packages OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: dolphin-bugs-n...@kde.org Reporter: l12436...@gmail.com CC: kfm-de...@kde.org Target Milestone: --- Application: dolphin (20.12.3) Qt Version: 5.15.2 Frameworks Version: 5.79.0 Operating System: Linux 5.10.13-otakux-1 x86_64 Windowing System: X11 Drkonqi Version: 5.21.2 Distribution: Ubuntu 20.04.2 LTS -- Information about the crash: - What I was doing when the application crashed: 1. inject cdrom 2. mount and open it. 3. browse some file. 4. eject through dolphin. 5. go to 1 and do it again. you will see crash after multiple times. The crash can be reproduced sometimes. -- Backtrace: Application: Dolphin (dolphin), signal: Segmentation fault [New LWP 3659464] [New LWP 3659466] [New LWP 3659511] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 0x00007fa20dde8aff in __GI___poll (fds=0x7ffccb6968a8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29 [Current thread is 1 (Thread 0x7fa206e928c0 (LWP 3659462))] Thread 4 (Thread 0x7fa1f4a59700 (LWP 3659511)): #0 0x00007fa20bb14677 in postEventSourceCheck (source=0x7fa1e4004fe0) at kernel/qeventdispatcher_glib.cpp:270 #1 0x00007fa20987ebc1 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fa20987f132 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fa20987f2c3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007fa20bb13fbb in QEventDispatcherGlib::processEvents (this=0x7fa1e4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #5 0x00007fa20bab81ab in QEventLoop::exec (this=this@entry=0x7fa1f4a58ce0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141 #6 0x00007fa20b8d2a12 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #7 0x00007fa20b8d3bac in QThreadPrivate::start (arg=0x559a9c711780) at thread/qthread_unix.cpp:329 #8 0x00007fa20a24d609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #9 0x00007fa20ddf5293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7fa2049a7700 (LWP 3659466)): #0 update_get_addr (ti=0x7fa20bd55588) at ../elf/dl-tls.c:804 #1 0x00007fa20e038ddc in __tls_get_addr () at ../sysdeps/x86_64/tls_get_addr.S:55 #2 0x00007fa20b8d307a in get_thread_data () at thread/qthread_unix.cpp:207 #3 QThreadData::current (createIfNecessary=createIfNecessary@entry=true) at thread/qthread_unix.cpp:207 #4 0x00007fa20bb13e8e in postEventSourcePrepare (s=0x7fa1f8004bb0, timeout=0x7fa2049a6ae4) at kernel/qeventdispatcher_glib.cpp:253 #5 0x00007fa20987e70f in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #6 0x00007fa20987f0bb in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #7 0x00007fa20987f2c3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #8 0x00007fa20bb13fbb in QEventDispatcherGlib::processEvents (this=0x7fa1f8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #9 0x00007fa20bab81ab in QEventLoop::exec (this=this@entry=0x7fa2049a6cb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141 #10 0x00007fa20b8d2a12 in QThread::exec (this=this@entry=0x7fa20cbedd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #11 0x00007fa20cb69f4b in QDBusConnectionManager::run (this=0x7fa20cbedd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179 #12 0x00007fa20b8d3bac in QThreadPrivate::start (arg=0x7fa20cbedd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:329 #13 0x00007fa20a24d609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #14 0x00007fa20ddf5293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7fa205764700 (LWP 3659464)): #0 0x00007fa20dde8aff in __GI___poll (fds=0x7fa205763be8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fa20a283c1a in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #2 0x00007fa20a28590a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #3 0x00007fa205c73d58 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #4 0x00007fa20b8d3bac in QThreadPrivate::start (arg=0x559a9c001fa0) at thread/qthread_unix.cpp:329 #5 0x00007fa20a24d609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #6 0x00007fa20ddf5293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7fa206e928c0 (LWP 3659462)): [KCrash Handler] #4 0x00007fa20d41550d in Solid::StorageAccess::filePath (this=0x0) at ./src/solid/devices/frontend/storageaccess.cpp:57 #5 0x00007fa20df48b11 in PlacesItemModel::slotStorageTearDownDone (this=0x559a9c4ed4d0, error=<optimized out>, errorData=...) at ./src/panels/places/placesitemmodel.cpp:454 #6 0x00007fa20baf06be in QtPrivate::QSlotObjectBase::call (a=0x7ffccb697230, r=0x559a9c4ed4d0, this=0x559a9c211720) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #7 doActivate<false> (sender=0x559a9ceaa300, signal_index=4, argv=0x7ffccb697230) at kernel/qobject.cpp:3886 #8 0x00007fa20bae9a87 in QMetaObject::activate (sender=sender@entry=0x559a9ceaa300, m=m@entry=0x7fa20d4b8740 <Solid::OpticalDrive::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffccb697230) at kernel/qobject.cpp:3946 #9 0x00007fa20d3fc82f in Solid::OpticalDrive::ejectDone (this=this@entry=0x559a9ceaa300, _t1=<optimized out>, _t2=..., _t3=...) at ./obj-x86_64-linux-gnu/src/solid/KF5Solid_autogen/H3VFCUX2PL/moc_opticaldrive.cpp:294 #10 0x00007fa20d400f41 in Solid::OpticalDrive::qt_static_metacall (_o=0x559a9ceaa300, _c=<optimized out>, _id=<optimized out>, _a=0x7ffccb6973c0) at ./obj-x86_64-linux-gnu/src/solid/KF5Solid_autogen/H3VFCUX2PL/moc_opticaldrive.cpp:162 #11 0x00007fa20baf06f0 in doActivate<false> (sender=0x559a9d04d930, signal_index=4, argv=0x7ffccb6973c0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395 #12 0x00007fa20bae9a87 in QMetaObject::activate (sender=sender@entry=0x559a9d04d930, m=m@entry=0x7fa20d4b0180 <Solid::Backends::UDisks2::OpticalDrive::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffccb6973c0) at kernel/qobject.cpp:3946 #13 0x00007fa20d3fc6af in Solid::Backends::UDisks2::OpticalDrive::ejectDone (this=this@entry=0x559a9d04d930, _t1=<optimized out>, _t1@entry=Solid::DeviceBusy, _t2=..., _t3=...) at ./obj-x86_64-linux-gnu/src/solid/KF5Solid_autogen/EYXUHNKS25/moc_udisksopticaldrive.cpp:227 #14 0x00007fa20d469b69 in Solid::Backends::UDisks2::OpticalDrive::slotEjectDone (this=0x559a9d04d930, error=2, errorString=...) at ./src/solid/devices/backends/udisks2/udisksopticaldrive.cpp:118 #15 0x00007fa20d3ff8ba in Solid::Backends::UDisks2::OpticalDrive::qt_static_metacall (_o=_o@entry=0x559a9d04d930, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=6, _a=_a@entry=0x7ffccb6975d0) at ./obj-x86_64-linux-gnu/src/solid/KF5Solid_autogen/EYXUHNKS25/moc_udisksopticaldrive.cpp:117 #16 0x00007fa20d403eb3 in Solid::Backends::UDisks2::OpticalDrive::qt_metacall (this=0x559a9d04d930, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7ffccb6975d0) at ./obj-x86_64-linux-gnu/src/solid/KF5Solid_autogen/EYXUHNKS25/moc_udisksopticaldrive.cpp:206 #17 0x00007fa20cb7655b in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:1001 #18 0x00007fa20bae7239 in QObject::event (this=0x559a9d04d930, e=0x7fa1f807edd0) at kernel/qobject.cpp:1314 #19 0x00007fa20c590dc3 in QApplicationPrivate::notify_helper (this=this@entry=0x559a9bffe6d0, receiver=receiver@entry=0x559a9d04d930, e=e@entry=0x7fa1f807edd0) at kernel/qapplication.cpp:3632 #20 0x00007fa20c599bb8 in QApplication::notify (this=0x7ffccb697d00, receiver=0x559a9d04d930, e=0x7fa1f807edd0) at kernel/qapplication.cpp:3156 #21 0x00007fa20bab969a in QCoreApplication::notifyInternal2 (receiver=0x559a9d04d930, event=0x7fa1f807edd0) at ../../include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325 #22 0x00007fa20babbfa1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x559a9bff4830) at kernel/qcoreapplication.cpp:1817 #23 0x00007fa20bb14947 in postEventSourceDispatch (s=0x559a9c0c1980) at kernel/qeventdispatcher_glib.cpp:277 #24 0x00007fa20987ef9d in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #25 0x00007fa20987f220 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #26 0x00007fa20987f2c3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #27 0x00007fa20bb13fa2 in QEventDispatcherGlib::processEvents (this=0x559a9c0c6570, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #28 0x00007fa20bab81ab in QEventLoop::exec (this=this@entry=0x7ffccb697bd0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141 #29 0x00007fa20bac0354 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #30 0x00007fa20df18fa2 in kdemain (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:222 #31 0x00007fa20dcfa0b3 in __libc_start_main (main=0x559a9ba78060 <main>, argc=1, argv=0x7ffccb697ea8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffccb697e98) at ../csu/libc-start.c:308 #32 0x0000559a9ba7809e in _start () [Inferior 1 (process 3659462) detached] Possible duplicates by query: bug 433993, bug 433897, bug 433682, bug 433526, bug 433252. Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.