Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 277061

Summary: xlockmore-5.28 segfaults with *.utf8 locale
Product: Gentoo Linux Reporter: Jesús Guerrero Botella (RETIRED) <i92guboj>
Component: New packagesAssignee: Samuli Suominen (RETIRED) <ssuominen>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Proposal of ebuild that will not segfault

Description Jesús Guerrero Botella (RETIRED) gentoo-dev 2009-07-08 16:54:00 UTC
This is not new, it happened with .21 as well for what it seems. 

http://bugs.gentoo.org/121339

Since this belongs upstream, I suggest disabling nls completely in the ebuild. People having this problem can't figure why the hell xlock doesn't work, and utf8 is the standard nowadays, so that's a BIG percentage of the users which are being bitten by this bug.

I suggest to rip out the unicode flag and let it compile without unicode support. I prefer to ditch a feature that doesn't work that not to be able to use the program because it segfaults anyway when you try to use the feature.



Reproducible: Always

Steps to Reproduce:
1.emerge xlockmore
2.have an utf8 locale
3.run xlock and watch it segfaults, it's automatic

Actual Results:  
it segfaults

Expected Results:  
it shouldn't segfault and it should lock your screen with a "nice" screensaver
Comment 1 Jesús Guerrero Botella (RETIRED) gentoo-dev 2009-07-08 16:54:40 UTC
Created attachment 197212 [details]
Proposal of ebuild that will not segfault
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-07-11 21:51:52 UTC
+  11 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> xlockmore-5.28.ebuild:
+  Remove USE unicode wrt #277061. Introduce --enable-ttf back because it
+  can't find fonts wrt #272232.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-07-11 21:52:31 UTC
For me this fixed xglock's previewing segfault.
Comment 4 Jesús Guerrero Botella (RETIRED) gentoo-dev 2009-07-12 20:23:52 UTC
Thanks for fixing this one.