From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Simon Stapleton Newsgroups: gmane.emacs.bugs Subject: bug#15088: 24.3; Hard crash on OSX when editing header files Date: Wed, 14 Aug 2013 20:23:35 +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 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1376504658 2055 80.91.229.3 (14 Aug 2013 18:24:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Aug 2013 18:24:18 +0000 (UTC) Cc: 15088@debbugs.gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 14 20:24: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 1V9fk2-0001YG-GH for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Aug 2013 20:24:18 +0200 Original-Received: from localhost ([::1]:49508 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9fk1-0002lr-IV for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Aug 2013 14:24:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9fjs-0002i8-Vv for bug-gnu-emacs@gnu.org; Wed, 14 Aug 2013 14:24:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V9fjn-0008Ft-3d for bug-gnu-emacs@gnu.org; Wed, 14 Aug 2013 14:24:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36101) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9fjn-0008Fp-0A for bug-gnu-emacs@gnu.org; Wed, 14 Aug 2013 14:24:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V9fjm-0001S4-9Y for bug-gnu-emacs@gnu.org; Wed, 14 Aug 2013 14:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Simon Stapleton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Aug 2013 18:24: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.13765046285557 (code B ref 15088); Wed, 14 Aug 2013 18:24:02 +0000 Original-Received: (at 15088) by debbugs.gnu.org; 14 Aug 2013 18:23:48 +0000 Original-Received: from localhost ([127.0.0.1]:58650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V9fjX-0001RW-K5 for submit@debbugs.gnu.org; Wed, 14 Aug 2013 14:23:48 -0400 Original-Received: from mail-wi0-f173.google.com ([209.85.212.173]:54952) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V9fjU-0001R9-0E for 15088@debbugs.gnu.org; Wed, 14 Aug 2013 14:23:45 -0400 Original-Received: by mail-wi0-f173.google.com with SMTP id en1so2321000wid.0 for <15088@debbugs.gnu.org>; Wed, 14 Aug 2013 11:23:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ZkGYF6s/HubvyA4ot8lanxssI5/TIgb9UqqPGmR4sxI=; b=iDDi9Kjx1tN+085apfcofdsjs4bJh7m6V+FkVrBKTPGlp/jmzkbzF7c+zj2AaqhWjk PRQcXNoMfDEZfqgMfpdknupkG7PhftEXNS3XzevnUudCVtg9S/wCpQ1uvCFm9aosfBM0 LzVikpvzuh9i26wpmmLTSGjN49izoS+s6Ok3BOj9i9hEDpO6BnXbm1rD4e04pHE/Hwwy h5K901JauhppHb2HbdzIcTHNXAqLU7D+HCyVFxuRKITlFxGcscLU4q9KaY0OBoDjCrfA PFi5cgw0bRdyx1gKVBUKR4XWqkNQBznqnEfvOYLPz1EYAtnJfHcPBYF2OkWi38vOkFRh g05w== X-Received: by 10.194.19.5 with SMTP id a5mr116579wje.48.1376504618150; Wed, 14 Aug 2013 11:23:38 -0700 (PDT) Original-Received: from [192.168.1.4] (AGrenoble-552-1-246-74.w92-129.abo.wanadoo.fr. [92.129.77.74]) by mx.google.com with ESMTPSA id b13sm4535576wic.9.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 11:23:37 -0700 (PDT) In-Reply-To: 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:77351 Archived-At: Hi Jan Nope, nothing at all. So I started trying to track down what was = causing the issue. Starting from a virgin .emacs.d/ and .emacs, started = re-adding packages to find out which one actually breaks things. 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 quack, which appears to no longer be in elpa/melpa, and shouldn't be = touching C-mode files anyway. This confuses me no end, as I'd started from a virgin .emacs / emacs.d = when I moved to 24.3, and re-zapped them a few times trying to get rid = of this very problem. I can drop a zip/tarball of my old .emacs stuff if it would help anyone = figuring out what's going on. On 13 Aug 2013, at 22:29, Jan Dj=E4rv wrote: > Hello. >=20 > 13 aug 2013 kl. 20:58 skrev Simon Stapleton = : >=20 >> Okay, quick rebuild and I can now get a full backtrace. xbacktrace = still 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 - = commenting it out in my .emacs makes everything work. >=20 > A lisp package should not be able to crash Emacs. You can try to set = these 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 if it is a memory issue. >=20 > Jan D. >=20 >=20