From owner-freebsd-current@FreeBSD.ORG Tue Nov 22 13:29:25 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 894401065670 for ; Tue, 22 Nov 2011 13:29:25 +0000 (UTC) (envelope-from theraven@freebsd.org) Received: from theravensnest.org (theravensnest.org [109.169.23.128]) by mx1.freebsd.org (Postfix) with ESMTP id 2D6F58FC0C for ; Tue, 22 Nov 2011 13:29:24 +0000 (UTC) Received: from [192.168.0.2] (cpc2-cwma5-0-0-cust875.7-3.cable.virginmedia.com [86.11.39.108]) (authenticated bits=0) by theravensnest.org (8.14.4/8.14.4) with ESMTP id pAMDTNUf024926 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Tue, 22 Nov 2011 13:29:24 GMT (envelope-from theraven@freebsd.org) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=iso-8859-1 From: David Chisnall In-Reply-To: <4ECAEAFD.5010404@protected-networks.net> Date: Tue, 22 Nov 2011 13:29:18 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <9FF032B7-A2E6-4303-8099-E0E0F2EA2358@freebsd.org> References: <4ECAEAFD.5010404@protected-networks.net> To: Michael Butler X-Mailer: Apple Mail (2.1251.1) Cc: freebsd-current Subject: Re: did SVN r227753 (locale changes) break something? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Nov 2011 13:29:25 -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=