Bug 414465

Summary: Partition manager crashes when analysing devices at startup
Product: [Applications] partitionmanager Reporter: Xwang <xwaang1976>
Component: generalAssignee: Andrius Štikonas <andrius>
Status: RESOLVED FIXED    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 4.0.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Xwang 2019-11-24 15:24:11 UTC
Application: partitionmanager (4.0.0)

Qt Version: 5.13.2
Frameworks Version: 5.64.0
Operating System: Linux 5.3.12-arch1-1 x86_64
Distribution: Arch Linux

-- Information about the crash:
- What I was doing when the application crashed:

I had just opened the application and it crashed when analysing devices at startup.
Une hour before it workd perfectly, but there was only an external USB device instead of two.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Partition Manager (partitionmanager), signal: Floating point exception
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f895c8bac80 (LWP 1652))]

Thread 5 (Thread 0x7f8947fff700 (LWP 1657)):
#0  0x00007f89603c742c in read () at /usr/lib/libc.so.6
#1  0x00007f895ee0d9f0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f895ee5b9e1 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f895ee5d0c8 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f895ee5e0c3 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#5  0x00007f8950c60bc8 in  () at /usr/lib/libgio-2.0.so.0
#6  0x00007f895ee39bb1 in  () at /usr/lib/libglib-2.0.so.0
#7  0x00007f895f7cf4cf in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f89603d62d3 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f8950b8d700 (LWP 1656)):
#0  0x00007f895ee0d4e4 in g_mutex_unlock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f895ee5b15b in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#2  0x00007f895ee5d1b1 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f895ee5d1f1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f895ee5d242 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007f895ee39bb1 in  () at /usr/lib/libglib-2.0.so.0
#6  0x00007f895f7cf4cf in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007f89603d62d3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f8951900700 (LWP 1655)):
#0  0x00007f89603c742c in read () at /usr/lib/libc.so.6
#1  0x00007f895ee0d9f0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f895ee5b9e1 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f895ee5d0c8 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f895ee5d1f1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f8960972b2c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f896091983c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f89620da3b9 in  () at /usr/lib/libkpmcore.so.8
#8  0x00007f896074c530 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f895f7cf4cf in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f89603d62d3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f8959ac0700 (LWP 1654)):
#0  0x00007f89603c742c in read () at /usr/lib/libc.so.6
#1  0x00007f895ee0d9f0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f895ee5b9e1 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f895ee5d0c8 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f895ee5d1f1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f8960972b2c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f896091983c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f896074b305 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f89600bdb37 in  () at /usr/lib/libQt5DBus.so.5
#9  0x00007f896074c530 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f895f7cf4cf in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f89603d62d3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f895c8bac80 (LWP 1652)):
[KCrash Handler]
#6  0x00007f89620e5ee9 in PartWidget::paintEvent(QPaintEvent*) () at /usr/lib/libkpmcore.so.8
#7  0x00007f8961318096 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#8  0x00007f89612d44e5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#9  0x00007f89612dde11 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#10 0x00007f896091ad12 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#11 0x00007f8961310a78 in QWidgetPrivate::sendPaintEvent(QRegion const&) () at /usr/lib/libQt5Widgets.so.5
#12 0x00007f89613112eb in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#13 0x00007f8961312048 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#14 0x00007f8961310fed in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#15 0x00007f8961312048 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007f8961310fed in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#17 0x00007f8961312048 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#18 0x00007f8961311f22 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#19 0x00007f8961311f22 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#20 0x00007f8961310fed in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#21 0x00007f89612e720c in  () at /usr/lib/libQt5Widgets.so.5
#22 0x00007f89612e7629 in  () at /usr/lib/libQt5Widgets.so.5
#23 0x00007f89612ff8e7 in QWidgetPrivate::syncBackingStore() () at /usr/lib/libQt5Widgets.so.5
#24 0x00007f8961318460 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#25 0x00007f89614313a5 in QMainWindow::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#26 0x00007f8961e3041c in KMainWindow::event(QEvent*) () at /usr/lib/libKF5XmlGui.so.5
#27 0x00007f8961e7bbd8 in KXmlGuiWindow::event(QEvent*) () at /usr/lib/libKF5XmlGui.so.5
#28 0x00007f89612d44e5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#29 0x00007f89612dde11 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#30 0x00007f896091ad12 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#31 0x00007f89612e80ed in  () at /usr/lib/libQt5Widgets.so.5
#32 0x00007f89612ea7e0 in  () at /usr/lib/libQt5Widgets.so.5
#33 0x00007f896130183f in QWidget::repaint(QRect const&) () at /usr/lib/libQt5Widgets.so.5
#34 0x00007f896130189d in QWidget::repaint() () at /usr/lib/libQt5Widgets.so.5
#35 0x00005604319730b0 in  ()
#36 0x000056043196a42c in  ()
#37 0x000056043195be4f in  ()
#38 0x0000560431932681 in  ()
#39 0x00007f89609474fa in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#40 0x00007f896131803b in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#41 0x00007f89614313a5 in QMainWindow::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#42 0x00007f8961e3041c in KMainWindow::event(QEvent*) () at /usr/lib/libKF5XmlGui.so.5
#43 0x00007f8961e7bbd8 in KXmlGuiWindow::event(QEvent*) () at /usr/lib/libKF5XmlGui.so.5
#44 0x00007f89612d44e5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#45 0x00007f89612dde11 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#46 0x00007f896091ad12 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#47 0x00007f896091da89 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#48 0x00007f8960973514 in  () at /usr/lib/libQt5Core.so.5
#49 0x00007f895ee5b39e in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#50 0x00007f895ee5d1b1 in  () at /usr/lib/libglib-2.0.so.0
#51 0x00007f895ee5d1f1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#52 0x00007f8960972b13 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#53 0x00007f896091983c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#54 0x00007f8960921676 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#55 0x00005604319317a2 in main ()
[Inferior 1 (process 1652) detached]

Possible duplicates by query: bug 414388, bug 413943, bug 413927, bug 413418, bug 413349.

Reported using DrKonqi
Comment 1 Andrius Štikonas 2020-05-14 00:23:52 UTC
It's very likely to be fixed in kpmcore git master. If it still doesn't work in future releases (I guess 4.2.0) please reopen.