Note that I was able to track down the problem. The function
read_themes in gdmsetup.c only has one call to g_markup_printf_escaped.
Fixing this function like this should resolve the issue:
- markup = g_markup_printf_escaped
("<b>%s</b>\n<small>%s</small>"
, name, desc);
+ markup = g_markup_printf_escaped
("<b>%s</b>\n<small>%s</small>"
,
+ name ? name : "(null)",
+ desc ? desc : "(null)");
I already committed this fix to GDM 2.20, and to our spec-files
2.26 and head branches. So this fix should go into Nevada build 118.
Note that themes should have a desktop file in the directory called
/usr/share/gdm/themes/(themename)/(themename).desktop. It should
look something like this:
[GdmGreeterTheme]
Encoding=UTF-8
Greeter=circles.xml
Name=Circles
Description=Theme with blue circles
Author=Bond, James Bond
Copyright=(c) 2002 Bond, James Bond
Screenshot=screenshot.png
If the Name or Description values are NULL or not present in the
file, then this would cause the problem. If you fix this, then you
should be able to use your custom theme.
Brian
Ghee Teo wrote:
weknox wrote:
Seems like there is a segfault upon reading a gdm
theme. Have you recently installed a custom gdm
theme, maybe a theme is corrupted ?
Yes, you were right. Offending theme has been whacked and all works
well. Thanks for the help.
And, BTW, where can I learn how to use / read these cryptic messages?
I'm usually a liberal arts kind of guy.
When you see a (core dumped) which means a core file which is essential
an image of the running program saved to disk at the point of the
program error. pstack is the program on solaris that can read a core
file. The rest should really be left to the maintainer of the program :)
In your case,
08066bc3 read_themes (89320e0, 8946388, fec003c0, 8946770) + 3af
it is quick easy to guess it is theme related by that line above.
You can also report bug about the desktop in defect.opensolaris.org
under development/gnome.
-Ghee
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss