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: Thu, 06 Jul 2017 22:46:40 -0400 Message-ID: <87fue9ge0f.fsf@users.sourceforge.net> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1499395579 31447 195.159.176.226 (7 Jul 2017 02:46:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Jul 2017 02:46:19 +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 Fri Jul 07 04:46:10 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 1dTJHV-0007i7-F8 for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Jul 2017 04:46:09 +0200 Original-Received: from localhost ([::1]:54200 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTJHZ-0001K5-75 for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Jul 2017 22:46:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTJHT-0001Je-4n for bug-gnu-emacs@gnu.org; Thu, 06 Jul 2017 22:46:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dTJHO-0008Tu-AB for bug-gnu-emacs@gnu.org; Thu, 06 Jul 2017 22:46:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52913) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dTJHO-0008Td-66 for bug-gnu-emacs@gnu.org; Thu, 06 Jul 2017 22:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dTJHN-0006sO-Ry for bug-gnu-emacs@gnu.org; Thu, 06 Jul 2017 22:46: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: Fri, 07 Jul 2017 02:46: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.149939551326368 (code B ref 27571); Fri, 07 Jul 2017 02:46:01 +0000 Original-Received: (at 27571) by debbugs.gnu.org; 7 Jul 2017 02:45:13 +0000 Original-Received: from localhost ([127.0.0.1]:55590 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dTJGb-0006rA-5L for submit@debbugs.gnu.org; Thu, 06 Jul 2017 22:45:13 -0400 Original-Received: from mail-it0-f44.google.com ([209.85.214.44]:37566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dTJGY-0006qo-BV; Thu, 06 Jul 2017 22:45:11 -0400 Original-Received: by mail-it0-f44.google.com with SMTP id m84so22824429ita.0; Thu, 06 Jul 2017 19:45:10 -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=NB5p25c/n2IYyF1VZX7QIAWdHMAJO4NInVJ1nukHl9k=; b=DoA3MdyuNFnEMCPH17hgovQBwssW9Gb1s/gwbfEsMljUdJAgroqRuMBxIsXAQmshGw ZiPRmJe1CHiYqYfgucZYxPQc1eOAfwLKw55KqFeGYX0wLwlWwnwLrLGrOcyoOsGbHSZ0 9OTMz+h0ycf2Xhoz0maKl3WR7ANBf3rKeTUvXknecKDvWaa1j2CmFjtTk7/cy7sRajaj FxWmYsfMXBXdMD73wzWgQzafnT/BL/cIKCH7rhevwBd1sIToPO3l7fqKCAv4+FTpqlfA H4qS2vcJdnD5QgpSlN2nB9dpZFJkP9dWKe7fExR3nq9TAniFUKFKVWe8B2bmtV5lzUcY J7KA== 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=NB5p25c/n2IYyF1VZX7QIAWdHMAJO4NInVJ1nukHl9k=; b=mJFGTLh+SwfvAG9bAjXajU6JnqntcnToIqZvbzKoMRhrfGLPVfdAYjaBM8rkqhRzSk kkNfvBnGoqaisLXU+QLxlVyV7oOipzCpd6MSg0oqRgjZo9vCDqLEeW/4mDD75YGmm5Zg U/Zac5DsArWxSuqQfs9cKT6UDpYgxvhTlWpKPqpgPpXbnY/H/RkGs4uONQemdeTMD1aC qyPfx035nZuQPTNaWq0TsD4fiEW747qIinv4H81aoNZTx6Fz0rqXvbfp2rZyO4BRCc1H ow4t88gayjYEbrhmHBmcud3zd7Omcd0bxVZcVXe56nv7zbEgiVLZmTHnqScJpDXvkDK9 yTkQ== X-Gm-Message-State: AIVw113z66W0L3J91IYQIdzDjSbijcpsQWqV3FthyaxM8j8x76Eazhw5 mYFpmbF/LB2/paTG X-Received: by 10.36.57.86 with SMTP id l83mr1032474ita.34.1499395504509; Thu, 06 Jul 2017 19:45:04 -0700 (PDT) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id y69sm1203962itb.20.2017.07.06.19.45.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 06 Jul 2017 19:45:03 -0700 (PDT) In-Reply-To: (Keith David Bershatsky's message of "Mon, 03 Jul 2017 20:49:32 -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:134287 Archived-At: retitle 27571 C stack overflow from `prin1' on deeply nested lisp object. severity 27571 minor tags 27571 + confirmed quit Keith David Bershatsky writes: > Yes, 'ulimit -S -s unlimited', does indeed fix the problem! :) :) :) > > Yes, my line 1350 of print.c is the opening brace for print_object. > > I will hunt around in `main` for ways to increase the stack size > limit, as well as research other means to have the settings take > effect whenever launching the GUI version of Emacs. The proper fix would be to rewrite print_object to avoid recursion and use an explicit stack instead.