Bug 481780

Summary: Crash on removing a mount point
Product: [Applications] partitionmanager Reporter: Void <kde.t-shirt453>
Component: generalAssignee: Andrius Štikonas <andrius>
Status: RESOLVED DUPLICATE    
Severity: crash CC: benshepy02
Priority: NOR Keywords: drkonqi
Version: 23.04.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Void 2024-02-24 19:39:36 UTC
Application: partitionmanager (23.04.2)

Qt Version: 5.15.9
Frameworks Version: 5.107.0
Operating System: Linux 6.1.52-valve9-1-neptune-61 x86_64
Windowing System: X11
Distribution: SteamOS
DrKonqi: 5.27.5 [KCrashBackend]

-- Information about the crash:
Operating System: SteamOS 3.5.7 (Steam Deck)

- What I was doing when the application crashed:

This is exactly the steps I did,

1. Right click on selected (119.15GiB) unmounted partition (it's an SD card), and select "Edit Mount Point" option from context menu.
2. Click "Remove" on "Edit Mount Point" dialog
3. Click "Save changes" on confirmation dialog
4. Crash

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f263cb6c7c8 in QString::indexOf(QString const&, int, Qt::CaseSensitivity) const () at /usr/lib/libQt5Core.so.5
#5  0x0000559858f9e1fb in  ()
#6  0x00007f263cccffe7 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f263da5c227 in QAbstractButton::clicked(bool) () at /usr/lib/libQt5Widgets.so.5
#8  0x00007f263da5eada in  () at /usr/lib/libQt5Widgets.so.5
#9  0x00007f263da5ffdc in  () at /usr/lib/libQt5Widgets.so.5
#10 0x00007f263da60180 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/libQt5Widgets.so.5
#11 0x00007f263d9af1e1 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#12 0x00007f263d97893f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#13 0x00007f263d97ddef in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#14 0x00007f263cc9ab18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#15 0x00007f263d97c12a in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007f263d9cced5 in  () at /usr/lib/libQt5Widgets.so.5
#17 0x00007f263d9cec27 in  () at /usr/lib/libQt5Widgets.so.5
#18 0x00007f263d97893f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#19 0x00007f263cc9ab18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#20 0x00007f263d14121c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#21 0x00007f263d12a955 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#22 0x00007f263552f710 in  () at /usr/lib/libQt5XcbQpa.so.5
#23 0x00007f263c02d981 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#24 0x00007f263c08ab39 in  () at /usr/lib/libglib-2.0.so.0
#25 0x00007f263c02b032 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#26 0x00007f263cce9f0c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#27 0x00007f263cc99824 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#28 0x00007f263db7358b in QDialog::exec() () at /usr/lib/libQt5Widgets.so.5
#29 0x0000559858fb8c05 in  ()
#30 0x00007f263cccffe7 in  () at /usr/lib/libQt5Core.so.5
#31 0x00007f263d96bbb7 in QAction::triggered(bool) () at /usr/lib/libQt5Widgets.so.5
#32 0x00007f263d97160b in QAction::activate(QAction::ActionEvent) () at /usr/lib/libQt5Widgets.so.5
#33 0x00007f263daf3b4b in  () at /usr/lib/libQt5Widgets.so.5
#34 0x00007f263daf3c6d in  () at /usr/lib/libQt5Widgets.so.5
#35 0x00007f263d9af1e1 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#36 0x00007f263d97893f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#37 0x00007f263d97ddef in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#38 0x00007f263cc9ab18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#39 0x00007f263d97c12a in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib/libQt5Widgets.so.5
#40 0x00007f263d9cd9d4 in  () at /usr/lib/libQt5Widgets.so.5
#41 0x00007f263d9cec27 in  () at /usr/lib/libQt5Widgets.so.5
#42 0x00007f263d97893f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#43 0x00007f263cc9ab18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#44 0x00007f263d14121c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#45 0x00007f263d12a955 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#46 0x00007f263552f710 in  () at /usr/lib/libQt5XcbQpa.so.5
#47 0x00007f263c02d981 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#48 0x00007f263c08ab39 in  () at /usr/lib/libglib-2.0.so.0
#49 0x00007f263c02b032 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#50 0x00007f263cce9f0c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#51 0x00007f263cc99824 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#52 0x00007f263dafb3f8 in  () at /usr/lib/libQt5Widgets.so.5
#53 0x00007f263dafb513 in QMenu::exec(QPoint const&, QAction*) () at /usr/lib/libQt5Widgets.so.5
#54 0x0000559858f8c2f3 in  ()
#55 0x00007f263cccfc1f in  () at /usr/lib/libQt5Core.so.5
#56 0x0000559858f91bd0 in  ()
#57 0x0000559858f920d3 in  ()
#58 0x00007f263cccfc1f in  () at /usr/lib/libQt5Core.so.5
#59 0x00007f263d9b06ea in QWidget::customContextMenuRequested(QPoint const&) () at /usr/lib/libQt5Widgets.so.5
#60 0x00007f263d9af75a in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#61 0x00007f263da5d583 in QFrame::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#62 0x00007f263cc97b22 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#63 0x00007f263d97892f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#64 0x00007f263d97e2c4 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#65 0x00007f263cc9ab18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#66 0x00007f263d9cd664 in  () at /usr/lib/libQt5Widgets.so.5
#67 0x00007f263d9cec27 in  () at /usr/lib/libQt5Widgets.so.5
#68 0x00007f263d97893f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#69 0x00007f263cc9ab18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#70 0x00007f263d14121c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#71 0x00007f263d12a955 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#72 0x00007f263552f710 in  () at /usr/lib/libQt5XcbQpa.so.5
#73 0x00007f263c02d981 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#74 0x00007f263c08ab39 in  () at /usr/lib/libglib-2.0.so.0
#75 0x00007f263c02b032 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#76 0x00007f263cce9f0c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#77 0x00007f263cc99824 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#78 0x00007f263cc9acc3 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#79 0x0000559858f85e19 in  ()
#80 0x00007f263c439850 in  () at /usr/lib/libc.so.6
#81 0x00007f263c43990a in __libc_start_main () at /usr/lib/libc.so.6
#82 0x0000559858f89745 in  ()
[Inferior 1 (process 4608) detached]

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

Reported using DrKonqi
Comment 1 Andrius Štikonas 2024-05-15 05:19:11 UTC
*** Bug 487039 has been marked as a duplicate of this bug. ***
Comment 2 benshepy02 2024-05-15 14:14:39 UTC
(In reply to Void from comment #0)
> Application: partitionmanager (23.04.2)
> 
> Qt Version: 5.15.9
> Frameworks Version: 5.107.0
> Operating System: Linux 6.1.52-valve9-1-neptune-61 x86_64
> Windowing System: X11
> Distribution: SteamOS
> DrKonqi: 5.27.5 [KCrashBackend]
> 
> -- Information about the crash:
> Operating System: SteamOS 3.5.7 (Steam Deck)
> 
> - What I was doing when the application crashed:
> 
> This is exactly the steps I did,
> 
> 1. Right click on selected (119.15GiB) unmounted partition (it's an SD
> card), and select "Edit Mount Point" option from context menu.
> 2. Click "Remove" on "Edit Mount Point" dialog
> 3. Click "Save changes" on confirmation dialog
> 4. Crash
> 
> The crash can be reproduced every time.
> 
> -- Backtrace:
> Application: KDE Partition Manager (partitionmanager), signal: Segmentation
> fault
> 
> [KCrash Handler]
> #4  0x00007f263cb6c7c8 in QString::indexOf(QString const&, int,
> Qt::CaseSensitivity) const () at /usr/lib/libQt5Core.so.5
> #5  0x0000559858f9e1fb in  ()
> #6  0x00007f263cccffe7 in  () at /usr/lib/libQt5Core.so.5
> #7  0x00007f263da5c227 in QAbstractButton::clicked(bool) () at
> /usr/lib/libQt5Widgets.so.5
> #8  0x00007f263da5eada in  () at /usr/lib/libQt5Widgets.so.5
> #9  0x00007f263da5ffdc in  () at /usr/lib/libQt5Widgets.so.5
> #10 0x00007f263da60180 in QAbstractButton::mouseReleaseEvent(QMouseEvent*)
> () at /usr/lib/libQt5Widgets.so.5
> #11 0x00007f263d9af1e1 in QWidget::event(QEvent*) () at
> /usr/lib/libQt5Widgets.so.5
> #12 0x00007f263d97893f in QApplicationPrivate::notify_helper(QObject*,
> QEvent*) () at /usr/lib/libQt5Widgets.so.5
> #13 0x00007f263d97ddef in QApplication::notify(QObject*, QEvent*) () at
> /usr/lib/libQt5Widgets.so.5
> #14 0x00007f263cc9ab18 in QCoreApplication::notifyInternal2(QObject*,
> QEvent*) () at /usr/lib/libQt5Core.so.5
> #15 0x00007f263d97c12a in QApplicationPrivate::sendMouseEvent(QWidget*,
> QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool)
> () at /usr/lib/libQt5Widgets.so.5
> #16 0x00007f263d9cced5 in  () at /usr/lib/libQt5Widgets.so.5
> #17 0x00007f263d9cec27 in  () at /usr/lib/libQt5Widgets.so.5
> #18 0x00007f263d97893f in QApplicationPrivate::notify_helper(QObject*,
> QEvent*) () at /usr/lib/libQt5Widgets.so.5
> #19 0x00007f263cc9ab18 in QCoreApplication::notifyInternal2(QObject*,
> QEvent*) () at /usr/lib/libQt5Core.so.5
> #20 0x00007f263d14121c in
> QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::
> MouseEvent*) () at /usr/lib/libQt5Gui.so.5
> #21 0x00007f263d12a955 in
> QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::
> ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
> #22 0x00007f263552f710 in  () at /usr/lib/libQt5XcbQpa.so.5
> #23 0x00007f263c02d981 in g_main_context_dispatch () at
> /usr/lib/libglib-2.0.so.0
> #24 0x00007f263c08ab39 in  () at /usr/lib/libglib-2.0.so.0
> #25 0x00007f263c02b032 in g_main_context_iteration () at
> /usr/lib/libglib-2.0.so.0
> #26 0x00007f263cce9f0c in
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
> () at /usr/lib/libQt5Core.so.5
> #27 0x00007f263cc99824 in
> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
> /usr/lib/libQt5Core.so.5
> #28 0x00007f263db7358b in QDialog::exec() () at /usr/lib/libQt5Widgets.so.5
> #29 0x0000559858fb8c05 in  ()
> #30 0x00007f263cccffe7 in  () at /usr/lib/libQt5Core.so.5
> #31 0x00007f263d96bbb7 in QAction::triggered(bool) () at
> /usr/lib/libQt5Widgets.so.5
> #32 0x00007f263d97160b in QAction::activate(QAction::ActionEvent) () at
> /usr/lib/libQt5Widgets.so.5
> #33 0x00007f263daf3b4b in  () at /usr/lib/libQt5Widgets.so.5
> #34 0x00007f263daf3c6d in  () at /usr/lib/libQt5Widgets.so.5
> #35 0x00007f263d9af1e1 in QWidget::event(QEvent*) () at
> /usr/lib/libQt5Widgets.so.5
> #36 0x00007f263d97893f in QApplicationPrivate::notify_helper(QObject*,
> QEvent*) () at /usr/lib/libQt5Widgets.so.5
> #37 0x00007f263d97ddef in QApplication::notify(QObject*, QEvent*) () at
> /usr/lib/libQt5Widgets.so.5
> #38 0x00007f263cc9ab18 in QCoreApplication::notifyInternal2(QObject*,
> QEvent*) () at /usr/lib/libQt5Core.so.5
> #39 0x00007f263d97c12a in QApplicationPrivate::sendMouseEvent(QWidget*,
> QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool)
> () at /usr/lib/libQt5Widgets.so.5
> #40 0x00007f263d9cd9d4 in  () at /usr/lib/libQt5Widgets.so.5
> #41 0x00007f263d9cec27 in  () at /usr/lib/libQt5Widgets.so.5
> #42 0x00007f263d97893f in QApplicationPrivate::notify_helper(QObject*,
> QEvent*) () at /usr/lib/libQt5Widgets.so.5
> #43 0x00007f263cc9ab18 in QCoreApplication::notifyInternal2(QObject*,
> QEvent*) () at /usr/lib/libQt5Core.so.5
> #44 0x00007f263d14121c in
> QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::
> MouseEvent*) () at /usr/lib/libQt5Gui.so.5
> #45 0x00007f263d12a955 in
> QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::
> ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
> #46 0x00007f263552f710 in  () at /usr/lib/libQt5XcbQpa.so.5
> #47 0x00007f263c02d981 in g_main_context_dispatch () at
> /usr/lib/libglib-2.0.so.0
> #48 0x00007f263c08ab39 in  () at /usr/lib/libglib-2.0.so.0
> #49 0x00007f263c02b032 in g_main_context_iteration () at
> /usr/lib/libglib-2.0.so.0
> #50 0x00007f263cce9f0c in
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
> () at /usr/lib/libQt5Core.so.5
> #51 0x00007f263cc99824 in
> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
> /usr/lib/libQt5Core.so.5
> #52 0x00007f263dafb3f8 in  () at /usr/lib/libQt5Widgets.so.5
> #53 0x00007f263dafb513 in QMenu::exec(QPoint const&, QAction*) () at
> /usr/lib/libQt5Widgets.so.5
> #54 0x0000559858f8c2f3 in  ()
> #55 0x00007f263cccfc1f in  () at /usr/lib/libQt5Core.so.5
> #56 0x0000559858f91bd0 in  ()
> #57 0x0000559858f920d3 in  ()
> #58 0x00007f263cccfc1f in  () at /usr/lib/libQt5Core.so.5
> #59 0x00007f263d9b06ea in QWidget::customContextMenuRequested(QPoint const&)
> () at /usr/lib/libQt5Widgets.so.5
> #60 0x00007f263d9af75a in QWidget::event(QEvent*) () at
> /usr/lib/libQt5Widgets.so.5
> #61 0x00007f263da5d583 in QFrame::event(QEvent*) () at
> /usr/lib/libQt5Widgets.so.5
> #62 0x00007f263cc97b22 in
> QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
> at /usr/lib/libQt5Core.so.5
> #63 0x00007f263d97892f in QApplicationPrivate::notify_helper(QObject*,
> QEvent*) () at /usr/lib/libQt5Widgets.so.5
> #64 0x00007f263d97e2c4 in QApplication::notify(QObject*, QEvent*) () at
> /usr/lib/libQt5Widgets.so.5
> #65 0x00007f263cc9ab18 in QCoreApplication::notifyInternal2(QObject*,
> QEvent*) () at /usr/lib/libQt5Core.so.5
> #66 0x00007f263d9cd664 in  () at /usr/lib/libQt5Widgets.so.5
> #67 0x00007f263d9cec27 in  () at /usr/lib/libQt5Widgets.so.5
> #68 0x00007f263d97893f in QApplicationPrivate::notify_helper(QObject*,
> QEvent*) () at /usr/lib/libQt5Widgets.so.5
> #69 0x00007f263cc9ab18 in QCoreApplication::notifyInternal2(QObject*,
> QEvent*) () at /usr/lib/libQt5Core.so.5
> #70 0x00007f263d14121c in
> QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::
> MouseEvent*) () at /usr/lib/libQt5Gui.so.5
> #71 0x00007f263d12a955 in
> QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::
> ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
> #72 0x00007f263552f710 in  () at /usr/lib/libQt5XcbQpa.so.5
> #73 0x00007f263c02d981 in g_main_context_dispatch () at
> /usr/lib/libglib-2.0.so.0
> #74 0x00007f263c08ab39 in  () at /usr/lib/libglib-2.0.so.0
> #75 0x00007f263c02b032 in g_main_context_iteration () at
> /usr/lib/libglib-2.0.so.0
> #76 0x00007f263cce9f0c in
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
> () at /usr/lib/libQt5Core.so.5
> #77 0x00007f263cc99824 in
> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
> /usr/lib/libQt5Core.so.5
> #78 0x00007f263cc9acc3 in QCoreApplication::exec() () at
> /usr/lib/libQt5Core.so.5
> #79 0x0000559858f85e19 in  ()
> #80 0x00007f263c439850 in  () at /usr/lib/libc.so.6
> #81 0x00007f263c43990a in __libc_start_main () at /usr/lib/libc.so.6
> #82 0x0000559858f89745 in  ()
> [Inferior 1 (process 4608) detached]
> 
> The reporter indicates this bug may be a duplicate of or related to bug
> 432103.
> 
> Reported using DrKonqi

I've encountered this bug as well, except it is on a PC, and the partition manager crashes immediately after pressing remove the mount.
Comment 3 Andrius Štikonas 2024-07-10 18:19:27 UTC

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