Bug 460874

Summary: KDE Partition Manager crashes when removing USB mount
Product: [Applications] partitionmanager Reporter: Rodrigo Pedra Brum <rodrigo.pedra>
Component: generalAssignee: Andrius Štikonas <andrius>
Status: RESOLVED DUPLICATE    
Severity: crash CC: npviro
Priority: NOR Keywords: drkonqi
Version: 22.08.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Rodrigo Pedra Brum 2022-10-23 00:32:23 UTC
Application: partitionmanager (22.08.2)

Qt Version: 5.15.6
Frameworks Version: 5.99.0
Operating System: Linux 6.0.2-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.26.1 [KCrashBackend]

-- Information about the crash:
It chrashes when removing a USB partition mounted on a directory

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Partition Manager (partitionmanager), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f94af3ba030 in FstabEntry::fsSpec() const () at /lib64/libkpmcore.so.12
#5  0x000055a6421f5580 in  ()
#6  0x00007f94adbf005d in  () at /lib64/libQt5Core.so.5
#7  0x00007f94ae859092 in QAbstractButton::clicked(bool) () at /lib64/libQt5Widgets.so.5
#8  0x00007f94ae8592fa in  () at /lib64/libQt5Widgets.so.5
#9  0x00007f94ae85ab98 in  () at /lib64/libQt5Widgets.so.5
#10 0x00007f94ae85adb7 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#11 0x00007f94ae7a8c48 in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#12 0x00007f94ae7673fe in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#13 0x00007f94ae76f922 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#14 0x00007f94adbb9178 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#15 0x00007f94ae76da9e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /lib64/libQt5Widgets.so.5
#16 0x00007f94ae7c1a68 in  () at /lib64/libQt5Widgets.so.5
#17 0x00007f94ae7c4fc0 in  () at /lib64/libQt5Widgets.so.5
#18 0x00007f94ae7673fe in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#19 0x00007f94adbb9178 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#20 0x00007f94ae019a3d in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib64/libQt5Gui.so.5
#21 0x00007f94adfed38c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Gui.so.5
#22 0x00007f94a92fd0ea in  () at /lib64/libQt5XcbQpa.so.5
#23 0x00007f94acc4ba50 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#24 0x00007f94acc4be08 in  () at /lib64/libglib-2.0.so.0
#25 0x00007f94acc4be9c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#26 0x00007f94adc10806 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#27 0x00007f94adbb7beb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#28 0x00007f94ae96f487 in QDialog::exec() () at /lib64/libQt5Widgets.so.5
#29 0x000055a64220f25f in  ()
#30 0x00007f94adbf005d in  () at /lib64/libQt5Core.so.5
#31 0x00007f94ae760bb2 in QAction::triggered(bool) () at /lib64/libQt5Widgets.so.5
#32 0x00007f94ae7636fb in QAction::activate(QAction::ActionEvent) () at /lib64/libQt5Widgets.so.5
#33 0x00007f94ae8e8222 in  () at /lib64/libQt5Widgets.so.5
#34 0x00007f94ae8f0084 in  () at /lib64/libQt5Widgets.so.5
#35 0x00007f94ae7a8c48 in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#36 0x00007f94ae7673fe in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#37 0x00007f94ae76f922 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#38 0x00007f94adbb9178 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#39 0x00007f94ae76da9e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /lib64/libQt5Widgets.so.5
#40 0x00007f94ae7c1eb5 in  () at /lib64/libQt5Widgets.so.5
#41 0x00007f94ae7c4fc0 in  () at /lib64/libQt5Widgets.so.5
#42 0x00007f94ae7673fe in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#43 0x00007f94adbb9178 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#44 0x00007f94ae019a3d in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib64/libQt5Gui.so.5
#45 0x00007f94adfed38c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Gui.so.5
#46 0x00007f94a92fd0ea in  () at /lib64/libQt5XcbQpa.so.5
#47 0x00007f94acc4ba50 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#48 0x00007f94acc4be08 in  () at /lib64/libglib-2.0.so.0
#49 0x00007f94acc4be9c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#50 0x00007f94adc10806 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#51 0x00007f94adbb7beb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#52 0x00007f94ae8eda5f in  () at /lib64/libQt5Widgets.so.5
#53 0x00007f94ae8edb7f in QMenu::exec(QPoint const&, QAction*) () at /lib64/libQt5Widgets.so.5
#54 0x000055a6421e41f3 in  ()
#55 0x00007f94adbeffb2 in  () at /lib64/libQt5Core.so.5
#56 0x000055a6421e977e in  ()
#57 0x000055a6421e9c43 in  ()
#58 0x00007f94adbeffb2 in  () at /lib64/libQt5Core.so.5
#59 0x00007f94ae78e3a5 in QWidget::customContextMenuRequested(QPoint const&) () at /lib64/libQt5Widgets.so.5
#60 0x00007f94ae7a9a21 in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#61 0x00007f94ae8545be in QFrame::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#62 0x00007f94adbb8efb in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#63 0x00007f94ae7673ee in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#64 0x00007f94ae76e930 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#65 0x00007f94adbb9178 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#66 0x00007f94ae7c2465 in  () at /lib64/libQt5Widgets.so.5
#67 0x00007f94ae7c4fc0 in  () at /lib64/libQt5Widgets.so.5
#68 0x00007f94ae7673fe in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#69 0x00007f94adbb9178 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#70 0x00007f94ae019a3d in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib64/libQt5Gui.so.5
#71 0x00007f94adfed38c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Gui.so.5
#72 0x00007f94a92fd0ea in  () at /lib64/libQt5XcbQpa.so.5
#73 0x00007f94acc4ba50 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#74 0x00007f94acc4be08 in  () at /lib64/libglib-2.0.so.0
#75 0x00007f94acc4be9c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#76 0x00007f94adc10806 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#77 0x00007f94adbb7beb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#78 0x00007f94adbbfd56 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#79 0x000055a6421de1fa in  ()
#80 0x00007f94ad4e15b0 in __libc_start_call_main () at /lib64/libc.so.6
#81 0x00007f94ad4e1679 in __libc_start_main_impl () at /lib64/libc.so.6
#82 0x000055a6421e1a15 in  ()
[Inferior 1 (process 6577) detached]

The reporter indicates this bug may be a duplicate of or related to bug 432103.

Reported using DrKonqi
Comment 1 npviro 2023-02-21 02:31:42 UTC
Created attachment 156561 [details]
New crash information added by DrKonqi

partitionmanager (22.12.2) using Qt 5.15.8

Removing a mount point for a partition results in a crash. This can be reproduced every time.

-- Backtrace (Reduced):
#4  0x00007f5372b5c6c8 in QString::indexOf(QString const&, int, Qt::CaseSensitivity) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
[...]
#7  0x00007f5373a62a56 in QAbstractButton::clicked(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
[...]
#10 0x00007f5373a64b27 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f53739af97e in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f537396c793 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
Comment 2 Andrius Štikonas 2024-07-10 19:24:13 UTC

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