Bug 434087 - Dolphin crash when eject cdrom with external cdrom drive.
Summary: Dolphin crash when eject cdrom with external cdrom drive.
Status: RESOLVED DUPLICATE of bug 426324
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 20.12.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-03-07 03:59 UTC by TOM Harrison
Modified: 2021-05-10 23:23 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (2.85 KB, text/plain)
2021-03-17 12:15 UTC, oemshani
Details

Note You need to log in before you can comment on or make changes to this bug.
Description TOM Harrison 2021-03-07 03:59:22 UTC
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
Comment 1 TOM Harrison 2021-03-07 05:09:45 UTC
you need to has wrestool and dolphin using it to show windows executable icon to easily reproduce this issue.
Comment 2 oemshani 2021-03-17 12:15:26 UTC
Created attachment 136782 [details]
New crash information added by DrKonqi

dolphin (20.12.2) using Qt 5.15.2

- What I was doing when the application crashed:
Ejecting DVD from Dolphin causes crash. Trying to eject the disc from Plasma Devices Status Bar it won't work either, but does not cause a crash. Third party apps are still capable to eject (tested Nero 4 Linux, K3b, Brasero)

- Unusual behavior I noticed:
Dolphin showed duplicate entries for the same DVD when I first inserted it while Dolphin was still open.

-- Backtrace (Reduced):
#4  0x00007f530ba14109 in Solid::StorageAccess::filePath() const () from /usr/lib/libKF5Solid.so.5
[...]
#7  0x00007f530b9fbabc in Solid::OpticalDrive::ejectDone(Solid::ErrorType, QVariant, QString const&) () from /usr/lib/libKF5Solid.so.5
[...]
#14 0x00007f530a227532 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#15 0x00007f530acc2752 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#16 0x00007f530a1faa2a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
Comment 3 Nate Graham 2021-05-10 23:23:13 UTC

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