Bug 393236 - KDE Partition Manager crash when observing or scrolling detailed report
Summary: KDE Partition Manager crash when observing or scrolling detailed report
Status: RESOLVED FIXED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords: drkonqi
: 415929 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-04-17 21:59 UTC by wazhai
Modified: 2020-05-14 00:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wazhai 2018-04-17 21:59:17 UTC
Application: partitionmanager (3.2.1)

Qt Version: 5.9.4
Frameworks Version: 5.44.0
Operating System: Linux 4.15.16-300.fc27.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
I resized a partition and the operation succeeded. I was viewing the detailed command line report in the window and scrolling through it when Partition Manager crashed. No attempt to reproduce it because I don't need any other partitioning operations.

- Unusual behavior I noticed:
This is done from a Fedora 27 KDE live media (respin 2018-04-15). The PC has an NVIDIA GPU and is currently using the nouveau driver which causes random and fairly minor graphical artifacts in all applications (especially text boxes and buttons) but this hasn't impacted the stability of any other applications, so is unlikely to be related to the crash.

-- Backtrace:
Application: KDE Partition Manager (partitionmanager), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f22210d2e00 (LWP 1982))]

Thread 3 (Thread 0x7f21ebd2f700 (LWP 2060)):
#0  0x00007f221855582d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f21f1218f4b in util_queue_thread_func () from /usr/lib64/dri/nouveau_dri.so
#2  0x00007f21f1218e67 in impl_thrd_routine () from /usr/lib64/dri/nouveau_dri.so
#3  0x00007f221854f50b in start_thread () from /lib64/libpthread.so.0
#4  0x00007f221b52516f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f21fd897700 (LWP 1984)):
#0  0x00007f22143fa4e8 in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#1  0x00007f22143fadcb in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f22143fafac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f221c379c4b in QEventDispatcherGlib::processEvents (this=0x7f21f8000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f221c32796a in QEventLoop::exec (this=this@entry=0x7f21fd896c20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f221c1788ca in QThread::exec (this=this@entry=0x7f221dee1060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:515
#6  0x00007f221dc6d449 in QDBusConnectionManager::run (this=0x7f221dee1060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#7  0x00007f221c17cde2 in QThreadPrivate::start (arg=0x7f221dee1060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#8  0x00007f221854f50b in start_thread () from /lib64/libpthread.so.0
#9  0x00007f221b52516f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f22210d2e00 (LWP 1982)):
[KCrash Handler]
#4  0x00007f2220a2e34f in Partition::sectorsUsed (this=this@entry=0x7f220000e2d0) at /usr/src/debug/kpmcore-3.2.1-1.fc27.x86_64/src/core/partition.cpp:185
#5  0x00007f2220a6255c in Partition::used (this=0x7f220000e2d0) at /usr/src/debug/kpmcore-3.2.1-1.fc27.x86_64/src/core/partition.h:175
#6  PartWidget::paintEvent (this=0x560abe7c67c0) at /usr/src/debug/kpmcore-3.2.1-1.fc27.x86_64/src/gui/partwidget.cpp:96
#7  0x00007f221cfd82a8 in QWidget::event (this=0x560abe7c67c0, event=0x7ffe828513f0) at kernel/qwidget.cpp:9279
#8  0x00007f221cf9992c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x560abe7c67c0, e=0x7ffe828513f0) at kernel/qapplication.cpp:3722
#9  0x00007f221cfa1174 in QApplication::notify (this=0x7ffe828533d0, receiver=0x560abe7c67c0, e=0x7ffe828513f0) at kernel/qapplication.cpp:3481
#10 0x00007f221c328be7 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x560abe7c67c0, event=event@entry=0x7ffe828513f0) at kernel/qcoreapplication.cpp:1016
#11 0x00007f221cfd139a in QCoreApplication::sendSpontaneousEvent (event=0x7ffe828513f0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#12 QWidgetPrivate::sendPaintEvent (this=this@entry=0x560abe50ef90, toBePainted=...) at kernel/qwidget.cpp:5714
#13 0x00007f221cfd195a in QWidgetPrivate::drawWidget (this=this@entry=0x560abe50ef90, pdev=pdev@entry=0x560abe4d0a30, rgn=..., offset=..., flags=flags@entry=36, sharedPainter=sharedPainter@entry=0x0, backingStore=<optimized out>) at kernel/qwidget.cpp:5654
#14 0x00007f221cfd25d0 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x560abe13cd10, pdev=pdev@entry=0x560abe4d0a30, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=36, sharedPainter=0x0, backingStore=0x560abe3ef5e0) at kernel/qwidget.cpp:5849
#15 0x00007f221cfd1566 in QWidgetPrivate::drawWidget (this=this@entry=0x560abe13cd10, pdev=pdev@entry=0x560abe4d0a30, rgn=..., offset=..., flags=flags@entry=36, sharedPainter=sharedPainter@entry=0x0, backingStore=<optimized out>) at kernel/qwidget.cpp:5705
#16 0x00007f221cfd25d0 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x560abe14a930, pdev=pdev@entry=0x560abe4d0a30, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=36, sharedPainter=0x0, backingStore=0x560abe3ef5e0) at kernel/qwidget.cpp:5849
#17 0x00007f221cfd2759 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x560abe14a930, pdev=pdev@entry=0x560abe4d0a30, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=36, sharedPainter=0x0, backingStore=0x560abe3ef5e0) at kernel/qwidget.cpp:5835
#18 0x00007f221cfd1566 in QWidgetPrivate::drawWidget (this=this@entry=0x560abe14a930, pdev=pdev@entry=0x560abe4d0a30, rgn=..., offset=..., flags=flags@entry=36, sharedPainter=sharedPainter@entry=0x0, backingStore=<optimized out>) at kernel/qwidget.cpp:5705
#19 0x00007f221cfd25d0 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x560abe0cb590, pdev=pdev@entry=0x560abe4d0a30, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=36, sharedPainter=0x0, backingStore=0x560abe3ef5e0) at kernel/qwidget.cpp:5849
#20 0x00007f221cfd2759 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x560abe0cb590, pdev=pdev@entry=0x560abe4d0a30, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=36, sharedPainter=0x0, backingStore=0x560abe3ef5e0) at kernel/qwidget.cpp:5835
#21 0x00007f221cfd2759 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x560abe0cb590, pdev=pdev@entry=0x560abe4d0a30, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=36, sharedPainter=0x0, backingStore=0x560abe3ef5e0) at kernel/qwidget.cpp:5835
#22 0x00007f221cfd2759 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x560abe0cb590, pdev=pdev@entry=0x560abe4d0a30, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=36, sharedPainter=0x0, backingStore=0x560abe3ef5e0) at kernel/qwidget.cpp:5835
#23 0x00007f221cfd2759 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x560abe0cb590, pdev=pdev@entry=0x560abe4d0a30, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=36, sharedPainter=0x0, backingStore=0x560abe3ef5e0) at kernel/qwidget.cpp:5835
#24 0x00007f221cfd2759 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x560abe0cb590, pdev=pdev@entry=0x560abe4d0a30, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=36, sharedPainter=0x0, backingStore=0x560abe3ef5e0) at kernel/qwidget.cpp:5835
#25 0x00007f221cfd2759 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x560abe0cb590, pdev=pdev@entry=0x560abe4d0a30, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=36, sharedPainter=0x0, backingStore=0x560abe3ef5e0) at kernel/qwidget.cpp:5835
#26 0x00007f221cfd2759 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x560abe0cb590, pdev=pdev@entry=0x560abe4d0a30, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=36, sharedPainter=0x0, backingStore=0x560abe3ef5e0) at kernel/qwidget.cpp:5835
#27 0x00007f221cfd2759 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x560abe0cb590, pdev=pdev@entry=0x560abe4d0a30, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=36, sharedPainter=0x0, backingStore=0x560abe3ef5e0) at kernel/qwidget.cpp:5835
#28 0x00007f221cfd2759 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x560abe0cb590, pdev=pdev@entry=0x560abe4d0a30, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=36, sharedPainter=0x0, backingStore=0x560abe3ef5e0) at kernel/qwidget.cpp:5835
#29 0x00007f221cfd1566 in QWidgetPrivate::drawWidget (this=this@entry=0x560abe0cb590, pdev=0x560abe4d0a30, rgn=..., offset=..., flags=flags@entry=37, sharedPainter=sharedPainter@entry=0x0, backingStore=<optimized out>) at kernel/qwidget.cpp:5705
#30 0x00007f221cfa8e60 in QWidgetBackingStore::doSync (this=this@entry=0x560abe3ef5e0) at kernel/qwidgetbackingstore.cpp:1375
#31 0x00007f221cfa9105 in QWidgetBackingStore::sync (this=0x560abe3ef5e0) at kernel/qwidgetbackingstore.cpp:1162
#32 0x00007f221cfc081f in QWidgetPrivate::syncBackingStore (this=0x560abe0cb590) at kernel/qwidget.cpp:1972
#33 0x00007f221cfd8418 in QWidget::event (this=this@entry=0x560abe0cf020, event=event@entry=0x560abe50e5c0) at kernel/qwidget.cpp:9218
#34 0x00007f221d0ec59b in QMainWindow::event (this=this@entry=0x560abe0cf020, event=event@entry=0x560abe50e5c0) at widgets/qmainwindow.cpp:1563
#35 0x00007f22201dc1b7 in KMainWindow::event (this=this@entry=0x560abe0cf020, ev=ev@entry=0x560abe50e5c0) at /usr/src/debug/kf5-kxmlgui-5.44.0-1.fc27.x86_64/src/kmainwindow.cpp:865
#36 0x00007f2220220f05 in KXmlGuiWindow::event (this=0x560abe0cf020, ev=0x560abe50e5c0) at /usr/src/debug/kf5-kxmlgui-5.44.0-1.fc27.x86_64/src/kxmlguiwindow.cpp:119
#37 0x00007f221cf9992c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x560abe0cf020, e=0x560abe50e5c0) at kernel/qapplication.cpp:3722
#38 0x00007f221cfa1174 in QApplication::notify (this=0x7ffe828533d0, receiver=0x560abe0cf020, e=0x560abe50e5c0) at kernel/qapplication.cpp:3481
#39 0x00007f221c328be7 in QCoreApplication::notifyInternal2 (receiver=0x560abe0cf020, event=event@entry=0x560abe50e5c0) at kernel/qcoreapplication.cpp:1016
#40 0x00007f221c32b36b in QCoreApplication::sendEvent (event=0x560abe50e5c0, receiver=<optimized out>) at kernel/qcoreapplication.h:233
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x560abe039ae0) at kernel/qcoreapplication.cpp:1676
#42 0x00007f221c32b888 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1530
#43 0x00007f221c379e43 in postEventSourceDispatch (s=0x560abe0a23f0) at kernel/qeventdispatcher_glib.cpp:276
#44 0x00007f22143fab77 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#45 0x00007f22143faf20 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#46 0x00007f22143fafac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#47 0x00007f221c379c2f in QEventDispatcherGlib::processEvents (this=0x560abe09b8a0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#48 0x00007f221c32796a in QEventLoop::exec (this=this@entry=0x7ffe828532e0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#49 0x00007f221c330094 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1289
#50 0x0000560abd73b01b in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kde-partitionmanager-3.2.1-3.fc27.1.x86_64/src/main.cpp:93

