Application: partitionmanager (1.2.1) Qt Version: 5.5.1 Operating System: Linux 4.2.8-200.fc22.x86_64 x86_64 Distribution: "Fedora release 22 (Twenty Two)" -- Information about the crash: Tried several times to remove existing Fat32 partition from SD card. Every time KDE Partition Manager craches before this action (but after approving it) The crash can be reproduced every time. -- Backtrace: Application: KDE Partition Manager (partitionmanager), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7fee18f068c0 (LWP 11702))] Thread 3 (Thread 0x7fedfb0f7700 (LWP 11703)): #0 0x00007fee12e852fd in poll () at /lib64/libc.so.6 #1 0x00007fee0f6bd182 in _xcb_conn_wait () at /lib64/libxcb.so.1 #2 0x00007fee0f6bec77 in xcb_wait_for_event () at /lib64/libxcb.so.1 #3 0x00007fedfd287da9 in QXcbEventReader::run() () at /lib64/libQt5XcbQpa.so.5 #4 0x00007fee13a923ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5 #5 0x00007fee107a2555 in start_thread () at /lib64/libpthread.so.0 #6 0x00007fee12e90b9d in clone () at /lib64/libc.so.6 Thread 2 (Thread 0x7fedd9ffb700 (LWP 11827)): #0 0x00007fee12e8aeb9 in syscall () at /lib64/libc.so.6 #1 0x00007fee0efb314a in g_cond_wait_until () at /lib64/libglib-2.0.so.0 #2 0x00007fee0ef42a29 in g_async_queue_pop_intern_unlocked () at /lib64/libglib-2.0.so.0 #3 0x00007fee0ef4304b in g_async_queue_timeout_pop () at /lib64/libglib-2.0.so.0 #4 0x00007fee0ef95afa in g_thread_pool_thread_proxy () at /lib64/libglib-2.0.so.0 #5 0x00007fee0ef950a5 in g_thread_proxy () at /lib64/libglib-2.0.so.0 #6 0x00007fee107a2555 in start_thread () at /lib64/libpthread.so.0 #7 0x00007fee12e90b9d in clone () at /lib64/libc.so.6 Thread 1 (Thread 0x7fee18f068c0 (LWP 11702)): [KCrash Handler] #5 0x00007fee18a3b88f in Partition::sectorsUsed() const () at /lib64/libpartitionmanagerprivate.so #6 0x00007fee18ad8b2c in PartWidget::paintEvent(QPaintEvent*) () at /lib64/libpartitionmanagerprivate.so #7 0x00007fee1499c428 in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5 #8 0x00007fee1495941c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5 #9 0x00007fee1495e8e6 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5 #10 0x00007fee13c7377b in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQt5Core.so.5 #11 0x00007fee14994f09 in QWidgetPrivate::sendPaintEvent(QRegion const&) () at /lib64/libQt5Widgets.so.5 #12 0x00007fee14995551 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /lib64/libQt5Widgets.so.5 #13 0x00007fee149961fc in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /lib64/libQt5Widgets.so.5 #14 0x00007fee149960e9 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /lib64/libQt5Widgets.so.5 #15 0x00007fee149950c1 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /lib64/libQt5Widgets.so.5 #16 0x00007fee149961fc in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /lib64/libQt5Widgets.so.5 #17 0x00007fee149950c1 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /lib64/libQt5Widgets.so.5 #18 0x00007fee149961fc in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /lib64/libQt5Widgets.so.5 #19 0x00007fee149960e9 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /lib64/libQt5Widgets.so.5 #20 0x00007fee149950c1 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /lib64/libQt5Widgets.so.5 #21 0x00007fee14966caa in QWidgetBackingStore::doSync() () at /lib64/libQt5Widgets.so.5 #22 0x00007fee14966e8c in QWidgetBackingStore::sync() () at /lib64/libQt5Widgets.so.5 #23 0x00007fee1498503f in QWidgetPrivate::syncBackingStore() () at /lib64/libQt5Widgets.so.5 #24 0x00007fee1499c228 in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5 #25 0x00007fee14ab245b in QMainWindow::event(QEvent*) () at /lib64/libQt5Widgets.so.5 #26 0x00007fee17601a4a in KMainWindow::event(QEvent*) () at /lib64/libKF5XmlGui.so.5 #27 0x00007fee1764c8c5 in KXmlGuiWindow::event(QEvent*) () at /lib64/libKF5XmlGui.so.5 #28 0x00007fee1495941c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5 #29 0x00007fee1495e8e6 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5 #30 0x00007fee13c7377b in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQt5Core.so.5 #31 0x00007fee13c75b76 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5 #32 0x00007fee13cc9ae3 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5 #33 0x00007fee0ef6da8a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0 #34 0x00007fee0ef6de20 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0 #35 0x00007fee0ef6decc in g_main_context_iteration () at /lib64/libglib-2.0.so.0 #36 0x00007fee13cc9eef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5 #37 0x00007fee13c70f0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5 #38 0x00007fee13c78fec in QCoreApplication::exec() () at /lib64/libQt5Core.so.5 #39 0x000055622c8c5167 in main () Possible duplicates by query: bug 328771. Reported using DrKonqi
Another similar crash (which was trigerred by removing partitions) was just fixed in kpmcore master branch (commit 83787cbdfcc78cd51c2461084c6e6534f4f77337) but I'm not sure whether it fixes your crash or not. Would you be willing to compile KPMcore and KPM master branches to test it?
*** Bug 364645 has been marked as a duplicate of this bug. ***
This is a possible duplicate of bug #306476
I think crashes happen when trying to write to read-only device. So I'll mark this as duplicate of another similar bug. If that's not the case please reopen. *** This bug has been marked as a duplicate of bug 365872 ***