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: Fri, 16 Aug 2013 07:07:30 +0200 Message-ID: References: <870CD9DB-455F-4BA4-9B00-CEC4C4B9229E@gmail.com> <3F83BB9B-EA61-4D72-A101-63AE305C3067@gmail.com> <868509D1-DEA1-479F-BB3F-65C218AED0E1@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1376629698 15895 80.91.229.3 (16 Aug 2013 05:08:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Aug 2013 05:08:18 +0000 (UTC) Cc: "15088@debbugs.gnu.org" <15088@debbugs.gnu.org> To: Simon Stapleton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 16 07:08:19 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 1VACGo-0004ZB-Cg for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Aug 2013 07:08:18 +0200 Original-Received: from localhost ([::1]:56605 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VACGn-0008F1-DY for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Aug 2013 01:08:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VACGe-0008Dy-Sg for bug-gnu-emacs@gnu.org; Fri, 16 Aug 2013 01:08:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VACGZ-0007aj-2F for bug-gnu-emacs@gnu.org; Fri, 16 Aug 2013 01:08:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VACGY-0007af-Uw for bug-gnu-emacs@gnu.org; Fri, 16 Aug 2013 01:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VACGY-00063P-F3 for bug-gnu-emacs@gnu.org; Fri, 16 Aug 2013 01:08: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: Fri, 16 Aug 2013 05:08: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.137662965923231 (code B ref 15088); Fri, 16 Aug 2013 05:08:02 +0000 Original-Received: (at 15088) by debbugs.gnu.org; 16 Aug 2013 05:07:39 +0000 Original-Received: from localhost ([127.0.0.1]:33524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VACGA-00062d-Sz for submit@debbugs.gnu.org; Fri, 16 Aug 2013 01:07:39 -0400 Original-Received: from mail01.bdtv.se ([176.10.222.34]:35862) by debbugs.gnu.org with smtp (Exim 4.80) (envelope-from ) id 1VACG7-00062Q-5n for 15088@debbugs.gnu.org; Fri, 16 Aug 2013 01:07:36 -0400 Original-Received: (qmail 31284 invoked by uid 89); 16 Aug 2013 05:07:32 -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; 16 Aug 2013 05:07:32 -0000 Original-Received: from [172.20.199.240] (unknown [172.20.199.240]) by coolsville.localdomain (Postfix) with ESMTPSA id 6A87F1A008F; Fri, 16 Aug 2013 05:07:32 +0000 (UTC) In-Reply-To: X-Mailer: iPhone Mail (10B350) 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:77412 Archived-At: Hello.=20 I guess we can keep this bug report in case it happens again. I don't think= looking at your setup will help, these things are usually compiler and/or p= ackage version dependent.=20 Jan D. 14 aug 2013 kl. 20:23 skrev Simon Stapleton : > Hi Jan >=20 > Nope, nothing at all. So I started trying to track down what was causing t= he issue. Starting from a virgin .emacs.d/ and .emacs, started re-adding pa= ckages to find out which one actually breaks things. >=20 > And, wouldn't you know it, I'm pretty much back to where I was before, and= it no longer happens. The only thing I haven't reinstalled thus far is qua= ck, which appears to no longer be in elpa/melpa, and shouldn't be touching C= -mode files anyway. >=20 > This confuses me no end, as I'd started from a virgin .emacs / emacs.d whe= n I moved to 24.3, and re-zapped them a few times trying to get rid of this v= ery problem. >=20 > I can drop a zip/tarball of my old .emacs stuff if it would help anyone fi= guring out what's going on. >=20 >=20 >=20 >=20 >=20 > On 13 Aug 2013, at 22:29, Jan Dj=C3=A4rv wrote: >=20 >> Hello. >>=20 >> 13 aug 2013 kl. 20:58 skrev Simon Stapleton : >>=20 >>> Okay, quick rebuild and I can now get a full backtrace. xbacktrace stil= l fails, but it's failing because (I assume) it's had its stack smashed >>>=20 >>>> No symbol "ARRAY_MARK_FLAG" in current context.=20 >>>=20 >>> ARRAY_MARK_FLAG looks a lot like a garbage collection bug being tickled,= double release going on somewhere maybe? >>>=20 >>> The source of the issue is almost certainly to do with pabbrev - comment= ing it out in my .emacs makes everything work. >>=20 >> A lisp package should not be able to crash Emacs. You can try to set the= se in your environment before starting Emacs from the command line: >>=20 >> export NSZombieEnabled=3DYES >> export MallocGuardEdges=3D1 >> export MallocScribble=3D1 >> export MallocErrorAbort=3D1 >> export MallocCorruptionAbort=3D1 >> export MallocCheckHeapStart=3D1000 >>=20 >> Emacs will run very slowly, but hopefully it will print something useful i= f it is a memory issue. >>=20 >> Jan D. >>=20 >>=20