Bug 446233

Summary: KDE Partition Manager crash
Product: [Applications] partitionmanager Reporter: Jacques <tux34000>
Component: generalAssignee: Andrius Štikonas <andrius>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 4.1.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jacques 2021-11-29 10:39:00 UTC
Application: partitionmanager (4.1.0)

Qt Version: 5.12.8
Frameworks Version: 5.68.0
Operating System: Linux 5.11.0-40-generic x86_64
Windowing system: X11
Distribution: Ubuntu 20.04.3 LTS

-- Information about the crash:
- What I was doing when the application crashed:
i tried to partition a usb key, the key was previously partition with W10 and had a corrupted partition table:

(cf size +800Gb !!)

KDE partition manager crashed
Note: the same key is partionned/formatted OK with Gparted

$ sudo fdisk -l

Disk /dev/sdb: 3.66 GiB, 3911188480 bytes, 7639040 sectors
Disk model: Transcend 4GB   
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0a0dff65

Device     Boot      Start        End    Sectors   Size Id Type
/dev/sdb1       1869881445 3571221465 1701340021 811.3G 7a unknown
/dev/sdb2       1634566756 3553817813 1919251058 915.2G 72 unknown
/dev/sdb3                0          0          0     0B  0 Empty
/dev/sdb4         28049408   28049849        442   221K  0 Empty

Partition table entries are not in disk order.

The crash can be reproduced every time.

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

Thread 6 (Thread 0x7f972ffff700 (LWP 17421)):
#0  __GI___libc_read (nbytes=16, buf=0x7f972fffecd0, fd=18) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=18, buf=0x7f972fffecd0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f974caaeb2f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f974ca65ebe in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f974ca66312 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f974ca666f3 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f974057bf8a in ?? () from /lib/x86_64-linux-gnu/libgio-2.0.so.0
#7  0x00007f974ca8fad1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f974d2ad609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f974dda0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f9734ffe700 (LWP 17420)):
#0  0x00007f974dd93aff in __GI___poll (fds=0x56177a6e04a0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f974ca6636e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f974ca664a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f974ca664f1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f974ca8fad1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f974d2ad609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f974dda0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f97357ff700 (LWP 17419)):
#0  0x00007f974e33249f in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007f974ca658ef in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f974ca6629b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f974ca664a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f974e332583 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f974e2d94db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f974fafc05f in ?? () from /lib/x86_64-linux-gnu/libkpmcore.so.9
#7  0x00007f974e1129d2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f974d2ad609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f974dda0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f9743fff700 (LWP 17417)):
#0  __GI___libc_read (nbytes=16, buf=0x7f9743ffeb60, fd=7) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=7, buf=0x7f9743ffeb60, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f974caaeb2f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f974ca65ebe in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f974ca66312 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f974ca664a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f974e332583 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f974e2d94db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f974e111785 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f974db7eefa in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#10 0x00007f974e1129d2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f974d2ad609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007f974dda0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f9749b40700 (LWP 17416)):
#0  0x00007f974dd93aff in __GI___poll (fds=0x7f9749b3fca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f974c9a2c1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f974c9a490a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f974a34b298 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f974e1129d2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f974d2ad609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f974dda0293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f974a9f5800 (LWP 17413)):
[KCrash Handler]
#6  0x00007f974fb074e5 in PartWidget::paintEvent(QPaintEvent*) () from /lib/x86_64-linux-gnu/libkpmcore.so.9
#7  0x00007f974ed352b6 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007f974ecf2a66 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007f974ecfc0f0 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f974e2da93a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f974ed2df4a in QWidgetPrivate::sendPaintEvent(QRegion const&) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f974ed2e799 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f974ed2f423 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f974ed2e4a4 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f974ed2f423 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f974ed2f306 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f974ed2e4a4 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f974ed2f423 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f974ed2f306 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f974ed2f306 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f974ed2e4a4 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f974ed04bfc in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007f974ed04dc1 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f974ed1d385 in QWidgetPrivate::syncBackingStore() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007f974ed35cac in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007f974ee4a148 in QMainWindow::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007f974f84b9ab in KMainWindow::event(QEvent*) () from /lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#28 0x00007f974f8965bb in KXmlGuiWindow::event(QEvent*) () from /lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#29 0x00007f974ecf2a66 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007f974ecfc0f0 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007f974e2da93a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007f974ed05e53 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007f974ed06db0 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007f974ed1f231 in QWidget::repaint(QRect const&) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007f974ed1f2a0 in QWidget::repaint() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00005617796a809b in ?? ()
#37 0x000056177969ed91 in ?? ()
#38 0x000056177969f2a0 in ?? ()
#39 0x00007f974e306458 in QMetaObject::activate(QObject*, int, int, void**) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x0000561779665e26 in ?? ()
#41 0x00005617796898f2 in ?? ()
#42 0x0000561779666285 in ?? ()
#43 0x00005617796669f1 in ?? ()
#44 0x00007f974e3063bc in QMetaObject::activate(QObject*, int, int, void**) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x00007f974e306300 in QMetaObject::activate(QObject*, int, int, void**) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#46 0x00007f974e295fb4 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#47 0x00007f974e29b3a4 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#48 0x00007f974e29dfc7 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#49 0x00007f974ef9d6c4 in QListView::setSelection(QRect const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#50 0x00007f974ef6150a in QAbstractItemView::mousePressEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#51 0x00007f974ed352d1 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#52 0x00007f974ede2d52 in QFrame::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#53 0x00007f974ef67482 in QAbstractItemView::viewportEvent(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#54 0x00007f974e2da64b in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#55 0x00007f974ecf2a55 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#56 0x00007f974ecfc343 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#57 0x00007f974e2da93a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#58 0x00007f974ecfb457 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#59 0x00007f974ed5135d in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#60 0x00007f974ed541ec in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#61 0x00007f974ecf2a66 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#62 0x00007f974ecfc0f0 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#63 0x00007f974e2da93a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#64 0x00007f974e6c37d3 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#65 0x00007f974e6c510b in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#66 0x00007f974e69f35b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#67 0x00007f974a34c32e in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#68 0x00007f974ca6617d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#69 0x00007f974ca66400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#70 0x00007f974ca664a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#71 0x00007f974e332565 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#72 0x00007f974e2d94db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#73 0x00007f974e2e1246 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#74 0x0000561779665b99 in main ()
[Inferior 1 (process 17413) detached]

Possible duplicates by query: bug 445746, bug 445496, bug 445364, bug 445355, bug 445150.

Reported using DrKonqi
Comment 1 Andrius Štikonas 2021-11-29 10:48:51 UTC
Probably fixed some time ago

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