Bug 90543

Summary: xlock runs in to endless loop when using the (illegal!) locale de_DE@UTF-8
Product: [openSUSE] openSUSE 11.0 Reporter: Mike Fabian <mfabian>
Component: X11 ApplicationsAssignee: Stanislav Brabec <sbrabec>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: pgajdos
Version: Factory   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Mike Fabian 2005-06-13 14:17:00 UTC
LC_CTYPE=de_DE@UTF-8 xlock
[...]
Could not create FontSet -*-helvetica-medium-r-*-*-24-*-*-*-*-*-*,-*-*-medium-r-normal--24-*
Could not create FontSet fixed,-*-14-*
/usr/X11R6/bin/xlock: line 13: 31769 ?????????????           /usr/X11R6/lib/xlock/xlock "$@"
[...]

Probably xlock should just print a warning
"Locale not supported by Xlib, locale set to C"
and set the locale to C, just like xterm does.
Comment 1 Uwe Gansert 2005-06-13 14:26:33 UTC
why is the component "autoyast"?

Comment 2 Mike Fabian 2005-06-13 14:52:13 UTC
Component → X11Apps.
Comment 3 Uwe Gansert 2005-06-13 14:59:25 UTC
maybe Stefan knows who is responsible. I have nothing to do with X11.

Comment 4 Stanislav Brabec 2005-08-17 16:42:32 UTC
Crash in xlock.c:3299

XmbTextExtents(fontset, "Aj", 1, NULL, &mbRect);

XmbTextExtents(NULL, "Aj", 1, NULL, &mbRect);

mbRect contains only zeros.
Comment 5 Andreas Jaeger 2007-07-27 07:39:55 UTC
We will not fix this bug anymore for this release.  If the bug is still in openSUSE 10.3, please report a new bug.
Comment 6 Mike Fabian 2008-04-01 10:16:56 UTC
The bug still exists in STABLE/Factory.
Comment 7 Petr Gajdos 2008-06-05 13:26:51 UTC
Fixed.