Re: did SVN r227753 (locale changes) break something?

From: David Chisnall <theraven_at_freebsd.org>
Date: Tue, 22 Nov 2011 13:29:18 +0000
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.

David
Received on Tue Nov 22 2011 - 12:29:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:20 UTC