[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#531797:



Hi,

Read the source, luke:

>From compiz.cpp in libcompizconfig:

static char *
getLocale ()
{
    char *lang = getenv ("LANG");

    if (!lang || !strlen (lang))
        lang = getenv ("LC_ALL");

    if (!lang || !strlen (lang))
        lang = getenv ("LC_MESSAGES");

    return lang;
}

std::string curLocale = std::string (getLocale ());


The library segfaults at this static initialization. So the cure is
- if you just want to run ccsm, export LANG=C  first
- report upstream so that they can fix this ugly blob.

Cheers,

E.



Reply to: