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: Sat, 17 Aug 2013 08:46:27 +0200 Message-ID: <9971D439-7C92-4B4A-B998-631AFAF8B7F4@gmail.com> 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 1376722040 32626 80.91.229.3 (17 Aug 2013 06:47:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Aug 2013 06:47:20 +0000 (UTC) Cc: "15088@debbugs.gnu.org" <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 Sat Aug 17 08:47:22 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 1VAaID-0004KT-Ls for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Aug 2013 08:47:21 +0200 Original-Received: from localhost ([::1]:34720 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAaIC-0008KG-OE for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Aug 2013 02:47:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAaI4-0008Jo-O2 for bug-gnu-emacs@gnu.org; Sat, 17 Aug 2013 02:47:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VAaHw-0006wJ-2K for bug-gnu-emacs@gnu.org; Sat, 17 Aug 2013 02:47:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41590) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAaHv-0006wF-V9 for bug-gnu-emacs@gnu.org; Sat, 17 Aug 2013 02:47:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VAaHv-0005Iz-1M for bug-gnu-emacs@gnu.org; Sat, 17 Aug 2013 02:47:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Simon Stapleton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Aug 2013 06:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15088 X-GNU-PR-Package: emacs,ns X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 15088-submit@debbugs.gnu.org id=B15088.137672200020355 (code B ref 15088); Sat, 17 Aug 2013 06:47:02 +0000 Original-Received: (at 15088) by debbugs.gnu.org; 17 Aug 2013 06:46:40 +0000 Original-Received: from localhost ([127.0.0.1]:35903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VAaHX-0005IE-GL for submit@debbugs.gnu.org; Sat, 17 Aug 2013 02:46:40 -0400 Original-Received: from mail-wg0-f51.google.com ([74.125.82.51]:62761) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VAaHU-0005Hu-GO for 15088@debbugs.gnu.org; Sat, 17 Aug 2013 02:46:37 -0400 Original-Received: by mail-wg0-f51.google.com with SMTP id a12so2082824wgh.18 for <15088@debbugs.gnu.org>; Fri, 16 Aug 2013 23:46:30 -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=zOaQlrccRfw6gGm2b57neqyBndvmdN7usM/aLyvJi6k=; b=xSNKbJen+gF/ILyboYjDxi4xAjJasQKgVrAs/6m9kOIFnlsSqC6rTwSSnsC9dajlzW TeDvgHxgX2H8Psy7qdnkRFP9iTOCN8oeF/Vm3OnsX7i7hHJyhdZIYT+kNQsybIxTSbJT 8AQxmoffh4fsfysiLyxQ/8nKe6vxJxlVmywbvMuAMwaazjrBkhKJyrrbPMHTJaR2rm6I OPbXvlbdSYY+ZvEJYGb8el7viPpZdj10xRCpaKNk30FCNoGoD68c2MebCSc1CvrgHgep OMqbYPbhYQop812Kq4V9YHJw9LlTd490u+EyWbYPEVJAH8bQDm3UsrfdO8eS0OcdHiUt dI6g== X-Received: by 10.180.38.77 with SMTP id e13mr984289wik.61.1376721990632; Fri, 16 Aug 2013 23:46:30 -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 l5sm1146272wia.6.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 16 Aug 2013 23:46:29 -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:77457 Archived-At: Yeah, my guess is package version. Both binaries (old and newly = compiled), plus several older compiles, suffer from the crash issue. = With newly pulled packages, no crash. Thanks for the help anyway. Simon On 16 Aug 2013, at 07:07, Jan Dj=E4rv wrote: > Hello.=20 >=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 package version dependent.=20 >=20 > Jan D. >=20 > 14 aug 2013 kl. 20:23 skrev Simon Stapleton = : >=20 >> Hi Jan >>=20 >> 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. >>=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 quack, 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 when I moved to 24.3, and re-zapped them a few times trying to = get rid of this very problem. >>=20 >> I can drop a zip/tarball of my old .emacs stuff if it would help = anyone figuring out what's going on. >>=20 >>=20 >>=20 >>=20 >>=20 >> On 13 Aug 2013, at 22:29, Jan Dj=E4rv 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 = 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