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#15565: 24.3.50; emacs_backtrace Date: Wed, 09 Oct 2013 17:58:43 +0300 Message-ID: <83ppreqyn0.fsf@gnu.org> References: <83siwbr09q.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1381330757 24248 80.91.229.3 (9 Oct 2013 14:59:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Oct 2013 14:59:17 +0000 (UTC) Cc: 15565-done@debbugs.gnu.org To: Dani Moncayo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 09 16:59:20 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 1VTvEN-0001X1-QW for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Oct 2013 16:59:19 +0200 Original-Received: from localhost ([::1]:42371 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTvEN-0007T5-GW for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Oct 2013 10:59:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTvEE-0007Eb-Fx for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2013 10:59:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VTvE7-00081l-AY for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2013 10:59:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57799) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTvE7-00081d-7C for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2013 10:59:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VTvE6-0004tb-W5 for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2013 10:59:03 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Oct 2013 14:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 15565 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 15565@debbugs.gnu.org, eliz@gnu.org, dmoncayo@gmail.com Original-Received: via spool by 15565-done@debbugs.gnu.org id=D15565.138133073418798 (code D ref 15565); Wed, 09 Oct 2013 14:59:02 +0000 Original-Received: (at 15565-done) by debbugs.gnu.org; 9 Oct 2013 14:58:54 +0000 Original-Received: from localhost ([127.0.0.1]:37858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VTvDx-0004t7-Px for submit@debbugs.gnu.org; Wed, 09 Oct 2013 10:58:54 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:61528) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VTvDu-0004sx-Qc for 15565-done@debbugs.gnu.org; Wed, 09 Oct 2013 10:58:52 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MUE00800OU9KO00@a-mtaout23.012.net.il> for 15565-done@debbugs.gnu.org; Wed, 09 Oct 2013 17:58:48 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MUE008QVPLVHQ70@a-mtaout23.012.net.il>; Wed, 09 Oct 2013 17:58:43 +0300 (IDT) In-reply-to: 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:79088 Archived-At: > Date: Tue, 8 Oct 2013 22:53:04 +0200 > From: Dani Moncayo > Cc: 15565@debbugs.gnu.org > > >> I've just bootstrapped the latest trunk, and it crashes very easily. > >> For example: > >> emacs -Q > >> C-h r > >> > >> This is the backtrace I get: > > > > Doesn't happen here, sorry. > > Ok, I've tried to bootstrap again the latest trunk (now at revno > 114585), and I get the same crash with the same backtrace. I've succeeded in reproducing this. To get hit by the bug, you need (a) to compile with GLYPH_DEBUG=1, and (b) use a new enough compiler that supports a non-trivial definition of 'assume'. The problem is that 'eassert' can no longer take expressions that have side effects, because it evaluates them twice! I fixed this particular assertion violation in trunk revision 114590, but I think we had better fixed 'eassert' to not have this nasty misfeature. (I guess no one who works on Unix compiles with GLYPH_DEBUG=1, because the same problem was present on X. That's too bad, since GLYPH_DEBUG=1 is a valuable feature for weeding out bugs sooner rather than later.)