Bug 151692

Summary: User Account settings can not be changed and freeze application
Product: [Unmaintained] kcontrol Reporter: Martin Koller <martin>
Component: kcmuseraccountAssignee: Frans Englich <frans.englich>
Status: RESOLVED WORKSFORME    
Severity: normal CC: kde
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Martin Koller 2007-11-01 14:09:40 UTC
Version:           unknown (using KDE 3.95.00 (KDE 4.0 Beta4))
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.18.8-0.7-default

When trying to change anything in the User settings (e.g. the Name) and click "Apply", A dialog pops up asking for my password (why that?).

If I enter the password and click OK, the application freezes (no response, no redraw).
In ps I find "chfn" to be a zombie (<defunct>) process.
Comment 1 rapsys 2008-04-06 23:41:17 UTC
The problem is a bit more incidious... 
 
I tried to understand what realy is passed to chfn. 
 
But in fact it seems there is an excessive conversion from utf-8 to iso8859-15. 
 
For example, set the name to : 
Raphaƫl 
 
Instead of pass the string in correct utf8 : 
0x52,0x61,0x70,0x68,0x61,0xc3,0xab,0x6c 
It pass the iso8859-15 equivalent string : 
0x52,0x61,0x70,0x68,0x61,0xeb,0x6c 
 
And then chfn is invoqued with binary char which seems it is unable to drop/handle... 
 
The result is chfn keep stuck and kcontrol loop forever waiting for something... 
 
kill -9 chfn process workaround the bug. 

The bug was worksform/reopen in 3.5.9 version here :
http://bugs.kde.org/show_bug.cgi?id=77455#c7
Comment 2 Martin Koller 2009-08-17 18:34:29 UTC
seems to work with current 4.4 trunk SVN