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

2011-11-22 Thread David Chisnall
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

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

2011-11-22 Thread David Chisnall
It's entirely possible - please can you compile libc with debug symbols? The back trace isn't very informative... David On 22 Nov 2011, at 00:21, Michael Butler wrote: VLC (multimedia/vlc) on my -current now crashes leaving a trace like this .. imb@toshi:/home/imb gdb `which vlc` vlc.core

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

2011-11-22 Thread Michael Butler
On 11/22/11 08:37, David Chisnall wrote: Do you have valgrind installed? It would probably also be helpful to see the results from that. With symbols for libc .. #0 xlocale_retain (val=0x0) at atomic.h:363 363 ATOMIC_ASM(add, long, addl %1,%0, ir, v); [New Thread 28804300 (LWP

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

2011-11-22 Thread David Chisnall
On 22 Nov 2011, at 14:00, Michael Butler wrote: On 11/22/11 08:52, David Chisnall wrote: Please can you try this patch? ... That works :-) Thanks! Fixed in head (r227818), thanks for the report! David ___ freebsd-current@freebsd.org mailing

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

2011-11-21 Thread Andrey Chernov
On Mon, Nov 21, 2011 at 07:21:17PM -0500, Michael Butler wrote: #0 0x283eb243 in fprintf () from /lib/libc.so.7 #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 Could