Possible duplicates by query: bug 375599.

Reported using DrKonqi
Comment 1 Andrius Štikonas 2018-04-17 22:41:17 UTC
Maybe there is any more information that you can provide?
At least what was the type of file system and maybe the rough size before and after?

So from what I understood, you clicked "Details >>" button and was just scrolling down? It's even stranger that crash happened during scrolling... KPM is not doing anything in particular while you scroll... 

So far I can't reproduce it and if I can't reproduce then there is no way I can fix it. Somehow backtraces in kpmcore often blame Partition::sectorsUsed even when the problem is elsewhere, so unfortunatly backtrace won't be enough...
Comment 2 wazhai 2018-04-17 23:15:22 UTC
It was a GPT disk and I was resizing a Windows NTFS partition (primary type but a data partition, not Windows system, flags: msft-data). It was positioned last on the disk and I shrunk it from 490 to 440 GB, to free up space at the end of the disk.

As the operation first started, I clicked opened the collapsible item in the top part first and then clicked "Details >>". I scrolled a few times at the start of the operation. Then I didn't touch it and let it finish. I came back after it had finished, saw "successfully completed" and scrolled to the top to review the output and as I was scrolling/looking at it, it crashed. I can't say with certainty whether it's related to scrolling or if it happened exactly when scrolling, because that's not something I paid attention to.

