I can confirm the black screen after startup of stellarium.

I use locale "da_DK.UTF-8", but if it is set to "C", then stellarium runs fine:

LANG=C stellarium

Even just setting LC_NUMERIC helps:

LC_NUMERIC=C stellarium

This could be a problem with reading non-localized numeric datafiles with an active locale set.
The application handles some aspects of locale setting in
src/stelutils/Translator.cpp and the attached patch adds a call to set
the locale for number formatting to "C".

--- stellarium-0.9.1.orig/src/stelutils/Translator.cpp
+++ stellarium-0.9.1/src/stelutils/Translator.cpp
@@ -140,6 +140,7 @@
 #else
 	setlocale(LC_CTYPE,"");
 #endif
+	setlocale(LC_NUMERIC, "C");
 	assert(domain=="stellarium");
 	QString result = bind_textdomain_codeset(domain.toUtf8().constData(), "UTF-8");
 	assert(result=="UTF-8");

Reply via email to