https://bugs.kde.org/show_bug.cgi?id=430393

            Bug ID: 430393
           Summary: bail from unnecessary partition scan; crash
           Product: partitionmanager
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: andr...@stikonas.eu
          Reporter: nthnh...@gmail.com
  Target Milestone: ---

SUMMARY
When you don't want to wait for a re-scan after actions were successfully
performed, the application crashes.

STEPS TO REPRODUCE
1. Insert USB drive you don't care about.
2. Delete the partition (assuming there is only one).
3. 

OBSERVED RESULT
Crash. The bug reporter also automatically restarts partitionmanager (as normal
user) whether or not I check the box to do so. The bug reporter also has
several broken links, and when trying to login the login button never becomes
enabled. 

EXPECTED RESULT
Please provide a quick way out of the app when the user is satisfied with
(successful) changes.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION (from auto bug reporter)
Application: partitionmanager (3.3.1)

Qt Version: 5.11.3
Frameworks Version: 5.54.0
Operating System: Linux 4.19.0-12-amd64 x86_64
Distribution: Netrunner 20.01 - Twenty

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>

The crash can be reproduced every time.

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

Thread 4 (Thread 0x7f9cbf7fe700 (LWP 21477)):
#0  0x00007f9cd3e5b916 in ppoll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f9cd4369721 in qt_safe_poll(pollfd*, unsigned long, timespec const*)
() from /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f9cd42bdccf in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f9cd42b3e0b in QProcess::waitForFinished(int) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f9cd5a00f2e in ExternalCommand::waitFor(int) () from
/lib/x86_64-linux-gnu/libkpmcore.so.7
#5  0x00007f9cd5a0111a in ExternalCommand::run(int) () from
/lib/x86_64-linux-gnu/libkpmcore.so.7
#6  0x00007f9cd5a02ed8 in isMounted(QString const&) () from
/lib/x86_64-linux-gnu/libkpmcore.so.7
#7  0x00007f9cd59a0b1f in FileSystem::detectMountStatus(FileSystem*, QString
const&) () from /lib/x86_64-linux-gnu/libkpmcore.so.7
#8  0x00007f9ccc68ba6f in ?? () from
/usr/lib/x86_64-linux-gnu/qt5/plugins/libpmlibpartedbackendplugin.so
#9  0x00007f9ccc68c9fa in ?? () from
/usr/lib/x86_64-linux-gnu/qt5/plugins/libpmlibpartedbackendplugin.so
#10 0x00007f9ccc68d644 in ?? () from
/usr/lib/x86_64-linux-gnu/qt5/plugins/libpmlibpartedbackendplugin.so
#11 0x00007f9cd59c98c1 in DeviceScanner::scan() () from
/lib/x86_64-linux-gnu/libkpmcore.so.7
#12 0x00007f9cd4174a67 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f9cd3132fa3 in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#14 0x00007f9cd3e664cf in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 3 (Thread 0x7f9cbffff700 (LWP 21337)):
#0  0x00007f9cd313900c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f9cc4813e83 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#2  0x00007f9cc4813bd7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#3  0x00007f9cd3132fa3 in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007f9cd3e664cf in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7f9cc7fff700 (LWP 21257)):
#0  0x00007f9cd272c027 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f9cd272ea3f in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9cd272f0e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9cd272f25c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9cd436d743 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f9cd431b15b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f9cd416ae76 in QThread::exec() () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f9cd3a88545 in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f9cd4174a67 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f9cd3132fa3 in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f9cd3e664cf in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7f9ccfef0840 (LWP 21255)):
[KCrash Handler]
#4  0x00007f9cd3da47bb in raise () from /lib/x86_64-linux-gnu/libc.so.6
#5  0x00007f9cd3d8f535 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x00007f9cd41339a7 in QMessageLogger::fatal(char const*, ...) const () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f9cd41343b8 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f9cd5a0b977 in ?? () from /lib/x86_64-linux-gnu/libkpmcore.so.7
#9  0x00007f9cd434375b in QObjectPrivate::deleteChildren() () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f9cd4cd0e06 in QWidget::~QWidget() () from
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f9cd5766cc4 in KMainWindow::~KMainWindow() () from
/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#12 0x000055ad5af1f0f4 in ?? ()
#13 0x00007f9cd4346090 in QObject::event(QEvent*) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f9cd4cd596b in QWidget::event(QEvent*) () from
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f9cd4ddbdd4 in QMainWindow::event(QEvent*) () from
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f9cd576917b in KMainWindow::event(QEvent*) () from
/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#17 0x00007f9cd57b3115 in KXmlGuiWindow::event(QEvent*) () from
/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#18 0x00007f9cd4c974c1 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f9cd4c9e970 in QApplication::notify(QObject*, QEvent*) () from
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f9cd431c489 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f9cd431f46b in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f9cd436e103 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f9cd272ef2e in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f9cd272f1c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f9cd272f25c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f9cd436d727 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f9ccfb32491 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#28 0x00007f9cd431b15b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007f9cd4323132 in QCoreApplication::exec() () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x000055ad5aec5a2f in main ()
[Inferior 1 (process 21255) detached]

Report to https://bugs.kde.org/

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to