From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#16901: 24.3.50; emacs_backtrace.txt Date: Mon, 03 Mar 2014 18:54:08 +0200 Message-ID: <83ppm3rznz.fsf@gnu.org> References: <831tylvkq2.fsf@gnu.org> <83lhwstu1k.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1393865730 28887 80.91.229.3 (3 Mar 2014 16:55:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Mar 2014 16:55:30 +0000 (UTC) Cc: 16901@debbugs.gnu.org, dmantipov@yandex.ru To: lekktu@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 03 17:55:33 2014 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 1WKW9J-0003q6-OE for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Mar 2014 17:55:29 +0100 Original-Received: from localhost ([::1]:40548 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKW9J-0006pW-62 for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Mar 2014 11:55:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKW98-0006pC-Ty for bug-gnu-emacs@gnu.org; Mon, 03 Mar 2014 11:55:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WKW8y-0002TN-Gv for bug-gnu-emacs@gnu.org; Mon, 03 Mar 2014 11:55:18 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48124) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKW8y-0002R1-DV for bug-gnu-emacs@gnu.org; Mon, 03 Mar 2014 11:55:08 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WKW8s-0007aQ-AD for bug-gnu-emacs@gnu.org; Mon, 03 Mar 2014 11:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Mar 2014 16:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 16901-submit@debbugs.gnu.org id=B16901.139386567029112 (code B ref 16901); Mon, 03 Mar 2014 16:55:02 +0000 Original-Received: (at 16901) by debbugs.gnu.org; 3 Mar 2014 16:54:30 +0000 Original-Received: from localhost ([127.0.0.1]:49306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WKW8L-0007ZR-UK for submit@debbugs.gnu.org; Mon, 03 Mar 2014 11:54:30 -0500 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:40517) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WKW8G-0007ZF-48 for 16901@debbugs.gnu.org; Mon, 03 Mar 2014 11:54:25 -0500 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0N1V00J00DH2S000@mtaout26.012.net.il> for 16901@debbugs.gnu.org; Mon, 03 Mar 2014 18:52:15 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N1V00D7KDJ20I70@mtaout26.012.net.il>; Mon, 03 Mar 2014 18:52:15 +0200 (IST) In-reply-to: <83lhwstu1k.fsf@gnu.org> X-012-Sender: halo1@inter.net.il 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:86500 Archived-At: > Date: Sun, 02 Mar 2014 19:00:23 +0200 > From: Eli Zaretskii > Cc: 16901@debbugs.gnu.org, dmantipov@yandex.ru > > > From: Juanma Barranquero > > Date: Sun, 2 Mar 2014 05:16:29 +0100 > > Cc: Drew Adams , Dmitry Antipov , 16901@debbugs.gnu.org > > > > If you rebuild gmalloc.c with an added #define GC_MCHECK, do you see > > the mabort calls too? > > Yes, I see them, and I'm looking into that. Which requires me to wade > through some completely obfuscated code first... I fixed 2 bugs in gmalloc (trunk revision 116643). One of them was in the GC_MCHECK code, but the other could have been triggered in a normal build as well (although a GC_MCHECK build triggered it all the time). In a nutshell, gmalloc didn't cope well with aligned allocations, especially when GC_MCHECK was turned on. The result survived a full bootstrap, where the original code couldn't even get past loading the *.el files into bootstrap-emacs during the initial build of the trunk, and of course the crasher with HELLO reported by Juanma no longer does. So I think this is ready for prime time, and let's hope it will reveal real problems. P.S. The bugs in gmalloc were so glaring that I'd appreciate if someone could eyeball my changes, in case I grossly misunderstood the code. When I see such bugs in such veteran code, I usually question my own sanity. TIA.