From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] trunk r116836: Avoid GC crashes. Date: Mon, 24 Mar 2014 05:45:05 +0200 Message-ID: <83wqfk1cqm.fsf@gnu.org> References: <532CCE2F.1030406@dancol.org> <532CE5CE.8090607@dancol.org> <532CE93F.4010900@dancol.org> <87y50220rh.fsf@fencepost.gnu.org> <83ha6o3nm0.fsf@gnu.org> <532F2DE7.6050303@dancol.org> <83a9cg3f5q.fsf@gnu.org> <532F3BBA.4030802@dancol.org> <83zjkg1xs5.fsf@gnu.org> <87ior4y6r3.fsf@fencepost.gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1395632735 6604 80.91.229.3 (24 Mar 2014 03:45:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Mar 2014 03:45:35 +0000 (UTC) Cc: dancol@dancol.org, schwab@linux-m68k.org, rms@gnu.org, emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 24 04:45:44 2014 Return-path: Envelope-to: ged-emacs-devel@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 1WRvpX-00067l-GF for ged-emacs-devel@m.gmane.org; Mon, 24 Mar 2014 04:45:43 +0100 Original-Received: from localhost ([::1]:34342 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WRvpX-0001Zu-5p for ged-emacs-devel@m.gmane.org; Sun, 23 Mar 2014 23:45:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WRvpO-0001My-5L for emacs-devel@gnu.org; Sun, 23 Mar 2014 23:45:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WRvpJ-00059V-4T for emacs-devel@gnu.org; Sun, 23 Mar 2014 23:45:34 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:37704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WRvpD-00058x-Kv; Sun, 23 Mar 2014 23:45:23 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0N2X00I008QF0Y00@a-mtaout21.012.net.il>; Mon, 24 Mar 2014 05:45:16 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N2X00H4H93GWN50@a-mtaout21.012.net.il>; Mon, 24 Mar 2014 05:45:16 +0200 (IST) In-reply-to: <87ior4y6r3.fsf@fencepost.gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:170898 Archived-At: > From: David Kastrup > Cc: Daniel Colascione , schwab@linux-m68k.org, rms@gnu.org, emacs-devel@gnu.org > Date: Sun, 23 Mar 2014 21:55:44 +0100 > > Is this a failed assertion? From /etc/DEBUG: > > ** When you are trying to analyze failed assertions or backtraces, it > is essential to compile Emacs with flags suitable for debugging. > With GCC 4.8 or later, you can invoke 'make' with CFLAGS="-Og -g3". > With older GCC or non-GCC compilers, you can use CFLAGS="-O0 -g3". > With GCC and higher optimization levels such as -O2, the > -fno-omit-frame-pointer and -fno-crossjumping options are often > essential. The latter prevents GCC from using the same abort call for > all assertions in a given function, rendering the stack backtrace > useless for identifying the specific failed assertion. That's how Windows snapshots are compiled, indeed.