Bug 422331 - kde partition manager crashes when import partition table saved previously
Summary: kde partition manager crashes when import partition table saved previously
Status: RESOLVED DUPLICATE of bug 421017
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (show other bugs)
Version: 4.1.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords: drkonqi
: 423528 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-06-01 13:15 UTC by EXAtto
Modified: 2020-10-03 16:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.49 KB, text/plain)
2020-10-03 16:48 UTC, James Flynn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description EXAtto 2020-06-01 13:15:31 UTC
Application: partitionmanager (4.1.0)

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

-- Information about the crash:
kde partition manager crashes when import partition table saved previously

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Partition Manager (partitionmanager), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1103ea2d00 (LWP 4354))]

Thread 7 (Thread 0x7f10d95c7700 (LWP 4360)):
#0  0x00007f10ff9400b4 in __GI___libc_read (fd=17, buf=0x7f10d95c6c50, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f10f9f172b0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f10f9ed20b7 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f10f9ed2570 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f10f9ed2962 in g_main_loop_run () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f10da733276 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007f10f9efa175 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f10fbc866db in start_thread (arg=0x7f10d95c7700) at pthread_create.c:463
#8  0x00007f10ff95188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f10d9dc8700 (LWP 4359)):
#0  0x00007f10ff944bf9 in __GI___poll (fds=0x555988d3aaa0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f10f9ed25c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f10f9ed26dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f10f9ed2721 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f10f9efa175 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f10fbc866db in start_thread (arg=0x7f10d9dc8700) at pthread_create.c:463
#6  0x00007f10ff95188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f10dba97700 (LWP 4358)):
#0  0x00007f10ff944bf9 in __GI___poll (fds=0x7f10cc0029e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f10f9ed25c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f10f9ed26dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f11002ab7cb in QEventDispatcherGlib::processEvents (this=0x7f10cc000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f110024ad2a in QEventLoop::exec (this=this@entry=0x7f10dba96d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f1103a74ec9 in DBusThread::run (this=0x555988d255f0) at ./src/util/externalcommand.cpp:395
#6  0x00007f110005cc2c in QThreadPrivate::start (arg=0x555988d255f0) at thread/qthread_unix.cpp:342
#7  0x00007f10fbc866db in start_thread (arg=0x7f10dba97700) at pthread_create.c:463
#8  0x00007f10ff95188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f10dc298700 (LWP 4357)):
#0  0x00007f10fbc8c9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5559889b4738) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x5559889b46e8, cond=0x5559889b4710) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x5559889b4710, mutex=0x5559889b46e8) at pthread_cond_wait.c:655
#3  0x00007f10dd935ecb in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f10dd935ac7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f10fbc866db in start_thread (arg=0x7f10dc298700) at pthread_create.c:463
#6  0x00007f10ff95188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f10e9776700 (LWP 4356)):
#0  0x00007f10f9f18629 in g_mutex_lock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f10f9ed24d0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f10f9ed26dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f11002ab7cb in QEventDispatcherGlib::processEvents (this=0x7f10e4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f110024ad2a in QEventLoop::exec (this=this@entry=0x7f10e9775cf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f110005b757 in QThread::exec (this=this@entry=0x7f10ff3c3da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:536
#6  0x00007f10ff14b555 in QDBusConnectionManager::run (this=0x7f10ff3c3da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#7  0x00007f110005cc2c in QThreadPrivate::start (arg=0x7f10ff3c3da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:342
#8  0x00007f10fbc866db in start_thread (arg=0x7f10e9776700) at pthread_create.c:463
#9  0x00007f10ff95188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f10f2bbc700 (LWP 4355)):
#0  0x00007f10ff944bf9 in __GI___poll (fds=0x7f10f2bbbc28, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f10f9815747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f10f981736a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f10f558afd0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f110005cc2c in QThreadPrivate::start (arg=0x5559887de580) at thread/qthread_unix.cpp:342
#5  0x00007f10fbc866db in start_thread (arg=0x7f10f2bbc700) at pthread_create.c:463
#6  0x00007f10ff95188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f1103ea2d00 (LWP 4354)):
[KCrash Handler]
#4  0x00007f1103a7f14f in PartWidget::paintEvent (this=0x555988eb6860) at ./src/gui/partwidget.cpp:102
#5  0x00007f110117c8c8 in QWidget::event (this=0x555988eb6860, event=0x7ffc6cec18f0) at kernel/qwidget.cpp:9033
#6  0x00007f110113b9ac in QApplicationPrivate::notify_helper (this=this@entry=0x5559887d3f00, receiver=receiver@entry=0x555988eb6860, e=e@entry=0x7ffc6cec18f0) at kernel/qapplication.cpp:3685
#7  0x00007f1101142bb0 in QApplication::notify (this=0x7ffc6cec38e0, receiver=0x555988eb6860, e=0x7ffc6cec18f0) at kernel/qapplication.cpp:3431
#8  0x00007f110024c4a8 in QCoreApplication::notifyInternal2 (receiver=0x555988eb6860, event=0x7ffc6cec18f0) at kernel/qcoreapplication.cpp:1075
#9  0x00007f110024c68e in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x555988eb6860, event=event@entry=0x7ffc6cec18f0) at kernel/qcoreapplication.cpp:1482
#10 0x00007f1101175005 in QWidgetPrivate::sendPaintEvent (this=this@entry=0x555988db1160, toBePainted=...) at kernel/qwidget.cpp:5474
#11 0x00007f1101175bee in QWidgetPrivate::drawWidget (this=this@entry=0x555988db1160, pdev=pdev@entry=0x5559889a0e70, rgn=..., offset=..., flags=flags@entry=..., sharedPainter=sharedPainter@entry=0x0, repaintManager=<optimized out>) at kernel/qwidget.cpp:5424
#12 0x00007f1101176ab0 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x555988998480, pdev=pdev@entry=0x5559889a0e70, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555988b6ae50) at kernel/qwidget.cpp:5605
#13 0x00007f1101176c39 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x555988998480, pdev=pdev@entry=0x5559889a0e70, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555988b6ae50) at kernel/qwidget.cpp:5591
#14 0x00007f1101176c39 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x555988998480, pdev=pdev@entry=0x5559889a0e70, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555988b6ae50) at kernel/qwidget.cpp:5591
#15 0x00007f1101176c39 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x555988998480, pdev=pdev@entry=0x5559889a0e70, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555988b6ae50) at kernel/qwidget.cpp:5591
#16 0x00007f11011751d2 in QWidgetPrivate::drawWidget (this=this@entry=0x555988998480, pdev=pdev@entry=0x5559889a0e70, rgn=..., offset=..., flags=..., flags@entry=..., sharedPainter=sharedPainter@entry=0x0, repaintManager=<optimized out>) at kernel/qwidget.cpp:5465
#17 0x00007f1101176ab0 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x55598898efd0, pdev=pdev@entry=0x5559889a0e70, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555988b6ae50) at kernel/qwidget.cpp:5605
#18 0x00007f1101176c39 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x55598898efd0, pdev=pdev@entry=0x5559889a0e70, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555988b6ae50) at kernel/qwidget.cpp:5591
#19 0x00007f11011751d2 in QWidgetPrivate::drawWidget (this=this@entry=0x55598898efd0, pdev=pdev@entry=0x5559889a0e70, rgn=..., offset=..., flags=..., flags@entry=..., sharedPainter=sharedPainter@entry=0x0, repaintManager=<optimized out>) at kernel/qwidget.cpp:5465
#20 0x00007f1101176ab0 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x55598886a060, pdev=pdev@entry=0x5559889a0e70, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555988b6ae50) at kernel/qwidget.cpp:5605
#21 0x00007f1101176c39 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x55598886a060, pdev=pdev@entry=0x5559889a0e70, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555988b6ae50) at kernel/qwidget.cpp:5591
#22 0x00007f1101176c39 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x55598886a060, pdev=pdev@entry=0x5559889a0e70, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555988b6ae50) at kernel/qwidget.cpp:5591
#23 0x00007f1101176c39 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x55598886a060, pdev=pdev@entry=0x5559889a0e70, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555988b6ae50) at kernel/qwidget.cpp:5591
#24 0x00007f1101176c39 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x55598886a060, pdev=pdev@entry=0x5559889a0e70, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555988b6ae50) at kernel/qwidget.cpp:5591
#25 0x00007f1101176c39 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x55598886a060, pdev=pdev@entry=0x5559889a0e70, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555988b6ae50) at kernel/qwidget.cpp:5591
#26 0x00007f11011751d2 in QWidgetPrivate::drawWidget (this=this@entry=0x55598886a060, pdev=0x5559889a0e70, rgn=..., offset=..., flags=..., flags@entry=..., sharedPainter=sharedPainter@entry=0x0, repaintManager=<optimized out>) at kernel/qwidget.cpp:5465
#27 0x00007f110114c675 in QWidgetRepaintManager::paintAndFlush (this=this@entry=0x555988b6ae50) at kernel/qwidgetrepaintmanager.cpp:1017
#28 0x00007f110114cd18 in QWidgetRepaintManager::sync (this=0x555988b6ae50) at kernel/qwidgetrepaintmanager.cpp:776
#29 0x00007f110117666f in QWidgetPrivate::syncBackingStore (this=0x55598886a060) at kernel/qwidget.cpp:1765
#30 0x00007f110117ca48 in QWidget::event (this=this@entry=0x5559888c89b0, event=event@entry=0x555988d8d2a0) at kernel/qwidget.cpp:8978
#31 0x00007f1101289ee0 in QMainWindow::event (this=this@entry=0x5559888c89b0, event=event@entry=0x555988d8d2a0) at widgets/qmainwindow.cpp:1341
#32 0x00007f11033eae51 in KMainWindow::event (this=this@entry=0x5559888c89b0, ev=ev@entry=0x555988d8d2a0) at ./src/kmainwindow.cpp:868
#33 0x00007f110342c1f7 in KXmlGuiWindow::event (this=0x5559888c89b0, ev=0x555988d8d2a0) at ./src/kxmlguiwindow.cpp:121
#34 0x00007f110113b9ac in QApplicationPrivate::notify_helper (this=this@entry=0x5559887d3f00, receiver=receiver@entry=0x5559888c89b0, e=e@entry=0x555988d8d2a0) at kernel/qapplication.cpp:3685
#35 0x00007f1101142bb0 in QApplication::notify (this=0x7ffc6cec38e0, receiver=0x5559888c89b0, e=0x555988d8d2a0) at kernel/qapplication.cpp:3431
#36 0x00007f110024c4a8 in QCoreApplication::notifyInternal2 (receiver=0x5559888c89b0, event=0x555988d8d2a0) at kernel/qcoreapplication.cpp:1075
#37 0x00007f110024c67e in QCoreApplication::sendEvent (receiver=receiver@entry=0x5559888c89b0, event=event@entry=0x555988d8d2a0) at kernel/qcoreapplication.cpp:1470
#38 0x00007f110024f121 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x5559887d2710) at kernel/qcoreapplication.cpp:1815
#39 0x00007f110024f6b8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1674
#40 0x00007f11002ac103 in postEventSourceDispatch (s=0x5559888337c0) at kernel/qeventdispatcher_glib.cpp:277
#41 0x00007f10f9ed2417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f10f9ed2650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f10f9ed26dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007f11002ab7ac in QEventDispatcherGlib::processEvents (this=0x55598882cad0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#45 0x00007f110024ad2a in QEventLoop::exec (this=this@entry=0x7ffc6cec3810, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#46 0x00007f11002544a0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1383
#47 0x00005559870a1b38 in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:87

