Bug 162154

Summary: Cannot Change Appearance via change profile tab
Product: [Applications] konsole Reporter: Andrew Cilia <acilia>
Component: generalAssignee: Robert Knight <robertknight>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: 2.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: strace of aborting program
gdb output

Description Andrew Cilia 2008-05-16 12:23:54 UTC
Version:           2.0 (using KDE 4.0.3)
Installed from:    Fedora RPMs
Compiler:          gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) 
OS:                Linux

if you go into settings/edit current profile/appearance, every instance of konsole that is running dies. I ran konsole from konsole and tried this in the child app and the parent died also.
Comment 1 Andrew Cilia 2008-05-16 12:25:39 UTC
Created attachment 24790 [details]
strace of aborting program

I have attached an strace output. Cheers
Comment 2 Robert Knight 2008-05-16 15:14:34 UTC
Hello,

I need a backtrace to debug the problem.  The output from strace is not very useful I'm afraid.  If the KDE crash dialog appears then please copy and paste the backtrace from there.  Otherwise install debugging packages for KDE and run konsole from gdb as follows:

gdb konsole
> set args --nofork
> run  

When it crashes

> backtrace

And copy the output
Comment 3 Andrew Cilia 2008-05-16 17:35:11 UTC
running debuginfo-install as I write. Back soon with results
Comment 4 Andrew Cilia 2008-05-16 20:51:25 UTC
Created attachment 24794 [details]
gdb output

Backtrace did not give out much. I installed about 500Mb debuginfo packages to
get to this. Did I miss out something?
Comment 5 Robert Knight 2008-05-16 22:17:22 UTC
> Did I miss out something? 

No, the assert failure message in the terminal actually has enough information.  It seems to be related to handling of existing Konsole/KDE 3 colour schemes.
Comment 6 Robert Knight 2008-05-17 02:10:47 UTC
Until a fix is released you can work around the bug by removing any KDE 3 Konsole colour schemes you have have installed, files ending in .schema typically found in ~/.kde/share/apps/konsole/
Comment 7 Robert Knight 2008-05-17 02:16:58 UTC
SVN commit 808591 by knight:


Fix assert failure when handling invalid KDE 3 color scheme data files.
Just report a warning instead.

CCBUG: 162154



 M  +23 -14    ColorScheme.cpp  
 M  +2 -2      ColorScheme.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=808591
Comment 8 Robert Knight 2008-05-17 02:22:27 UTC
SVN commit 808593 by knight:


Fix assert failure if a KDE 3 color scheme called ".schema" is found.  Print a warning instead.

CCBUG: 162154



 M  +6 -1      ColorScheme.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=808593
Comment 9 Andrew Cilia 2008-05-17 11:51:34 UTC
Workaround in place. Thanks & Cheers
Comment 10 Robert Knight 2008-06-02 07:24:25 UTC
Marking as fixed, as this is not being backported to KDE 4.0.