Bug 151692 - User Account settings can not be changed and freeze application
Summary: User Account settings can not be changed and freeze application
Status: RESOLVED WORKSFORME
Alias: None
Product: kcontrol
Classification: Unmaintained
Component: kcmuseraccount (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Frans Englich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-01 14:09 UTC by Martin Koller
Modified: 2009-08-17 18:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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