From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Keith David Bershatsky Newsgroups: gmane.emacs.bugs Subject: bug#27571: C stack overflow from `prin1' on deeply nested lisp object. Date: Tue, 09 Jan 2018 08:43:08 -0800 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1515516270 8876 195.159.176.226 (9 Jan 2018 16:44:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 9 Jan 2018 16:44:30 +0000 (UTC) Cc: 27571@debbugs.gnu.org, Paul Eggert To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 09 17:44:26 2018 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 1eYx0i-0001rT-6z for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Jan 2018 17:44:24 +0100 Original-Received: from localhost ([::1]:33623 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYx2h-0005ud-TQ for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Jan 2018 11:46:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYx0R-0003nC-AI for bug-gnu-emacs@gnu.org; Tue, 09 Jan 2018 11:44:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eYx0M-0008Nr-FA for bug-gnu-emacs@gnu.org; Tue, 09 Jan 2018 11:44:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41905) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eYx0M-0008Na-8P for bug-gnu-emacs@gnu.org; Tue, 09 Jan 2018 11:44:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eYx0M-0000S7-0F for bug-gnu-emacs@gnu.org; Tue, 09 Jan 2018 11:44:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Keith David Bershatsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jan 2018 16:44: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: confirmed Original-Received: via spool by 27571-submit@debbugs.gnu.org id=B27571.15155161931647 (code B ref 27571); Tue, 09 Jan 2018 16:44:01 +0000 Original-Received: (at 27571) by debbugs.gnu.org; 9 Jan 2018 16:43:13 +0000 Original-Received: from localhost ([127.0.0.1]:49796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eYwzY-0000QV-Qy for submit@debbugs.gnu.org; Tue, 09 Jan 2018 11:43:13 -0500 Original-Received: from gateway32.websitewelcome.com ([192.185.145.113]:32954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eYwzX-0000QO-Cy for 27571@debbugs.gnu.org; Tue, 09 Jan 2018 11:43:11 -0500 Original-Received: from cm11.websitewelcome.com (cm11.websitewelcome.com [100.42.49.5]) by gateway32.websitewelcome.com (Postfix) with ESMTP id 954E2C584E7 for <27571@debbugs.gnu.org>; Tue, 9 Jan 2018 10:43:10 -0600 (CST) Original-Received: from gator3053.hostgator.com ([50.87.144.69]) by cmsmtp with SMTP id YwzWediwSvkfxYwzWeBlOW; Tue, 09 Jan 2018 10:43:10 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lawlist.com ; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Cc :To:From:Message-ID:Date:Sender:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=5pJdAt4TPYnd8cMptoB8knz01baTdpZzjlqQ4TdwiCE=; b=FHKzHt+Br7vYgIUBnmOd+XGY8S s4gUCu/V9rlKEUOp7W+PNTDV2Y6oYLb0ma2GMROCSlGLHXLXLmbOza3QWEgbRKZ54485oOfemhhnE 1RHbrIycYIgLJwj13vy8jqRtZYM9IckgNaIZ3SZ3e8hET/hMjf49TXmNcFzbpzM6UXxur7PDG0S/E +ufrlOt3bbbGcGzZmlRYduC3+KNUWGXf1bsXqsbfMBBSdp9znv+SRlYSu2qLQdQWX7CPFWl3n8pfr lU46cZCcoXJPusaBDH57Gw12skqus2BPczo2tK0/pYfeJ0B+DEo+QTZ+5ZEWF7HBoofy0H5evTs22 KVt6Fl6g==; Original-Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:49534 helo=server.private) by gator3053.hostgator.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.89) (envelope-from ) id 1eYwzV-001FhP-I8; Tue, 09 Jan 2018 10:43:09 -0600 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator3053.hostgator.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lawlist.com X-BWhitelist: no X-Source-IP: 45.48.239.195 X-Source-L: No X-Exim-ID: 1eYwzV-001FhP-I8 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: cpe-45-48-239-195.socal.res.rr.com (server.private) [45.48.239.195]:49534 X-Source-Auth: lawlist X-Email-Count: 5 X-Source-Cap: bGF3bGlzdDtsYXdsaXN0O2dhdG9yMzA1My5ob3N0Z2F0b3IuY29t X-Local-Domain: yes 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:141932 Archived-At: =46rom a layman's perspective, it appears to me that Emacs disregards `ulim= it -S -s unlimited` on OSX 10.6.8 when typed into the terminal before launc= hing Emacs. To the extent that Emacs can be persuaded to obey the "unlimit= ed" case explicitly, that sounds like a viable solution. I must admit, how= ever, that I am unfamiliar with how this all works. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; DATE: [01-09-2018 04:58:34] <09 Jan 2018 07:58:34 -0500> FROM: Noam Postavsky >=20 > Keith David Bershatsky writes: >=20 > > I have determined that bug #27571 was introduced on November 19, 2016 > > with commit c61ee94959ba96b2a327df0684593f7e569e30be. The following > > patch to the Emacs 26 branch as of today (01/08/2018) reverses the > > commit and enables the test below to be completed successfully. > > > > [FYI: I am on OSX 10.6.8 and am manually increasing the stack limit > > with `ulimit -S -s unlimited` so that I can have rather large custom > > undo-tree histories.] >=20 > By "broken" you mean that it prevents the `ulimit -S -s unlimited` trick > from working? Perhaps it's just a matter of detecting this "unlimited" > case explicitly.