Greetings all.

When building the UTF-8 locales on windows with the debug version of the localedef utility, the localedef utility terminates with a failed assertion within the library (in __rw_debug_iter::operator*() in _iterbase.h). Within collate.cpp, the failure occurs on line 579.

A trace of the code indicates that the last good iteration across this line is iteration number 56677, for the token 'UFFFD'. The following token (<U00010300>) fails because __rw_debug_iter::_C_is_end() returns true. However, my reading of collate.cpp is that this condition shouldn't happen, as the termination condition of loop containing the statement in question is suppose to terminate when this condition is reached.

Does this indicate a flaw in std::map or something else?

--Andrew Black

Reply via email to