Bug 377481 - Partition Manager sometimes crashes when saving output after FS creation
Summary: Partition Manager sometimes crashes when saving output after FS creation
Status: RESOLVED DUPLICATE of bug 364863
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
Depends on:
Blocks:
 
Reported: 2017-03-11 05:26 UTC by Edward Donovan
Modified: 2017-03-13 05:04 UTC (History)
0 users

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 Edward Donovan 2017-03-11 05:26:40 UTC
Application: partitionmanager (2.2.1)

Qt Version: 5.7.1
Frameworks Version: 5.31.0
Operating System: Linux 4.9.13-200.fc25.x86_64 x86_64
Distribution (Platform): Fedora RPMs

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

I have created new filesystems on a few disks, using Partition Manager today.  After the FS was successfully created, I hit the button to save the output.  Once, this has succeeded.  The next two times, after restarting and creating more fiilesystems on different disks, the application crashed immediately after hitting the button to save.  There was no prompting for a filename, and nothign was saved.

I'm not sure if this relates: the FSes I created were all on identical 500G hard drives.  Some were Ext4 and some XFS.  Crashes happened after one of each of those.  What might have been unusual was that the first runs of FS creation took several minutes.  Later runs took only several seconds.  This sounds like some kind of caching speeding process, but the work was done on new blank disks each time, so I'm not sure how.  I probably don't have all the possibilities in mind.  But I believe it was after the near-instant FS creation runs, that K.P.M crashed when I asked to save the log.  

Thank you.  :)

The crash can be reproduced sometimes.

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

