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: Wed, 26 Mar 2014 17:24:49 +0200 Message-ID: <83eh1pyoce.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> <831txq1dyx.fsf@gnu.org> <83lhvxzkj3.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1395847506 10666 80.91.229.3 (26 Mar 2014 15:25:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Mar 2014 15:25:06 +0000 (UTC) Cc: dancol@dancol.org, schwab@linux-m68k.org, dak@gnu.org, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 26 16:25:16 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 1WSphZ-0006Ou-3g for ged-emacs-devel@m.gmane.org; Wed, 26 Mar 2014 16:25:13 +0100 Original-Received: from localhost ([::1]:48681 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSphY-0004jC-JB for ged-emacs-devel@m.gmane.org; Wed, 26 Mar 2014 11:25:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40849) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSphR-0004bF-UK for emacs-devel@gnu.org; Wed, 26 Mar 2014 11:25:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WSphM-0003ai-Vd for emacs-devel@gnu.org; Wed, 26 Mar 2014 11:25:05 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:52182) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSphH-0003Ye-Aq; Wed, 26 Mar 2014 11:24:55 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0N3100E00UT3FU00@a-mtaout21.012.net.il>; Wed, 26 Mar 2014 17:24:53 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N3100EXCUTH4S80@a-mtaout21.012.net.il>; Wed, 26 Mar 2014 17:24:53 +0200 (IST) In-reply-to: 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:171005 Archived-At: > Date: Wed, 26 Mar 2014 09:46:40 -0400 > From: Richard Stallman > CC: dancol@dancol.org, dak@gnu.org, schwab@linux-m68k.org, > emacs-devel@gnu.org > > > I never got to find that out. I was printing elements one by one > > with pr, and on the bad one pr crashed and I could not recover. > > That's why etc/DEBUG advises not to use 'pr' in these situations. > > Alas, there were so many elements. Maybe we should have a segfault-safe 'pr', using valid_pointer_p?