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: Thu, 19 Mar 2020 20:17:55 +0100 Message-ID: References: <24162.58107.725366.668639@cochabamba.vanoostrum.org> <83y2s48yn7.fsf@gnu.org> <83zhck6obg.fsf@gnu.org> <83r1xv73ze.fsf@gnu.org> <83imj5bdct.fsf@gnu.org> <83zhcff131.fsf@gnu.org> <2b2fc990-2917-7970-d88b-7708dbaa48be@cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="22665"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.90 (darwin) Cc: Robert Pluim , Paul Eggert , 39962@debbugs.gnu.org To: Pip Cet Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 19 20:19:16 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 1jF0hH-0005og-TI for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 Mar 2020 20:19:16 +0100 Original-Received: from localhost ([::1]:42062 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jF0hH-0001W6-0V for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 Mar 2020 15:19:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55134) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jF0h6-0001Uq-Ph for bug-gnu-emacs@gnu.org; Thu, 19 Mar 2020 15:19:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jF0h5-0000hW-Me for bug-gnu-emacs@gnu.org; Thu, 19 Mar 2020 15:19:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37663) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jF0h5-0000h8-EL for bug-gnu-emacs@gnu.org; Thu, 19 Mar 2020 15:19:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jF0h4-00015X-7y for bug-gnu-emacs@gnu.org; Thu, 19 Mar 2020 15:19: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: Thu, 19 Mar 2020 19:19: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.15846454854110 (code B ref 39962); Thu, 19 Mar 2020 19:19:02 +0000 Original-Received: (at 39962) by debbugs.gnu.org; 19 Mar 2020 19:18:05 +0000 Original-Received: from localhost ([127.0.0.1]:43636 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jF0g9-00014E-3q for submit@debbugs.gnu.org; Thu, 19 Mar 2020 15:18:05 -0400 Original-Received: from smarthost-b.hosting2go.nl ([185.135.240.51]:37145) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jF0g7-00013j-FG for 39962@debbugs.gnu.org; Thu, 19 Mar 2020 15:18:03 -0400 X-ASG-Debug-ID: 1584645476-0a9db454e61df90001-PyL51Z Original-Received: from server24.hosting2go.nl (server24.hosting2go.nl [185.135.241.24]) by smarthost-b.hosting2go.nl with ESMTP id AXAQ0aST3elpeDzr (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <39962@debbugs.gnu.org>; Thu, 19 Mar 2020 20:17:56 +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 16563 invoked from network); 19 Mar 2020 19:17:56 -0000 Original-Received: from static-145.132.212.31.ip.telfort.nl (HELO cochabamba.vanoostrum.org) (145.132.212.31) by server24.hosting2go.nl with SMTP; 19 Mar 2020 19:17:56 -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 34857ABE804A; Thu, 19 Mar 2020 20:17:56 +0100 (CET) X-ASG-Orig-Subj: Re: bug#39962: 27.0.90; Crash in Emacs 27.0.90 In-Reply-To: (Pip Cet's message of "Wed, 18 Mar 2020 14:08:19 +0000") X-Barracuda-Connect: server24.hosting2go.nl[185.135.241.24] X-Barracuda-Start-Time: 1584645476 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://185.135.240.51:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at hosting2go.nl X-Barracuda-Scan-Msg-Size: 1627 X-Barracuda-BRTS-Status: 1 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.80710 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:177549 Archived-At: Pip Cet writes: > On Wed, Mar 18, 2020 at 11:38 AM Pieter van Oostrum >> I have a procedure to generate a crash, but it isn't very predictable. >> I think that is because there are timers running and asynchronous >> processes. I get a different crash each time I run it. > > I think it's because of user interaction and the events it generates... [ ... ] > Is it possible this is somehow related to mouse/keyboard interaction? > That's my prime suspect, anyway; I still think that macOS runs code > asynchronously upon receiving external events in ways that aren't > kosher, particularly if they happen during GC. I think that is quite probable. I had my keyboard macro translated to an Elisp function and then called this a 100 times with dotimes. However, there was no crash, even though I had the smaller stack size. In total I had the macro run some 300+ times without any crash. I just had it run automatically (put it in a .el file, and used emacs -Q -l testfile.el), so no keyboard/mouse interaction. > If I'm right, it should be possible to trigger the bug by creating a > reasonably large session, running (garbage-collect) in an infinite > loop, and interacting with the mouse and keyboard while that is > happening. Or running your keyboard macro in a similar loop, of > course. But if I do it in a loop it will not react to the keyboard/mouse. Do you think the asynchronous processing of these events will be sufficient, even though no action is taken on these events? -- Pieter van Oostrum www: http://pieter.vanoostrum.org/ PGP key: [8DAE142BE17999C4]