From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Achim Gratz Newsgroups: gmane.emacs.bugs Subject: bug#12392: emacs-gtk misinterprets floating-point numbers under certain locales on openSUSE 12.2 Date: Thu, 13 Sep 2012 19:59:10 +0200 Organization: Linux Private Site Message-ID: <87sjalst1t.fsf@Rainer.invalid> References: <87r4qbodec.fsf@Rainer.invalid> <5051974D.2020106@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1347559228 11934 80.91.229.3 (13 Sep 2012 18:00:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Sep 2012 18:00:28 +0000 (UTC) To: 12392@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 13 20:00:30 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TCDiF-0001It-GN for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Sep 2012 20:00:27 +0200 Original-Received: from localhost ([::1]:34089 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCDiB-0002mL-S1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Sep 2012 14:00:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCDi5-0002ly-19 for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 14:00:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCDhy-0003PD-SM for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 14:00:16 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50895) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCDhy-0003Oq-Ou for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 14:00:10 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TCDin-000608-To for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 14:01:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87r4qbodec.fsf@Rainer.invalid> Resent-From: Achim Gratz Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Sep 2012 18:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12392 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.134755922523025 (code B ref -1); Thu, 13 Sep 2012 18:01:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Sep 2012 18:00:25 +0000 Original-Received: from localhost ([127.0.0.1]:60441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCDiC-0005zJ-OK for submit@debbugs.gnu.org; Thu, 13 Sep 2012 14:00:25 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42138) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCDiB-0005zA-0u for submit@debbugs.gnu.org; Thu, 13 Sep 2012 14:00:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCDhJ-00031I-0s for submit@debbugs.gnu.org; Thu, 13 Sep 2012 13:59:29 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:43597) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCDhI-00031B-UE for submit@debbugs.gnu.org; Thu, 13 Sep 2012 13:59:28 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCDhE-0002Xw-Nt for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 13:59:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCDhD-0002z2-Dr for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 13:59:24 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:41878) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCDhD-0002yf-7j for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 13:59:23 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TCDhD-0000Tu-4V for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 19:59:23 +0200 Original-Received: from pd9eb24ac.dip.t-dialin.net ([217.235.36.172]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Sep 2012 19:59:23 +0200 Original-Received: from Stromeko by pd9eb24ac.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Sep 2012 19:59:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 41 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pd9eb24ac.dip.t-dialin.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) Cancel-Lock: sha1:DaXaXcIT9o62/M+srJrtfrTAD1Q= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:64245 Archived-At: Paul Eggert writes: > This particular problem looks like it's probably an OpenSUSE bug, but > in general one cannot combine LC_NUMERIC=C with random encodings in > LC_CTYPE. It's safer if Emacs uses the C locale when parsing floating > point numbers. Here's a proposed patch to do that. Can you apply > this against the Emacs trunk and give it a try? I'd love to, but this patch applied against current trunk from Git segfaults: Dumping under the name emacs 45088 pure bytes used cd ../lisp; make -w compile-first EMACS=/home/emacs/build-trunk/src/bootstrap-emacs make[2]: Entering directory `/home/emacs/build-trunk/lisp' Compiling /home/emacs/lisp/emacs-lisp/macroexp.el Fatal error 11: Segmentation fault Backtrace: /home/emacs/build-trunk/src/bootstrap-emacs[0x8179d62] /home/emacs/build-trunk/src/bootstrap-emacs[0x81556d5] /home/emacs/build-trunk/src/bootstrap-emacs[0x8155787] /home/emacs/build-trunk/src/bootstrap-emacs[0x8179bc2] /home/emacs/build-trunk/src/bootstrap-emacs[0x81551d7] linux-gate.so.1(__kernel_sigreturn+0x0)[0xb77c2400] /lib/libc.so.6(+0x36f9e)[0xb6146f9e] /lib/libc.so.6(__strtod_l+0x27)[0xb6148f87] /home/emacs/build-trunk/src/bootstrap-emacs[0x8288a2e] /home/emacs/build-trunk/src/bootstrap-emacs[0x821b070] ... make[2]: *** [/home/emacs/lisp/emacs-lisp/macroexp.elc] Segmentation fault Ideas? Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf microQ V2.22R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada