From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#27571: C stack overflow from `prin1' on deeply nested lisp object. Date: Tue, 09 Jan 2018 07:58:34 -0500 Message-ID: <874lnvqjd1.fsf_-_@users.sourceforge.net> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1515502643 22392 195.159.176.226 (9 Jan 2018 12:57:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 9 Jan 2018 12:57:23 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: 27571@debbugs.gnu.org, Paul Eggert To: Keith David Bershatsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 09 13:57:18 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 1eYtSn-0004ui-K8 for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Jan 2018 13:57:09 +0100 Original-Received: from localhost ([::1]:51201 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYtUl-0000GX-T5 for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Jan 2018 07:59:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYtUf-0000GE-N2 for bug-gnu-emacs@gnu.org; Tue, 09 Jan 2018 07:59:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eYtUc-00015B-MQ for bug-gnu-emacs@gnu.org; Tue, 09 Jan 2018 07:59:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33508) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eYtUc-000150-If for bug-gnu-emacs@gnu.org; Tue, 09 Jan 2018 07:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eYtUc-00007r-69 for bug-gnu-emacs@gnu.org; Tue, 09 Jan 2018 07:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jan 2018 12:59:02 +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.1515502725448 (code B ref 27571); Tue, 09 Jan 2018 12:59:02 +0000 Original-Received: (at 27571) by debbugs.gnu.org; 9 Jan 2018 12:58:45 +0000 Original-Received: from localhost ([127.0.0.1]:42189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eYtUL-000079-AM for submit@debbugs.gnu.org; Tue, 09 Jan 2018 07:58:45 -0500 Original-Received: from mail-it0-f49.google.com ([209.85.214.49]:38319) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eYtUJ-00006q-Md for 27571@debbugs.gnu.org; Tue, 09 Jan 2018 07:58:44 -0500 Original-Received: by mail-it0-f49.google.com with SMTP id r6so11791242itr.3 for <27571@debbugs.gnu.org>; Tue, 09 Jan 2018 04:58:43 -0800 (PST) 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=Vux+sniU5IK1UsOjqCdIJz2XAF69E9m5X6k4G7RObcw=; b=lyPc9tx2+NfFhQeChK027BInECsdV+Ge137Z9FWxkU4YW51pjNpauK/TeQKxrBvYS8 x2GJag4lDpcEA02eXmPO7o6VCPbnFV3jeqxC9W/19WOkHJW01vYy8Vs5eLHxnmr30ffh tzgWm2IeYyaJfTLdPfYZC2KCeT+OSefp5S1T+MSRWfF9b+OewIWSutRrCuWuAXuiwobr /iytY7KNmTZdNQUDEDEn8g6okdseXNqclcQOVAjcko5tQDrF9s7DVXHyV3AF0I+5Gfyt FwuU9ZMucbTWo4cLsZspJ8bQdSaKcXT8m791jMsjpnC34lcR0UoXeJrarpmWF7Wtlly1 TVUQ== 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=Vux+sniU5IK1UsOjqCdIJz2XAF69E9m5X6k4G7RObcw=; b=TvsBJgF/j84EeD5b9t0wE5sbGGkvzPvGH2RmSLWAU5OCSdSpgrQASL+2+3IthhFn0R xCCuPpPL+BzHksB3bPSwKgczNZbKTVtYJSw4eKlkJ0D/Ga2EV59WpTSGJa/32UkewoOd JvDWq3XVjLlQoVBe8wW15OAjp93Qz0b+SNsgUpQODovusQGPQcQDr6xu2mH4L3S7oFot gkSr7oq/Qoy8fadx/EwGtGxwVfPqGLOWRfXcdJbOAV00Pz7Gm/jFiF0tMxGdGENsU6A9 6g09zOmW1JzZB12sCsdmFOkMj9KqIVh48Uj+LoNZAZjGbQN5SQApVWlCVBf0dI0vBGHT F96w== X-Gm-Message-State: AKwxytcIJKPSQHxIOep3R0xkp0Q0V/UgpWLDNjyYBMEq/aazjKNPHVfW adxTUpK81QD4xsv2HJ3DoPgIqg== X-Google-Smtp-Source: ACJfBosXe1r9v0JadkSLrPczc+LdgHrbNuNZ4gpbLtj4DhZJTqXbzVYo6eb5snjO0asGVgUhDo5T7w== X-Received: by 10.36.228.79 with SMTP id o76mr10220915ith.85.1515502717671; Tue, 09 Jan 2018 04:58:37 -0800 (PST) Original-Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id f20sm8460232ioh.19.2018.01.09.04.58.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Jan 2018 04:58:36 -0800 (PST) In-Reply-To: (Keith David Bershatsky's message of "Mon, 08 Jan 2018 17:38:38 -0800") 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:141924 Archived-At: Keith David Bershatsky writes: > 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.] 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.