Bug 156342

Summary: konsole deadlock after su
Product: [Applications] konsole Reporter: Maksim Melnikau <maxposedon>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED REMIND    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Maksim Melnikau 2008-01-21 22:16:46 UTC
Version:            (using KDE 4.0.0)
Installed from:    Gentoo Packages
Compiler:          gcc version 4.2.2 
OS:                Linux

max_posedon@localhost ~ % su
Password:
localhost max_posedon # gdb konsole
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) r
Starting program: /usr/kde/4.0/bin/konsole
[Thread debugging using libthread_db enabled]
[New Thread 0xb5f426d0 (LWP 4304)]
QMutex::lock: Deadlock detected in thread -1242290480

Program received signal SIGINT, Interrupt.
[Switching to Thread 0xb5f426d0 (LWP 4304)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6c97583 in __read_nocancel () from /lib/libpthread.so.0
#2  0xb74a3c04 in KUniqueApplication::start ()
    at /mnt/floppy/data/gentoo/tmp/portage/kde-base/kdelibs-4.0.0/work/kdelibs-4.0.0/kdeui/kernel/kuniqueapplication.cpp:232
#3  0xb7ecd47e in kdemain (argc=1, argv=0xbfcb3a94)
    at /mnt/floppy/data/gentoo/tmp/portage/kde-base/konsole-4.0.0/work/konsole-4.0.0/apps/konsole/src/main.cpp:76
#4  0x08048836 in main (argc=-198300160, argv=0x94b7edff)
    at /mnt/floppy/data/gentoo/tmp/portage/kde-base/konsole-4.0.0/work/konsole_build/apps/konsole/src/konsole_dummy.cpp:3
(gdb)
Comment 1 Robert Knight 2008-01-21 22:59:02 UTC
Steps to reproduce:

1.  sudo gdb /full/path/to/kde4/konsole
2.  set auto-solib-add off
3.  run
...
QMutex::lock: Deadlock detected in thread 
...
4.  Ctrl+C
5.  bt

Comment 2 Dario Andres 2008-11-30 00:23:36 UTC
Here (KDE4.1.3 (QT4.4.3) on ArchLinux x86_64): I can't reproduce the deadlock even following the steps on comment 1.
Have anyone experienced this bug again with a recent KDE version ( 4.1.3 / 4.2beta1 / 4.2svn)? Thanks :) 
Comment 3 Dario Andres 2009-02-21 15:04:00 UTC
No response from reporter. Closing as REMIND. Reopen if you still experience this. Thanks