From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#15088: 24.3; Hard crash on OSX when editing header files Date: Tue, 13 Aug 2013 20:00:16 +0200 Message-ID: References: <870CD9DB-455F-4BA4-9B00-CEC4C4B9229E@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1376416881 15874 80.91.229.3 (13 Aug 2013 18:01:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Aug 2013 18:01:21 +0000 (UTC) Cc: 15088@debbugs.gnu.org To: Simon Stapleton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 13 20:01:21 2013 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 1V9IuG-0007DZ-4e for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Aug 2013 20:01:20 +0200 Original-Received: from localhost ([::1]:46376 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9IuF-0000ht-Ra for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Aug 2013 14:01:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9Iu5-0000hC-KZ for bug-gnu-emacs@gnu.org; Tue, 13 Aug 2013 14:01:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V9Itz-0004Lx-1G for bug-gnu-emacs@gnu.org; Tue, 13 Aug 2013 14:01:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34255) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9Ity-0004Lp-V9 for bug-gnu-emacs@gnu.org; Tue, 13 Aug 2013 14:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V9Ity-0002NE-ET for bug-gnu-emacs@gnu.org; Tue, 13 Aug 2013 14:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Aug 2013 18:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15088 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15088-submit@debbugs.gnu.org id=B15088.13764168209058 (code B ref 15088); Tue, 13 Aug 2013 18:01:02 +0000 Original-Received: (at 15088) by debbugs.gnu.org; 13 Aug 2013 18:00:20 +0000 Original-Received: from localhost ([127.0.0.1]:56804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V9ItI-0002M1-4s for submit@debbugs.gnu.org; Tue, 13 Aug 2013 14:00:20 -0400 Original-Received: from mail01.bdtv.se ([176.10.222.34]:51768) by debbugs.gnu.org with smtp (Exim 4.80) (envelope-from ) id 1V9ItE-0002Lq-Me for 15088@debbugs.gnu.org; Tue, 13 Aug 2013 14:00:18 -0400 Original-Received: (qmail 27487 invoked by uid 89); 13 Aug 2013 18:00:14 -0000 Original-Received: from h-46-59-42-57.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.57) by mail01.bdtv.se with ESMTPA; 13 Aug 2013 18:00:14 -0000 Original-Received: from anon-53-157.vpn.ipredator.se (unknown [46.246.53.157]) by coolsville.localdomain (Postfix) with ESMTPSA id A36241A010E; Tue, 13 Aug 2013 18:00:13 +0000 (UTC) In-Reply-To: <870CD9DB-455F-4BA4-9B00-CEC4C4B9229E@gmail.com> X-Mailer: Apple Mail (2.1508) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:77322 Archived-At: Hello. 13 aug 2013 kl. 18:01 skrev Simon Stapleton : > This bug report will be sent to the Bug-GNU-Emacs mailing list > and the GNU bug tracker at debbugs.gnu.org. Please check that > the From: line contains a valid email address. After a delay of up > to one day, you should receive an acknowledgment at that address. >=20 > Please write in English if possible, as the Emacs maintainers > usually do not have translators for other languages. >=20 > Please describe exactly what actions triggered the bug, and > the precise symptoms of the bug. If you can, give a recipe > starting from `emacs -Q': >=20 > I'm seeing repeatable crashes when editing header files, specifically > when adding include guards. >=20 > Recipe : >=20 > - start emacs > c-x c-f /tmp/foo.h > #ifndef FOO_H >=20 > >=20 I can't repeat this with trunk or 24.3. > If I manage to get in fast enough to add a #endif afterwards, the = crash > doesn't happen (to get this to work I usually have to reopen emacs, do = a > M-x recover-this-file, type *really fast*, suffer another crash = anyway, > and I can then restart emacs, M-x recover-this-file and I'm away. >=20 > Running under gdb, I get the following backtrace. >=20 > Program received signal EXC_BAD_ACCESS, Could not access memory. > Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000030 > 0x00000001001691a1 in add_properties () ... > (gdb) xbacktrace > Undefined command: "xbacktrace". Try "help". >=20 > xbacktrace doesn't do anything on my gdb. Go figure. You have to be in the emacs source src/ directory, and do % gdb ../nextstep/Emacs.app/Contents/MacOS/Emacs or otherwise make gdb read the .gdbinit in the src/ directory. >=20 > My suspicion is that pabbrev is triggering the issue, but quite how, I = don't know. >=20 How would that be involved if you started with -Q? Jan D.