Bug 320092

Summary: konsole crash after exit. This happens after su to root every time.
Product: [Applications] konsole Reporter: Hawk <mikehawk1594>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: normal CC: chaofeng111
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Hawk 2013-05-21 12:33:26 UTC
GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-45.el5)
Copyright (C) 2009 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 "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/konsole...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/konsole 
[Thread debugging using libthread_db enabled]
Detaching after fork from child process 8650.
Detaching after fork from child process 8693.

Program received signal SIGSEGV, Segmentation fault.
0x00000031efa6f50e in malloc_consolidate () from /lib64/libc.so.6
(gdb) thread apply all backtrace

Thread 1 (Thread 0x2b8baf41efa0 (LWP 8647)):
#0  0x00000031efa6f50e in malloc_consolidate () from /lib64/libc.so.6
#1  0x00000031efa71c3c in _int_malloc () from /lib64/libc.so.6
#2  0x00000031efa73f2e in malloc () from /lib64/libc.so.6
#3  0x00000031efae7524 in backtrace_symbols () from /lib64/libc.so.6
#4  0x00000031fb7389f0 in kdBacktrace(int) () from /usr/lib64/libkdecore.so.4
#5  0x00000031fb738c5e in kdBacktrace() () from /usr/lib64/libkdecore.so.4
#6  0x00000031fb75c367 in KIconLoader::~KIconLoader() () from /usr/lib64/libkdecore.so.4
#7  0x00000031fb79df2f in KInstance::~KInstance() () from /usr/lib64/libkdecore.so.4
#8  0x00000031fb79e535 in KApplication::~KApplication() () from /usr/lib64/libkdecore.so.4
#9  0x00000031f268c81a in kdemain () from /usr/lib64/libkdeinit_konsole.so
#10 0x00000031efa1d9c4 in __libc_start_main () from /lib64/libc.so.6
#11 0x00000000004004e9 in __libc_start_main ()
#12 0x00007fff91714278 in ?? ()
#13 0x0000000000000000 in ?? ()
(gdb) exit
Undefined command: "exit".  Try "help".
(gdb) quit
A debugging session is active.

        Inferior 1 [process 8647] will be killed.

Quit anyway? (y or n) y


Reproducible: Always

Steps to Reproduce:
1.open konsole
2.su to root
3.exit
crash window
Actual Results:  
crash

Expected Results:  
exit


[root@MikeHawk ~]# /usr/bin/konsole -v
Qt: 3.3.6
KDE: 3.5.4-26.el5_7.1 Red Hat
Konsole: 1.6.4
RHEL 5
 2.6.18-348.4.1.el5 #1 SMP Fri Mar 22 05:41:51 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux
Comment 1 Kurt Hindenburg 2013-05-21 12:51:16 UTC
Hi, well as far as I know 3.5.x should still work.  I would suggest trying w/ another terminal (xterm, etc).  I would think it would be a system/disto issue.  I doubt I can do anything coe-wise since the version is so old.
Comment 2 Hawk 2013-05-21 13:06:11 UTC
Thanks Kurt,

I think I will try a upgrade to 4.1.

Thanks for your help.

Mike Hawkins




________________________________
 From: Kurt V. Hindenburg <kurt.hindenburg@gmail.com>
To: mikehawk1594@yahoo.com 
Sent: Tuesday, May 21, 2013 8:51 AM
Subject: [konsole] [Bug 320092] konsole crash after exit. This happens after su to root every time.
 

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

--- Comment #1 from Kurt V. Hindenburg <kurt.hindenburg@gmail.com> ---
Hi, well as far as I know 3.5.x should still work.  I would suggest trying w/
another terminal (xterm, etc).  I would think it would be a system/disto issue.
I doubt I can do anything coe-wise since the version is so old.
Comment 3 Kurt Hindenburg 2013-05-21 13:09:00 UTC
out of curiosity did it work under xterm?

The more recent version of KDE you can get will better as far support.
Comment 4 Hawk 2013-05-21 13:23:19 UTC
No problem with xterm. 

Seems to be related to konsole and only after a su to root. Su to any other user is fine.





________________________________
 From: Kurt V. Hindenburg <kurt.hindenburg@gmail.com>
To: mikehawk1594@yahoo.com 
Sent: Tuesday, May 21, 2013 9:09 AM
Subject: [konsole] [Bug 320092] konsole crash after exit. This happens after su to root every time.
 

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

Kurt V. Hindenburg <kurt.hindenburg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |UNMAINTAINED

--- Comment #3 from Kurt V. Hindenburg <kurt.hindenburg@gmail.com> ---
out of curiosity did it work under xterm?

The more recent version of KDE you can get will better as far support.
Comment 5 Hawk 2013-05-22 11:02:41 UTC
Hi Kurt,

Just a FYI. I had another problem unrelated to the konsole. I reinstalled RHEL 5 and all is well. 

Must have had a corrupt file ? 

Thanks for your help.

Mike Hawkins




________________________________
 From: Kurt V. Hindenburg <kurt.hindenburg@gmail.com>
To: mikehawk1594@yahoo.com 
Sent: Tuesday, May 21, 2013 9:09 AM
Subject: [konsole] [Bug 320092] konsole crash after exit. This happens after su to root every time.
 

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

Kurt V. Hindenburg <kurt.hindenburg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |UNMAINTAINED

--- Comment #3 from Kurt V. Hindenburg <kurt.hindenburg@gmail.com> ---
out of curiosity did it work under xterm?

The more recent version of KDE you can get will better as far support.