Thread 4 (Thread 0x7ff09ec4f700 (LWP 27488)):
#0  0x00007ff0c6e61460 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff0a28f0c4b in util_queue_thread_func () from /usr/lib64/dri/r600_dri.so
#2  0x00007ff0a28f0aa7 in impl_thrd_routine () from /usr/lib64/dri/r600_dri.so
#3  0x00007ff0c6e5b6ca in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff0c93faf7f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7ff0ab8c2700 (LWP 27406)):
#0  0x00007ff0c93ef01d in poll () from /lib64/libc.so.6
#1  0x00007ff0c2e03166 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007ff0c2e0327c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007ff0ca1f56eb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007ff0ca1a668a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007ff0ca0035e3 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007ff0caf08739 in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#7  0x00007ff0ca0079ca in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007ff0c6e5b6ca in start_thread () from /lib64/libpthread.so.0
#9  0x00007ff0c93faf7f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7ff0b40a6700 (LWP 27405)):
#0  0x00007ff0c93ef01d in poll () from /lib64/libc.so.6
#1  0x00007ff0c24f9d10 in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007ff0c24fbaa9 in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007ff0b84ffd69 in QXcbEventReader::run() () from /lib64/libQt5XcbQpa.so.5
#4  0x00007ff0ca0079ca in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007ff0c6e5b6ca in start_thread () from /lib64/libpthread.so.0
#6  0x00007ff0c93faf7f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ff0cdf2b940 (LWP 27404)):
[KCrash Handler]
#6  0x00007ff0cda5e80f in Partition::sectorsUsed() const () from /lib64/libkpmcore.so.3
#7  0x00007ff0cda8ef6c in PartWidget::paintEvent(QPaintEvent*) () from /lib64/libkpmcore.so.3
#8  0x00007ff0caa2f7c0 in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#9  0x00007ff0ca9e7ecc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#10 0x00007ff0ca9ef671 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#11 0x00007ff0ca1a76fa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#12 0x00007ff0caa2847a in QWidgetPrivate::sendPaintEvent(QRegion const&) () from /lib64/libQt5Widgets.so.5
#13 0x00007ff0caa28af3 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQt5Widgets.so.5
#14 0x00007ff0caa2982d in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQt5Widgets.so.5
#15 0x00007ff0caa28644 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQt5Widgets.so.5
#16 0x00007ff0caa2982d in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQt5Widgets.so.5
#17 0x00007ff0caa2971a in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQt5Widgets.so.5
#18 0x00007ff0caa28644 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQt5Widgets.so.5
#19 0x00007ff0caa2982d in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQt5Widgets.so.5
#20 0x00007ff0caa2971a in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQt5Widgets.so.5
#21 0x00007ff0caa2971a in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQt5Widgets.so.5
#22 0x00007ff0caa2971a in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQt5Widgets.so.5
#23 0x00007ff0caa2971a in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQt5Widgets.so.5
#24 0x00007ff0caa2971a in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQt5Widgets.so.5
#25 0x00007ff0caa2971a in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQt5Widgets.so.5
#26 0x00007ff0caa2971a in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQt5Widgets.so.5
#27 0x00007ff0caa2971a in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQt5Widgets.so.5
#28 0x00007ff0caa2971a in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQt5Widgets.so.5
#29 0x00007ff0caa2971a in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQt5Widgets.so.5
#30 0x00007ff0caa2971a in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQt5Widgets.so.5
#31 0x00007ff0caa2971a in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQt5Widgets.so.5
#32 0x00007ff0caa2971a in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQt5Widgets.so.5
#33 0x00007ff0caa28644 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /lib64/libQt5Widgets.so.5
#34 0x00007ff0ca9f823e in QWidgetBackingStore::doSync() () from /lib64/libQt5Widgets.so.5
#35 0x00007ff0ca9f847f in QWidgetBackingStore::sync() () from /lib64/libQt5Widgets.so.5
#36 0x00007ff0caa173af in QWidgetPrivate::syncBackingStore() () from /lib64/libQt5Widgets.so.5
#37 0x00007ff0caa2f898 in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#38 0x00007ff0cab2f2ab in QMainWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#39 0x00007ff0cd239747 in KMainWindow::event(QEvent*) () from /lib64/libKF5XmlGui.so.5
#40 0x00007ff0cd27ee55 in KXmlGuiWindow::event(QEvent*) () from /lib64/libKF5XmlGui.so.5
#41 0x00007ff0ca9e7ecc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#42 0x00007ff0ca9ef671 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#43 0x00007ff0ca1a76fa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#44 0x00007ff0ca1a9de0 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#45 0x00007ff0ca1f5653 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#46 0x00007ff0c2e02e52 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#47 0x00007ff0c2e031d0 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#48 0x00007ff0c2e0327c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#49 0x00007ff0ca1f56cf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#50 0x00007ff0ca1a668a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#51 0x00007ff0cb563dde in KJob::exec() () from /lib64/libKF5CoreAddons.so.5
#52 0x00007ff0b2fe162d in KFileWidget::KFileWidget(QUrl const&, QWidget*) () from /lib64/libKF5KIOFileWidgets.so.5
#53 0x00007ff0b326b19b in KDEPlatformFileDialog::KDEPlatformFileDialog() () from /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so
#54 0x00007ff0b326b822 in KDEPlatformFileDialogHelper::KDEPlatformFileDialogHelper() () from /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so
#55 0x00007ff0b3260b3a in KdePlatformTheme::createPlatformDialogHelper(QPlatformTheme::DialogType) const () from /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so
#56 0x00007ff0cabd5e7f in QDialogPrivate::platformHelper() const () from /lib64/libQt5Widgets.so.5
#57 0x00007ff0cabe88fb in QFileDialogPrivate::init(QUrl const&, QString const&, QString const&) () from /lib64/libQt5Widgets.so.5
#58 0x00007ff0cabe8d56 in QFileDialog::QFileDialog(QFileDialogArgs const&) () from /lib64/libQt5Widgets.so.5
#59 0x00007ff0cabe97ad in QFileDialog::getSaveFileUrl(QWidget*, QString const&, QUrl const&, QString const&, QString*, QFlags<QFileDialog::Option>, QStringList const&) () from /lib64/libQt5Widgets.so.5
#60 0x00005612c61a81d1 in ApplyProgressDialog::saveReport() ()
#61 0x00007ff0ca1cea56 in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#62 0x00007ff0caad0a12 in QAbstractButton::clicked(bool) () from /lib64/libQt5Widgets.so.5
#63 0x00007ff0caad0c64 in QAbstractButtonPrivate::emitClicked() () from /lib64/libQt5Widgets.so.5
#64 0x00007ff0caad2077 in QAbstractButtonPrivate::click() () from /lib64/libQt5Widgets.so.5
#65 0x00007ff0caad2264 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#66 0x00007ff0caa2f7c0 in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#67 0x00007ff0ca9e7ecc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#68 0x00007ff0ca9f052d in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#69 0x00007ff0ca1a76fa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#70 0x00007ff0ca9eebbd in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /lib64/libQt5Widgets.so.5
#71 0x00007ff0caa49f46 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#72 0x00007ff0caa4c9a3 in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#73 0x00007ff0ca9e7ecc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#74 0x00007ff0ca9ef671 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#75 0x00007ff0ca1a76fa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#76 0x00007ff0ca4de2b3 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#77 0x00007ff0ca4dfd85 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /lib64/libQt5Gui.so.5
#78 0x00007ff0ca4c0c4b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#79 0x00007ff0b85366c0 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#80 0x00007ff0c2e02e52 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#81 0x00007ff0c2e031d0 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#82 0x00007ff0c2e0327c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#83 0x00007ff0ca1f56cf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#84 0x00007ff0ca1a668a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#85 0x00007ff0ca1ae18c in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#86 0x00005612c619b38c in main ()

Possible duplicates by query: bug 375599, bug 365872, bug 364863, bug 364645, bug 357114.

Reported using DrKonqi
Comment 1 Andrius Štikonas 2017-03-11 13:47:26 UTC
This was fixed some time ago. It shouldn't crash on Fedora 26.

*** This bug has been marked as a duplicate of bug 364863 ***
Comment 2 Edward Donovan 2017-03-13 05:04:33 UTC
Pardon the duplicate, then.  I used the KDE bug reporting tool, and searched for dupes there, repeatedly, but maybe that doesn't work well enough.  Thanks.