From owner-freebsd-current@FreeBSD.ORG Sat Nov 5 13:35:47 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 46BD1106566C for ; Sat, 5 Nov 2011 13:35:47 +0000 (UTC) (envelope-from rdivacky@vlakno.cz) Received: from vlakno.cz (lev.vlakno.cz [46.28.110.116]) by mx1.freebsd.org (Postfix) with ESMTP id 09D918FC08 for ; Sat, 5 Nov 2011 13:35:46 +0000 (UTC) Received: by vlakno.cz (Postfix, from userid 1002) id A11B87F3810; Sat, 5 Nov 2011 14:35:41 +0100 (CET) Date: Sat, 5 Nov 2011 14:35:41 +0100 From: Roman Divacky To: "O. Hartmann" Message-ID: <20111105133541.GA65266@freebsd.org> References: <4EB4F7ED.3020404@zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4EB4F7ED.3020404@zedat.fu-berlin.de> User-Agent: Mutt/1.4.2.3i Cc: Current FreeBSD Subject: Re: FreeBSD 9.0-RC1/FreeBSD 10.0-CURRENT (amd64, CLANG): in some clients hitting backspace or arrow keys results in crashing client 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: Sat, 05 Nov 2011 13:35:47 -0000 Can you run the crashing app under gdb and show me where it crashes? What is the cause of the crash? SIGILL or something like that? What instruction does it crash on? Thank you, roman On Sat, Nov 05, 2011 at 09:46:37AM +0100, O. Hartmann wrote: > Operating systems in question: FreeBSD 9.0-RC1/amd64 and FreeBSD > 10.0-CURRENT/amd64, both compiled with CLANG. > > It happens that when using clients with requester for pathnames (like > evim, thunderbird, mozilla and others) that typing some attributes into > the requester-inputline and then hitting backspace or the arrow keys for > editing a possibly wrong entry, the client crashes. > > I realized that this very often occur with locales set to non "C". > > Such a weird behaviour occured also on a Dell Latitude E6510 with > FreeBSD 9.0-CURRENT earlier this year compiled with CLANG and compiler > option -march=native or -march=corei7 (this laptop does have a Lynnfield > dualCore i5 CPU). Whenever I hit backspave in the console of such a > compiled system, the console exited and I found myself back at the login > prompter again. > This vanished after setting explicitely -march=core2. > > The boxes now in question are both older CoreDuo architectures (Q6600 > and E8400 CPUs). The backspace/arrow-key weirdness occures not on the > consoles anymore, but it happens that clients with files requester or > entry fields for some data input exiting, when hitting backspace or, > say, the back-arrow key. > > Today I realized this in evim when being asked for a file to open and I > made a typo. It seems, that the error occurs more often if the locale is > set to non-C standard (in my case, its partially set either to > de_DE.UTF-8 or de_DE.ISO8859-1 or en_US.UTF-8). > > Regards, > Oliver >