Possible duplicates by query: bug 422200, bug 421930, bug 421576, bug 421017, bug 420793.

Reported using DrKonqi
Comment 1 Andrius Štikonas 2020-06-01 13:31:17 UTC
Can you try KDE Partition Manager from git (e.g. from Neon Developer edition). It was probably already fixed.

*** This bug has been marked as a duplicate of bug 421017 ***
Comment 2 Andrius Štikonas 2020-06-26 09:31:38 UTC
*** Bug 423528 has been marked as a duplicate of this bug. ***
Comment 3 James Flynn 2020-10-03 16:48:59 UTC
Created attachment 132095 [details]
New crash information added by DrKonqi

partitionmanager (4.1.0) using Qt 5.14.2

- What I was doing when the application crashed:

Similarly, using 
Plasma 5.19.5, 
KDE Frameworks 5.74.0,
QT 5.14.2
on Solus 4.1 (kernel 5.16)

I export a partition table config, select the usb ssd I am trying to set up, attempt to import, and immediately experience a crash.

-- Backtrace (Reduced):
#4  0x00007f3d6d734b70 in PartWidget::paintEvent(QPaintEvent*) () at /usr/lib/libkpmcore.so.9
#5  0x00007f3d6cac1c2e in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#6  0x00007f3d6ca7f40f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#7  0x00007f3d6ca88530 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#8  0x00007f3d6bf858e2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5