From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Pieter van Oostrum Newsgroups: gmane.emacs.bugs Subject: bug#39962: 27.0.90; Crash in Emacs 27.0.90 Date: Fri, 13 Mar 2020 18:42:16 +0100 Message-ID: References: <24162.58107.725366.668639@cochabamba.vanoostrum.org> <22225b66-44f6-d132-3036-92181d53c28d@cs.ucla.edu> <89A83582-358F-43DC-B96E-04EE9D655D5F@vanoostrum.org> <63b88e2d-9888-f3ce-a4b0-fcf344e803e5@cs.ucla.edu> <83d09lbgk5.fsf@gnu.org> <83y2s48yn7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="59516"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.90 (darwin) Cc: 39962@debbugs.gnu.org, eggert@cs.ucla.edu, Pip Cet To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 13 18:43:17 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jCoL6-000FMZ-QR for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 Mar 2020 18:43:16 +0100 Original-Received: from localhost ([::1]:34460 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCoL5-0005Vz-Mp for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 Mar 2020 13:43:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51458) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCoKt-0005Um-IW for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2020 13:43:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCoKs-0005X5-Ag for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2020 13:43:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54240) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jCoKs-0005Vz-6H for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2020 13:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jCoKs-0001iL-2h for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2020 13:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pieter van Oostrum Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Mar 2020 17:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39962 X-GNU-PR-Package: emacs Original-Received: via spool by 39962-submit@debbugs.gnu.org id=B39962.15841213456540 (code B ref 39962); Fri, 13 Mar 2020 17:43:02 +0000 Original-Received: (at 39962) by debbugs.gnu.org; 13 Mar 2020 17:42:25 +0000 Original-Received: from localhost ([127.0.0.1]:60213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCoKH-0001hP-B1 for submit@debbugs.gnu.org; Fri, 13 Mar 2020 13:42:25 -0400 Original-Received: from smarthost-b.hosting2go.nl ([83.137.198.202]:44223) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCoKF-0001hC-Fm for 39962@debbugs.gnu.org; Fri, 13 Mar 2020 13:42:23 -0400 X-ASG-Debug-ID: 1584121337-0a9db43b8a3474930001-PyL51Z Original-Received: from server24.hosting2go.nl (server24.hosting2go.nl [185.135.241.24]) by smarthost-b.hosting2go.nl with ESMTP id uYRwxQgSTjlHSc1J (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <39962@debbugs.gnu.org>; Fri, 13 Mar 2020 18:42:17 +0100 (CET) X-Barracuda-Envelope-From: pieter-l@vanoostrum.org X-Barracuda-Effective-Source-IP: server24.hosting2go.nl[185.135.241.24] X-Barracuda-Apparent-Source-IP: 185.135.241.24 Original-Received: (qmail 25835 invoked from network); 13 Mar 2020 17:42:17 -0000 Original-Received: from ip5650f203.speed.planet.nl (HELO cochabamba.vanoostrum.org) (86.80.242.3) by server24.hosting2go.nl with SMTP; 13 Mar 2020 17:42:17 -0000 Received-SPF: unknown (server24.hosting2go.nl: domain at 83.137.194.9 does not designate permitted sender hosts) Original-Received: from cochabamba.vanoostrum.org (localhost [IPv6:::1]) by cochabamba.vanoostrum.org (Postfix) with ESMTP id E3268AAEA406; Fri, 13 Mar 2020 18:42:16 +0100 (CET) X-ASG-Orig-Subj: Re: bug#39962: 27.0.90; Crash in Emacs 27.0.90 In-Reply-To: <83y2s48yn7.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 13 Mar 2020 10:09:00 +0200") X-Barracuda-Connect: server24.hosting2go.nl[185.135.241.24] X-Barracuda-Start-Time: 1584121337 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://83.137.198.202:443/cgi-mod/mark.cgi X-Barracuda-BRTS-Status: 1 X-Virus-Scanned: by bsmtpd at hosting2go.nl X-Barracuda-Scan-Msg-Size: 1724 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=4.5 tests=BSF_SC0_MISMATCH_TO B-X-Hosting2GO-Smarthost: Clean X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.80624 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header 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: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:177288 Archived-At: Eli Zaretskii writes: >> From: Pip Cet >> Date: Thu, 12 Mar 2020 20:00:13 +0000 >> Cc: 39962@debbugs.gnu.org, Paul Eggert >> >> The first attachment to this message is an Elisp file which does the >> same thing, by creating thousands of symbols. On GNU/Linux, with >> fairly default standard stack size settings, I get a segfault after >> some 85,000 symbols have been created. > > The default stack size on GNU/Linux is 2MB, right? Maybe it's high > time we raised that, what with the memory size today's machines > routinely have at their disposal. FWIW, the MS-Windows build have > been using a 8MB run-time stack for a very long time. My ulimit -s was 8192 (8 MiBi if I am correct). The maximum I can set it to is 65532 (that's 64 MiBi if I am correct). > Of course, given enough recursive data structures we can always crash > the current GC the way it is implemented. But the question is how > many such recursive symbols are there in Pieter's sessions? are they > anywhere near the 1000000000 mark you used in your test program? IOW, > I think we need to know how close we are in real-life sessions to the > dangerous mark. One file had 5063 messages, another one 2374. But I was resorting these files, so I don't know if these caused more of these entries to be generated. The sorting has to reorder the messages, so I get the total would double, but they would be separate lists. > Maybe this is also worth reporting to VM developers. They might > consider changing their implementation to avoid these problems. > > Thanks. -- Pieter van Oostrum www: http://pieter.vanoostrum.org/ PGP key: [8DAE142BE17999C4]