Bug 384377 - crash when unmounting while confirm dialog is up
Summary: crash when unmounting while confirm dialog is up
Status: RESOLVED WORKSFORME
Alias: None
Product: isoimagewriter
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jonathan Riddell
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-05 11:15 UTC by Harald Sitter
Modified: 2022-12-18 05:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Sitter 2017-09-05 11:15:53 UTC
- have no sticks plugged in
- start isoimagewriter
- no sticks detected
- select ISO
- plug in stick
- wait for plasma to automount the stick and pop up device notify
- click on write
- confirmation dialog comes up to clear the disk
- unmount stick via plasma notification
- confirm clear dialog
- crash

happens all the time



Thread 5 (Thread 0x7f447822c700 (LWP 3513)):
#0  0x00007f449a28d70d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f449841f38c in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7f44700008c0, timeout=<optimized out>, context=0x116fb70) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:4135
#2  0x00007f449841f38c in g_main_context_iterate (context=context@entry=0x116fb70, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3835
#3  0x00007f449841f49c in g_main_context_iteration (context=0x116fb70, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007f449841f4d9 in glib_worker_main (data=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:5672
#5  0x00007f4498445bb5 in g_thread_proxy (data=0xc2b450) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gthread.c:780
#6  0x00007f4499f7c6ba in start_thread (arg=0x7f447822c700) at pthread_create.c:333
#7  0x00007f449a2993dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f446fa2b700 (LWP 3514)):
#0  0x00007f449a28d70d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f449841f38c in g_main_context_iterate (priority=2147483647, n_fds=2, fds=0x7f44680010c0, timeout=<optimized out>, context=0x1172930) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:4135
#2  0x00007f449841f38c in g_main_context_iterate (context=0x1172930, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3835
#3  0x00007f449841f712 in g_main_loop_run (loop=0x11ba0c0) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:4034
#4  0x00007f44785159d6 in gdbus_shared_thread_func (user_data=0xbd88a0) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./gio/gdbusprivate.c:246
#5  0x00007f4498445bb5 in g_thread_proxy (data=0xc2b4a0) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gthread.c:780
#6  0x00007f4499f7c6ba in start_thread (arg=0x7f446fa2b700) at pthread_create.c:333
#7  0x00007f449a2993dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f448419f700 (LWP 3397)):
#0  0x00007f449a28d70d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f449841f38c in g_main_context_iterate (priority=2147483647, n_fds=5, fds=0x7f447c018da0, timeout=<optimized out>, context=0x7f447c000990) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:4135
#2  0x00007f449841f38c in g_main_context_iterate (context=context@entry=0x7f447c000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3835
#3  0x00007f449841f49c in g_main_context_iteration (context=0x7f447c000990, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007f449adcb94b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f447c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f449ad747ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f448419ee50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f449ab9dcd4 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:515
#7  0x00007f4494985b75 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f449aba2989 in QThreadPrivate::start(void*) (arg=0x7f44949fbda0) at thread/qthread_unix.cpp:368
#9  0x00007f4499f7c6ba in start_thread (arg=0x7f448419f700) at pthread_create.c:333
#10 0x00007f449a2993dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f4491252700 (LWP 3396)):
#0  0x00007f449a28d70d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f449557cc62 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f449557e8d7 in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f449c5e2329 in QXcbEventReader::run() (this=0x8b5d40) at qxcbconnection.cpp:1322
#4  0x00007f449aba2989 in QThreadPrivate::start(void*) (arg=0x8b5d40) at thread/qthread_unix.cpp:368
#5  0x00007f4499f7c6ba in start_thread (arg=0x7f4491252700) at pthread_create.c:333
#6  0x00007f449a2993dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f449c6e9740 (LWP 3395)):
#0  0x000000000040b533 in QListData::size() const (this=0xc4c928) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:113
#1  0x000000000040bfe1 in QList<QString>::operator[](int) (this=0xc4c928, i=0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:549
#2  0x0000000000410516 in MainDialog::writeToDeviceKAuth(bool) (this=0x7fff89144f80, zeroing=false) at /home/me/src/git/imagewriter/imagewriter/maindialog.cpp:337
#3  0x0000000000411db3 in MainDialog::writeImageToDevice() (this=0x7fff89144f80) at /home/me/src/git/imagewriter/imagewriter/maindialog.cpp:395
#4  0x00000000004178e2 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (MainDialog::*)()>::call(void (MainDialog::*)(), MainDialog*, void**) (f=(void (MainDialog::*)(MainDialog * const)) 0x411d96 <MainDialog::writeImageToDevice()>, o=0x7fff89144f80, arg=0x7fff89144250) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:136
#5  0x00000000004177e1 in QtPrivate::FunctionPointer<void (MainDialog::*)()>::call<QtPrivate::List<>, void>(void (MainDialog::*)(), MainDialog*, void**) (f=(void (MainDialog::*)(MainDialog * const)) 0x411d96 <MainDialog::writeImageToDevice()>, o=0x7fff89144f80, arg=0x7fff89144250) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:169
#6  0x00000000004174a5 in QtPrivate::QSlotObject<void (MainDialog::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x998110, r=0x7fff89144f80, a=0x7fff89144250, ret=0x0)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:120
#7  0x00007f449ada2f46 in QMetaObject::activate(QObject*, int, int, void**) (a=0x7fff89144250, r=0x7fff89144f80, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#8  0x00007f449ada2f46 in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x9d7230, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff89144250) at kernel/qobject.cpp:3749
#9  0x00007f449ada3527 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x9d7230, m=m@entry=0x7f449be88700 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff89144250)
    at kernel/qobject.cpp:3628