I think that's all the detail I can provide. I can try to play around more with it when I have the time and see if I can reproduce it. But I don't know how effective it will be because I can't really do resizes of this magnitude (and under the same circumstances unless I reformat it with Windows) and this is my production system. I hope these details can help you and I'm willing to do what I can to help narrow it down if possible.
Comment 3 Anar 2018-09-04 15:08:28 UTC
Application: partitionmanager (3.3.1)

Qt Version: 5.9.5
Frameworks Version: 5.44.0
Operating System: Linux 4.15.0-33-generic x86_64
Distribution: Ubuntu 18.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I Have 6 partitions in sda (system running in sdb)
I'm trying to expand the sd6.

-- Backtrace:
Application: KDE Disk Bölümü Yöneticisi (partitionmanager), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fce1a922840 (LWP 1773))]

Thread 3 (Thread 0x7fcde0dfc700 (LWP 2589)):
#0  0x00007fce167becf6 in __GI_ppoll (fds=0x7fcde0dfb710, nfds=4, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007fce171084d0 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fce17039e7b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fce1702faab in QProcess::waitForFinished(int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fce1a50134e in ExternalCommand::waitFor(int) () from /usr/lib/x86_64-linux-gnu/libkpmcore.so.7
#5  0x00007fce1a50154a in ExternalCommand::run(int) () from /usr/lib/x86_64-linux-gnu/libkpmcore.so.7
#6  0x00007fcdfe070449 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/libpmlibpartedbackendplugin.so
#7  0x00007fce1a4fb8aa in ?? () from /usr/lib/x86_64-linux-gnu/libkpmcore.so.7
#8  0x00007fce1a4e7fea in ResizeOperation::move(Report&) () from /usr/lib/x86_64-linux-gnu/libkpmcore.so.7
#9  0x00007fce1a4e90ed in ResizeOperation::execute(Report&) () from /usr/lib/x86_64-linux-gnu/libkpmcore.so.7
#10 0x00007fce1a4d0bcf in OperationRunner::run() () from /usr/lib/x86_64-linux-gnu/libkpmcore.so.7
#11 0x00007fce16ed516d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fce127006db in start_thread (arg=0x7fcde0dfc700) at pthread_create.c:463
#13 0x00007fce167cb88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fcdfea78700 (LWP 1775)):
#0  0x00007fce167bebf9 in __GI___poll (fds=0x7fcdf8004db0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fce10e49439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fce10e4954c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fce1710c90b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fce170b19ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fce16ed022a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fce15fdbd45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fce16ed516d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fce127006db in start_thread (arg=0x7fcdfea78700) at pthread_create.c:463
#9  0x00007fce167cb88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fce1a922840 (LWP 1773)):
[KCrash Handler]
#4  0x0000000000000000 in ?? ()
#5  0x00007fce1a4d4972 in Partition::sectorsUsed() const () from /usr/lib/x86_64-linux-gnu/libkpmcore.so.7
#6  0x00007fce1a50919c in PartWidget::paintEvent(QPaintEvent*) () from /usr/lib/x86_64-linux-gnu/libkpmcore.so.7
#7  0x00007fce17e70038 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007fce17e3182c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007fce17e390f4 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007fce170b39a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fce17e6918a in QWidgetPrivate::sendPaintEvent(QRegion const&) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007fce17e6974a in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007fce17e6a3b0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007fce17e6a539 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007fce17e69356 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007fce17e6a3b0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007fce17e6a539 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007fce17e69356 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007fce17e6a3b0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007fce17e6a539 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007fce17e6a539 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007fce17e6a539 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007fce17e6a539 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007fce17e6a539 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007fce17e6a539 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007fce17e6a539 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007fce17e6a539 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007fce17e6a539 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007fce17e69356 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007fce17e40dee in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007fce17e41095 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007fce17e5866f in QWidgetPrivate::syncBackingStore() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007fce17e701a8 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007fce17f83c4b in QMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007fce19c89b87 in KMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#36 0x00007fce19cce9e5 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#37 0x00007fce17e3182c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007fce17e390f4 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#39 0x00007fce170b39a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007fce170b611d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007fce1710d2c3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x00007fce10e49287 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fce10e494c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007fce10e4954c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007fce1710c8ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#46 0x00007fce170b19ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#47 0x00007fce170baa84 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#48 0x00005584704a8eef in main ()

Possible duplicates by query: bug 393236, bug 384679.
Comment 4 Andrius Štikonas 2020-01-07 22:06:20 UTC
*** Bug 415929 has been marked as a duplicate of this bug. ***
Comment 5 Andrius Štikonas 2020-05-14 00:22:50 UTC
(In reply to Andrius Štikonas from comment #4)
> *** Bug 415929 has been marked as a duplicate of this bug. ***

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.