Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277061 - xlockmore-5.28 segfaults with *.utf8 locale
Summary: xlockmore-5.28 segfaults with *.utf8 locale
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Samuli Suominen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-08 16:54 UTC by Jesús Guerrero Botella (RETIRED)
Modified: 2009-07-12 20:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposal of ebuild that will not segfault (xlockmore-5.28.ebuild,1.96 KB, text/plain)
2009-07-08 16:54 UTC, Jesús Guerrero Botella (RETIRED)
Details

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