#10 0x00007f449bb63502 in QAbstractButton::clicked(bool) (this=this@entry=0x9d7230, _t1=false) at .moc/moc_qabstractbutton.cpp:309
#11 0x00007f449bb63734 in QAbstractButtonPrivate::emitClicked() (this=0x9ebe30) at widgets/qabstractbutton.cpp:410
#12 0x00007f449bb653de in QAbstractButtonPrivate::click() (this=0x9ebe30) at widgets/qabstractbutton.cpp:403
#13 0x00007f449bb65554 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) (this=0x9d7230, e=0x7fff89144700) at widgets/qabstractbutton.cpp:1006
#14 0x00007f449b9e46d8 in QWidget::event(QEvent*) (this=0x9d7230, event=0x7fff89144700) at kernel/qwidget.cpp:9178
#15 0x00007f449b9a33fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x9d7230, e=0x7fff89144700) at kernel/qapplication.cpp:3717
#16 0x00007f449b9aba2b in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x9d7230, e=0x7fff89144700) at kernel/qapplication.cpp:3193
#17 0x00007f449ad76798 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=receiver@entry=0x9d7230, event=event@entry=0x7fff89144700) at kernel/qcoreapplication.cpp:1018
#18 0x00007f449b9aa3cf in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#19 0x00007f449b9aa3cf in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (receiver=receiver@entry=0x9d7230, event=event@entry=0x7fff89144700, alienWidget=alienWidget@entry=0x9d7230, nativeWidget=0x7fff89144f80, buttonDown=buttonDown@entry=0x7f449bea5c70 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2699
#20 0x00007f449b9fe446 in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=this@entry=0xa1f930, event=event@entry=0x7fff89144b00) at kernel/qwidgetwindow.cpp:622
#21 0x00007f449ba00ea3 in QWidgetWindow::event(QEvent*) (this=0xa1f930, event=0x7fff89144b00) at kernel/qwidgetwindow.cpp:243
#22 0x00007f449b9a33fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0xa1f930, e=0x7fff89144b00) at kernel/qapplication.cpp:3717
#23 0x00007f449b9aae07 in QApplication::notify(QObject*, QEvent*) (this=0x7fff89144f30, receiver=0xa1f930, e=0x7fff89144b00) at kernel/qapplication.cpp:3476
#24 0x00007f449ad76798 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=receiver@entry=0xa1f930, event=event@entry=0x7fff89144b00) at kernel/qcoreapplication.cpp:1018
#25 0x00007f449b42c940 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (event=0x7fff89144b00, receiver=0xa1f930) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#26 0x00007f449b42c940 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x11cf340) at kernel/qguiapplication.cpp:1949
#27 0x00007f449b42e8a5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) (e=e@entry=0x11cf340) at kernel/qguiapplication.cpp:1733
---Type <return> to continue, or q <return> to quit---
#28 0x00007f449b408ceb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...) at kernel/qwindowsysteminterface.cpp:939
#29 0x00007f449c640e00 in userEventSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at qeventdispatcher_glib.cpp:77
#30 0x00007f449841f197 in g_main_context_dispatch (context=0x7f448c0016f0) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3154
#31 0x00007f449841f197 in g_main_context_dispatch (context=context@entry=0x7f448c0016f0) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3769
#32 0x00007f449841f3f0 in g_main_context_iterate (context=context@entry=0x7f448c0016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3840
#33 0x00007f449841f49c in g_main_context_iteration (context=0x7f448c0016f0, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#34 0x00007f449adcb92f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x9009b0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#35 0x00007f449ad747ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff89144eb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#36 0x00007f449ad7d704 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1291
#37 0x0000000000419abc in main(int, char**) (argc=1, argv=0x7fff89145128) at /home/me/src/git/imagewriter/imagewriter/main.cpp:69
Comment 1 Alexander Mentyu 2018-04-02 09:54:19 UTC
Next error when:
1. start isoimagewriter
2. open iso
3. press wipe button
4. when confirmation dialog comes up - remove usb stick
5. confirm the dialog without the stick inserted

