Program will crash throwing exception "std::runtime_error: locale::facet::_S_create_c_locale name not valid" on systems when current locale (LANG,LC_ALL) is not "C"
set LANG and LC_ALL variables to a locale "C" :
$ export LANG=C
$ export LC_ALL=C
The problem is related with boost library (1.48.0) from ports, see related issue in:
There is a FreeBSD patch specifically to be used in Boost library ver. 1.47...
How-To-Repeat: set LANG and LC_ALL variables to a locale distinct to C , for example :
$ export LANG=en_US.UTF-8
$ export LC_ALL=en_US.UTF-8
Over to maintainer (via the GNATS Auto Assign Tool)
It's boost issue rather than inkscape issue. Forward this PR to the boost
In general we only use committers as GNATS Responsible values.
Over to new maintainer, is it still happening with new boost?
Yes, this bug should be more frequent than before, in fact. r311308
actually removed a few patches added in r267504 which prevented this
issue from happening. I'm not 100% sure they were the right fix, though.
The problem hasn't been completely solved upstream either ( is still
As  explains, the problem is that we build gcc (both in base and
ports) without passing --clocale=gnu to it, so when boost calls
std::locale("") it will fail if LC_ALL is set to anything but "POSIX" or
Fixed in r311771.