From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#27571: Crashing when printing a lisp object. Date: Mon, 03 Jul 2017 22:05:12 -0400 Message-ID: <87bmp1hs87.fsf@users.sourceforge.net> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1499133853 23056 195.159.176.226 (4 Jul 2017 02:04:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 4 Jul 2017 02:04:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) Cc: 27571@debbugs.gnu.org To: Keith David Bershatsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 04 04:04:09 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSDCB-0005hv-LT for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Jul 2017 04:04:07 +0200 Original-Received: from localhost ([::1]:38293 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSDCH-0008Ia-3Z for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Jul 2017 22:04:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSDCB-0008IT-2j for bug-gnu-emacs@gnu.org; Mon, 03 Jul 2017 22:04:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSDC6-0007rB-7M for bug-gnu-emacs@gnu.org; Mon, 03 Jul 2017 22:04:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48340) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dSDC6-0007qm-3Z for bug-gnu-emacs@gnu.org; Mon, 03 Jul 2017 22:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dSDC5-00089L-LO for bug-gnu-emacs@gnu.org; Mon, 03 Jul 2017 22:04:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Jul 2017 02:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27571 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27571-submit@debbugs.gnu.org id=B27571.149913382431301 (code B ref 27571); Tue, 04 Jul 2017 02:04:01 +0000 Original-Received: (at 27571) by debbugs.gnu.org; 4 Jul 2017 02:03:44 +0000 Original-Received: from localhost ([127.0.0.1]:51017 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSDBo-00088n-7j for submit@debbugs.gnu.org; Mon, 03 Jul 2017 22:03:44 -0400 Original-Received: from mail-io0-f172.google.com ([209.85.223.172]:35880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSDBm-00088b-GC for 27571@debbugs.gnu.org; Mon, 03 Jul 2017 22:03:42 -0400 Original-Received: by mail-io0-f172.google.com with SMTP id z62so64640625ioi.3 for <27571@debbugs.gnu.org>; Mon, 03 Jul 2017 19:03:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Kuk8H3u+aS+Wo+qgoXE7u1L0n0nntdqGz45nPPgBN24=; b=DgIsgNOnJ527kdtyPDlzeGWi9CoSNvyRI+ffF2rVPv2uplggu63fbFTjVbV9RVSowe w8a52ZQUy/dslq0febTAzpxCqOkbbl8HCyfMyBzOdAsAbXlYyMQyC2iPUiDwvHtFi3/P /zgx4C8gSVgea57xGPuSPgXHTngkcBXRwiQvsv87hCODnE+5DQ0v1zdwXlRL5zXt1TCm xc5yle+hFL9CWB+d1kbYXOWVe3ZHk1FTw3Ak2qBuMXFPA84i4oYsZqJFHCYsE6u+TByv Cg7ZwtFN41U93OxTjcDQfflBXDuvFwVQpZtNrY8wqcFix26AHaAqhyGlxZF7HpwOLNKi a1kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=Kuk8H3u+aS+Wo+qgoXE7u1L0n0nntdqGz45nPPgBN24=; b=ifiGYr03d5aRBOIHVMTVvQTrKMz6aCy/hSdCP9uDE1MeX6xvvlGvuVMpgCVljnEzfB 1mJb49Iw+HVRAe47WI91lNmOqmKQ9DK5Cz1HOzyq8oFgxVp9n1PhGEP8GL514Cxp4wyN uyzH9zCLZ3Kv0oO9RYlpgVCTMy97zzTANiw4vorQHjJuMJkvLDv/RHFFzEMPbj4sfjgW fGhWSj6aqCXuLD8Kzwx2ubllpccXDYvo8hRl/UY5wX1U/ecP2KwHuO/Qga8dkDAMJEhQ cv3JmZEeOOE131QejxW5c4kBXRKiOKYuPPQxRr4cejthnor+FfmcD4K00SQ0teXRPh9M N4tw== X-Gm-Message-State: AKS2vOxgu2My5tXTFg4KwgLlFcYVmeJpI1qr9jmuJeXxew2BURQyT9BZ XMcj3VyGc1DgQMul X-Received: by 10.107.179.138 with SMTP id c132mr39884757iof.114.1499133816759; Mon, 03 Jul 2017 19:03:36 -0700 (PDT) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id o17sm1585470ioe.1.2017.07.03.19.03.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Jul 2017 19:03:36 -0700 (PDT) In-Reply-To: (Keith David Bershatsky's message of "Mon, 03 Jul 2017 18:42:12 -0700") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:134154 Archived-At: Keith David Bershatsky writes: > [cl-struct-undo-tree [nil ([nil ... Is this the struct that crashes when printing, or one that's just under the threshold? (I don't get any crash here) > The persistent undo history feature uses `prin1` to create a printed > representation of the undo-tree history, which is saved to a file and > then restored at a later point in time with the `read` command. Emacs > 25.2.1 is crashing on OSX Snow Leopard and also OSX El Capitan when > the undo tree history exceeds a count of approximately 6651. > > Program received signal SIGSEGV, Segmentation fault. > 0x0000000100141da7 in print_object (obj=4790542093, printcharfun=0, > escapeflag=true) at print.c:1350 > 1350 { Line 1350 is just at the beginning of print_object, right? I'm guessing you're just overflowing the stack. Can you increase it with ulimit or something?