inotify_add_watch("/var/lib/samba/usershare") failed: "Permission denied"
canVerify arch
result  "8b3ffb0996310bd3aa928d011caf7e357b5676ecbfdc6475c29923d4b7a8c01b"
UdevQt: unhandled device action "bind"
UdevQt: unhandled device action "bind"
"/org/freedesktop/UDisks2/drives/Generic_Flash_Disk_BAC744E1" has new interfaces: ("org.freedesktop.UDisks2.Drive")
"/org/freedesktop/UDisks2/block_devices/sdb" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.PartitionTable")
"/org/freedesktop/UDisks2/block_devices/sdb2" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.Filesystem", "org.freedesktop.UDisks2.Partition")
"/org/freedesktop/UDisks2/block_devices/sdb1" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.Filesystem", "org.freedesktop.UDisks2.Partition")
org.kde.isoimagewriter: writeToDeviceKAuth()
"/org/freedesktop/UDisks2/block_devices/sdb1" lost interfaces: ("org.freedesktop.UDisks2.Partition", "org.freedesktop.UDisks2.Filesystem", "org.freedesktop.UDisks2.Block")
"/org/freedesktop/UDisks2/block_devices/sdb2" lost interfaces: ("org.freedesktop.UDisks2.Partition", "org.freedesktop.UDisks2.Filesystem", "org.freedesktop.UDisks2.Block")
"/org/freedesktop/UDisks2/block_devices/sdb" lost interfaces: ("org.freedesktop.UDisks2.PartitionTable", "org.freedesktop.UDisks2.Block")
"/org/freedesktop/UDisks2/drives/Generic_Flash_Disk_BAC744E1" lost interfaces: ("org.freedesktop.UDisks2.Drive")
UdevQt: unhandled device action "unbind"
UdevQt: unhandled device action "unbind"
[1]    8013 segmentation fault (core dumped)  isoimagewriter

Plasma: 5.12.3
Apps: 17.12.3
Frameworks: 5.44.0
Qt: 5.10.1
Kernel: 4.14.27-1-MANJARO
OS: Netrunner Rolling
Comment 2 Justin Zobel 2022-11-18 04:30:32 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 3 Bug Janitor Service 2022-12-03 05:17:28 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2022-12-18 05:15:33 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!