Bug 351423

Summary: KDE Partition Manager crash on starting
Product: [Applications] partitionmanager Reporter: Mustafa Muhammad <mustafa1024m>
Component: generalAssignee: Andrius Štikonas <andrius>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: 1.2.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Mustafa Muhammad 2015-08-18 05:38:10 UTC
Application: partitionmanager (1.2.1)

Qt Version: 5.5.0
Operating System: Linux 4.2.0-0.rc6.git0.2.fc23.x86_64 x86_64
Distribution: "Fedora release 23 (Twenty Three)"

-- Information about the crash:
I opened partitionmanager and it crashes every time

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Partition Manager (partitionmanager), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
84	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f98ca657940 (LWP 20574))]

Thread 3 (Thread 0x7f98ac60a700 (LWP 20575)):
#0  0x00007f98c46b334d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f98c0e6c182 in poll (__timeout=-1, __nfds=1, __fds=0x7f98ac609b80) at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x5566f4f710e0, cond=cond@entry=0x5566f4f71120, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:459
#3  0x00007f98c0e6dc77 in xcb_wait_for_event (c=0x5566f4f710e0) at xcb_in.c:648
#4  0x00007f98ae79b999 in QXcbEventReader::run (this=0x5566f4f7b7b0) at qxcbconnection.cpp:1198
#5  0x00007f98c52c054e in QThreadPrivate::start (arg=0x5566f4f7b7b0) at thread/qthread_unix.cpp:331
#6  0x00007f98c21e470a in start_thread (arg=0x7f98ac60a700) at pthread_create.c:334
#7  0x00007f98c46bee9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f98a37c1700 (LWP 20636)):
[KCrash Handler]
#6  0x00007f98c45ecbb8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007f98c45ee7ba in __GI_abort () at abort.c:89
#8  0x00007f98c4f2badd in __gnu_cxx::__verbose_terminate_handler () at ../../../../libstdc++-v3/libsupc++/vterminate.cc:95
#9  0x00007f98c4f29926 in __cxxabiv1::__terminate (handler=<optimized out>) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:47
#10 0x00007f98c4f29971 in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:57
#11 0x00007f98c4f29b89 in __cxxabiv1::__cxa_throw (obj=0x7f989c0117b0, tinfo=0x7f98c520f7b0 <typeinfo for std::bad_alloc>, dest=0x7f98c4f27d50 <std::bad_alloc::~bad_alloc()>) at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:87
#12 0x00007f98c52a9bd2 in qBadAlloc () at global/qglobal.cpp:2950
#13 0x00007f98c534f305 in QString::reallocData (this=this@entry=0x7f98a37c0968, alloc=536871019, grow=grow@entry=true) at tools/qstring.cpp:1689
#14 0x00007f98c534fb72 in QString::append (this=this@entry=0x7f98a37c0968, str=...) at tools/qstring.cpp:1924
#15 0x00007f98ca21fd3e in QString::operator+= (s=..., this=0x7f98a37c0968) at /usr/include/qt5/QtCore/qstring.h:402
#16 ExternalCommand::onReadOutput (this=0x7f98a37c0910) at /usr/src/debug/partitionmanager-1.2.1/src/util/externalcommand.cpp:176
#17 0x00007f98c54d015a in QMetaObject::activate (sender=sender@entry=0x7f989c00fe78, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x0) at kernel/qobject.cpp:3718
#18 0x00007f98c54d0957 in QMetaObject::activate (sender=sender@entry=0x7f989c00fe78, m=m@entry=0x7f98c58e2b40 <QProcess::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x0) at kernel/qobject.cpp:3583
#19 0x00007f98c53cee13 in QProcess::readyReadStandardOutput (this=this@entry=0x7f989c00fe78) at .moc/moc_qprocess.cpp:266
#20 0x00007f98c53d7e32 in QProcessPrivate::tryReadFromChannel (this=this@entry=0x7f989c0127c0, channel=channel@entry=0x7f989c0128f0) at io/qprocess.cpp:966
#21 0x00007f98c53d7ebc in QProcessPrivate::_q_canReadStandardOutput (this=this@entry=0x7f989c0127c0) at io/qprocess.cpp:977
#22 0x00007f98c5436ba5 in QProcessPrivate::waitForFinished (this=this@entry=0x7f989c0127c0, msecs=msecs@entry=30000) at io/qprocess_unix.cpp:1063
#23 0x00007f98c53d15df in QProcess::waitForFinished (this=this@entry=0x7f989c00fe78, msecs=msecs@entry=30000) at io/qprocess.cpp:1849
#24 0x00007f98ca21ffd5 in ExternalCommand::waitFor (this=this@entry=0x7f98a37c0910, timeout=timeout@entry=30000) at /usr/src/debug/partitionmanager-1.2.1/src/util/externalcommand.cpp:152
#25 0x00007f98ca22219a in ExternalCommand::run (this=this@entry=0x7f98a37c0910, timeout=timeout@entry=30000) at /usr/src/debug/partitionmanager-1.2.1/src/util/externalcommand.cpp:169
#26 0x00007f98ca244205 in FS::btrfs::readUsedCapacity (this=this@entry=0x7f989c00ea10, deviceNode=...) at /usr/src/debug/partitionmanager-1.2.1/src/fs/btrfs.cpp:110
#27 0x00007f98aa727b82 in readSectorsUsed (mountPoint=..., p=..., d=..., pedDisk=0x7f989c006440) at /usr/src/debug/partitionmanager-1.2.1/src/plugins/libparted/libpartedbackend.cpp:213
#28 LibPartedBackend::scanDevicePartitions (d=..., pedDisk=pedDisk@entry=0x7f989c006440) at /usr/src/debug/partitionmanager-1.2.1/src/plugins/libparted/libpartedbackend.cpp:364
#29 0x00007f98aa72849f in LibPartedBackend::scanDevice (this=this@entry=0x5566f4fee300, device_node=...) at /usr/src/debug/partitionmanager-1.2.1/src/plugins/libparted/libpartedbackend.cpp:413
#30 0x00007f98aa7289a7 in LibPartedBackend::scanDevices (this=0x5566f4fee300) at /usr/src/debug/partitionmanager-1.2.1/src/plugins/libparted/libpartedbackend.cpp:440
#31 0x00007f98ca2166aa in DeviceScanner::scan (this=0x5566f5030a40) at /usr/src/debug/partitionmanager-1.2.1/src/core/devicescanner.cpp:58
#32 0x00007f98c52c054e in QThreadPrivate::start (arg=0x5566f5030a40) at thread/qthread_unix.cpp:331
#33 0x00007f98c21e470a in start_thread (arg=0x7f98a37c1700) at pthread_create.c:334
#34 0x00007f98c46bee9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f98ca657940 (LWP 20574)):
#0  0x00007f98c46b334d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f98c071b25c in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x5566f5315220, timeout=<optimized out>, context=0x7f98a40016f0) at gmain.c:4103
#2  g_main_context_iterate (context=context@entry=0x7f98a40016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3803
#3  0x00007f98c071b36c in g_main_context_iteration (context=0x7f98a40016f0, may_block=may_block@entry=1) at gmain.c:3869
#4  0x00007f98c54f7dab in QEventDispatcherGlib::processEvents (this=0x5566f4f9f8b0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f98c549edaa in QEventLoop::exec (this=this@entry=0x7ffcab2842f0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f98c54a6e6c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#7  0x00005566f4376160 in main (argc=1, argv=<optimized out>) at /usr/src/debug/partitionmanager-1.2.1/src/main.cpp:69

Possible duplicates by query: bug 351097, bug 350831, bug 349113, bug 347814, bug 347595.

Reported using DrKonqi
Comment 1 Andrius Štikonas 2015-08-18 12:30:13 UTC
Looks like it crashes when it runs btrfs-debug-tree deviceNode

I can see that it prints a lot of info. I cannot reproduce this bug myself, so it's not easy to determine the precise cause. I can try to see if upgrading my version of btrfs-progs would change anything.
Comment 2 Andrius Štikonas 2016-02-18 13:58:45 UTC

*** This bug has been marked as a duplicate of bug 353333 ***