Opened 12 years ago

Closed 11 years ago

#5100 closed Bugs (fixed)

runtime_error locale::facet::_S_create_c_locale name not valid

Reported by: Rui Pedro Fernandes <ruipfernandes@…> Owned by: Beman Dawes
Milestone: Boost 1.48.0 Component: filesystem
Version: Boost 1.45.0 Severity: Problem
Keywords: Cc:

Description

static initialization in filesystem v3 at path.cpp:98 leads to the runtime error that gives title to the ticket.

I know this is a problem with libstdc++ (c_locale.cc contains this comment: "Currently, the generic model only supports the "C" locale."). However, I'm using default filesystem v2 and thus this should not be an issue to me (as it wasn't when I was using boost_1_41).

Change History (3)

comment:1 by Sam Morris <sam@…>, 11 years ago

Duplicate of #4688?

comment:2 by Beman Dawes, 11 years ago

Milestone: To Be DeterminedBoost 1.48.0
Status: newassigned

4688, 5100, 5289, are being worked on together as they all are reporting on the problem.

comment:3 by anonymous, 11 years ago

Resolution: fixed
Status: assignedclosed

Fixed by changeset 72855, Fix problem of locale("") exception being thrown before main() starts on misconfigured (e.g. LANG="bad name") POSIX systems. Resolves the most serious aspect of tickets 4688, 5100, 5289.

Boost 1.47.0 was the first release to include this fix.

--Beman

Note: See TracTickets for help on using tickets.