did SVN r227753 (locale changes) break something?

David Chisnall theraven at freebsd.org
Tue Nov 22 13:29:25 UTC 2011

On 22 Nov 2011, at 00:21, Michael Butler wrote:

> #0  0x283eb243 in fprintf () from /lib/libc.so.7

This looks suspicious.  uselocale() does not call fprintf().  In fact, nothing in xlocale.c does - fprintf() accesses the current locale, so calling it from anywhere in the setlocale() path is likely to be problematic.

> #1  0x283eb558 in uselocale () from /lib/libc.so.7
> #2  0x283eb6f9 in newlocale () from /lib/libc.so.7
> #3  0x281637f2 in msg_Subscribe () from /usr/local/lib/libvlccore.so.4

The newlocale / uselocale functions were introduced with the xlocale commit, so no existing code should be using them.  If you're just reconfigured / recompiled libvlccore.so then we may be in an untested code path - I'd have to see what the parameter to newlocale() was to be able to debug this.


More information about the freebsd-current mailing list