Bug 375756

Summary: partitionmanager segfault when skipping sudo password
Product: [Applications] partitionmanager Reporter: retired <pepko94>
Component: generalAssignee: Andrius Štikonas <andrius>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description retired 2017-01-30 15:45:08 UTC
Application: partitionmanager (3.0.50)

Qt Version: 5.8.0
Frameworks Version: 5.30.0
Operating System: Linux 4.9.6-1-ck-ivybridge x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
Happens everytime, it runs just fine when sudo password is provided. If I skip it then it segfaults.

qt 5.8
Arch Linux

Tested both distro and git version

The crash can be reproduced every time.

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

Thread 4 (Thread 0x7f19eddc7700 (LWP 7276)):
[KCrash Handler]
#6  0x00007f1a15aae80a in FS::lvm2_pv::getPVs(QList<Device*> const&) () at /usr/lib/libkpmcore.so.4
#7  0x00007f1a15ad0944 in DeviceScanner::scan() () at /usr/lib/libkpmcore.so.4
#8  0x00007f1a122046d8 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f1a0e36c454 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f1a1606e7df in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f19fa62f700 (LWP 7198)):
#0  0x00007f1a160614ed in read () at /usr/lib/libc.so.6
#1  0x00007f1a0c8f6a10 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f1a0c8b2235 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f1a0c8b2724 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f1a0c8b289c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f1a1243446b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f1a123ddc9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f1a121ffa73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f1a102c4125 in  () at /usr/lib/libQt5DBus.so.5
#9  0x00007f1a122046d8 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f1a0e36c454 in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f1a1606e7df in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f1a03811700 (LWP 7197)):
#0  0x00007f1a1606548d in poll () at /usr/lib/libc.so.6
#1  0x00007f1a0c64b8e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007f1a0c64d679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f1a05b70239 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f1a122046d8 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f1a0e36c454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f1a1606e7df in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f1a16440dc0 (LWP 7196)):
#0  0x00007f1a0e37210f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f1a0c64bb57 in  () at /usr/lib/libxcb.so.1
#2  0x00007f1a0c64d39f in  () at /usr/lib/libxcb.so.1
#3  0x00007f1a0c64d4b2 in xcb_wait_for_reply () at /usr/lib/libxcb.so.1
#4  0x00007f1a042aaf61 in xcb_icccm_get_wm_hints_reply () at /usr/lib/libxcb-icccm.so.4
#5  0x00007f1a05b8ad64 in QXcbWindow::show() () at /usr/lib/libQt5XcbQpa.so.5
#6  0x00007f1a129367cb in QWindow::setVisible(bool) () at /usr/lib/libQt5Gui.so.5
#7  0x00007f1a130fd57c in QWidgetPrivate::show_sys() () at /usr/lib/libQt5Widgets.so.5
#8  0x00007f1a131058d0 in QWidgetPrivate::show_helper() () at /usr/lib/libQt5Widgets.so.5
#9  0x00007f1a131086d5 in QWidget::setVisible(bool) () at /usr/lib/libQt5Widgets.so.5
#10 0x00000000004298cf in main ()

Reported using DrKonqi
Comment 1 Andrius Štikonas 2017-01-30 15:47:56 UTC

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