Bug 422961

Summary: KDE partition manager crashes when selecting removable device
Product: [Applications] partitionmanager Reporter: vitutivitu
Component: generalAssignee: Andrius Štikonas <andrius>
Status: RESOLVED DUPLICATE    
Severity: crash CC: sandtdgrant
Priority: NOR Keywords: drkonqi
Version: 4.1.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description vitutivitu 2020-06-14 11:50:07 UTC
Application: partitionmanager (4.1.0)

Qt Version: 5.14.2
Frameworks Version: 5.70.0
Operating System: Linux 5.3.0-59-generic x86_64
Windowing system: X11
Distribution: KDE neon User Edition 5.19

-- Information about the crash:
- What I was doing when the application crashed: Opened the KDE partition manager, selected SD Card with the mouse and tried to open it

- Unusual behavior I noticed: Program crashed

- Custom settings of the application:

The crash can be reproduced every time.

-- Backtrace:
Application: Gerenciador de Partições do KDE (partitionmanager), signal: Floating point exception

[KCrash Handler]
#4  0x00007f041e9a3575 in PartWidget::paintEvent(QPaintEvent*) () at /usr/lib/x86_64-linux-gnu/libkpmcore.so.9
#5  0x00007f041c0a08c8 in QWidget::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#6  0x00007f041c05f9ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007f041c066bb0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007f041b1704a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f041c099005 in QWidgetPrivate::sendPaintEvent(QRegion const&) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f041c099bee in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f041c09aab0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f041c0991d2 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f041c09aab0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f041c09ac39 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f041c0991d2 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f041c09aab0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f041c09ac39 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f041c09ac39 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f041c09ac39 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f041c09ac39 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f041c09ac39 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f041c09ac39 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007f041c09ac39 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f041c0991d2 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007f041c070675 in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007f041c070d18 in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007f041c09a66f in QWidgetPrivate::syncBackingStore() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007f041c0a0a48 in QWidget::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007f041c1adee0 in QMainWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007f041e30ee51 in KMainWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#31 0x00007f041e3501f7 in KXmlGuiWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#32 0x00007f041c05f9ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007f041c066bb0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007f041b1704a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007f041c071c65 in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007f041c0743f0 in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007f041c08993b in QWidget::repaint(QRect const&) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007f041c08999c in QWidget::repaint() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#39 0x00005633cc7035cb in  ()
#40 0x00005633cc6faf09 in  ()
#41 0x00005633cc6fb400 in  ()
#42 0x00007f041b1ab6d7 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#43 0x00005633cc71d772 in  ()
#44 0x00005633cc6e7056 in  ()
#45 0x00005633cc71dd35 in  ()
#46 0x00005633cc71e293 in  ()
#47 0x00007f041b1ab7b9 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#48 0x00007f041b1ab4b9 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#49 0x00007f041b119917 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#50 0x00007f041b11ea65 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#51 0x00007f041b1214d3 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#52 0x00007f041c2f7712 in QListView::setSelection(QRect const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#53 0x00007f041c2bdef9 in QAbstractItemView::mousePressEvent(QMouseEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#54 0x00007f041c0a122f in QWidget::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#55 0x00007f041c146bee in QFrame::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#56 0x00007f041c2c2f63 in QAbstractItemView::viewportEvent(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#57 0x00007f041b17022d in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#58 0x00007f041c05f982 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#59 0x00007f041c0679f8 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#60 0x00007f041b1704a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#61 0x00007f041c06607f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#62 0x00007f041c0baf81 in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#63 0x00007f041c0bddea in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#64 0x00007f041c05f9ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#65 0x00007f041c066bb0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#66 0x00007f041b1704a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#67 0x00007f041b76d8b5 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#68 0x00007f041b76e9e5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#69 0x00007f041b7471cb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#70 0x00007f04101cff9a in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#71 0x00007f0414df6417 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#72 0x00007f0414df6650 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#73 0x00007f0414df66dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#74 0x00007f041b1cf7ac in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#75 0x00007f041b16ed2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#76 0x00007f041b1784a0 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#77 0x00005633cc6c4b38 in main ()

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

Possible duplicates by query: bug 422851, bug 422533, bug 422331, bug 421930, bug 421576.

Reported using DrKonqi
Comment 1 Andrius Štikonas 2020-06-14 13:08:32 UTC
Yeah, this looks duplicate of https://bugs.kde.org/show_bug.cgi?id=413418. There is a fix in git master for this.

*** This bug has been marked as a duplicate of bug 413418 ***
Comment 2 tom grant 2020-06-15 20:47:30 UTC
Created attachment 129395 [details]
New crash information added by DrKonqi

partitionmanager (4.1.0) using Qt 5.12.8

- What I was doing when the application crashed: Simple trying to interrogate usb drive with partition manager. Tried directly selecting, immediately crashed, tried stepping through from sda sdb sdc and on sdd crashed. Tried upward sdg, sdf, sde and sdd crashed.
Tried usin drop down and crashed immediately.
Initially only partition manager in use, latterly bug report and firefox minimised.

-- Backtrace (Reduced):
#6  0x00007fd7e7c264e5 in PartWidget::paintEvent(QPaintEvent*) () from /lib/x86_64-linux-gnu/libkpmcore.so.9
#7  0x00007fd7e6e252b6 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007fd7e6de2a66 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007fd7e6dec0f0 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007fd7e63be93a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5