From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#45117: 28.0.50; process-send-string mysteriously exiting non-locally when called from timer Date: Fri, 11 Dec 2020 14:41:05 +0000 Message-ID: References: <87h7ow4j4o.fsf@gmail.com> <83mtyo71dh.fsf@gnu.org> <877dps47ge.fsf@gmail.com> <83360g6xlt.fsf@gnu.org> <87im9b2pds.fsf@gmail.com> <83k0tr5700.fsf@gnu.org> <87360d3dud.fsf@gmail.com> <83eejx4rd6.fsf@gnu.org> <87r1nx1vtd.fsf@gmail.com> <87mtyl1v6y.fsf@gmail.com> <87h7ot1ona.fsf@gmail.com> <87czzh1kv8.fsf@gmail.com> <83o8j03ijt.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16803"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45117@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 11 15:42:26 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 1knjcn-0004El-U1 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 11 Dec 2020 15:42:25 +0100 Original-Received: from localhost ([::1]:40676 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knjcm-0000wU-VZ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 11 Dec 2020 09:42:24 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knjcR-0000vV-2M for bug-gnu-emacs@gnu.org; Fri, 11 Dec 2020 09:42:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57399) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1knjcQ-0007Fe-R6 for bug-gnu-emacs@gnu.org; Fri, 11 Dec 2020 09:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1knjcQ-0006OZ-Oq for bug-gnu-emacs@gnu.org; Fri, 11 Dec 2020 09:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Dec 2020 14:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45117 X-GNU-PR-Package: emacs Original-Received: via spool by 45117-submit@debbugs.gnu.org id=B45117.160769768524503 (code B ref 45117); Fri, 11 Dec 2020 14:42:02 +0000 Original-Received: (at 45117) by debbugs.gnu.org; 11 Dec 2020 14:41:25 +0000 Original-Received: from localhost ([127.0.0.1]:40707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knjbp-0006N8-7H for submit@debbugs.gnu.org; Fri, 11 Dec 2020 09:41:25 -0500 Original-Received: from mail-il1-f178.google.com ([209.85.166.178]:44736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knjbm-0006Mu-Sq for 45117@debbugs.gnu.org; Fri, 11 Dec 2020 09:41:24 -0500 Original-Received: by mail-il1-f178.google.com with SMTP id r17so8959855ilo.11 for <45117@debbugs.gnu.org>; Fri, 11 Dec 2020 06:41:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=SpwUFyxn8zzZ8v7q0gT6LyI78rAYmkfvkCcGvTt7aeA=; b=PtFLChQnkzSdXlgMiWf9Efa4DA9G2b6hlIvPi0yK9WjsB1sMi+YeL0n6ghN8eSXSNv K+bKqhgh05r/AAyNVy3mn6GxAZQA8RJjByxraO9aqwQZEYQuGyLB5lDLS6gQYcAzbAee pdEzFgqSny9ZSQEyCVl5C0YjKCmt30KfniZ3m+/jGmiQxioyhA2gjjz50FGUyREn5a1x kAnAnXLmGZAVnTrkKQrgQVmg0E+yEJobwHzOBy6ZM1TlC9GHl+sEUivqeKbq+8nHZWT0 wMIrQEimNMpwrDnu19aQ1L/d25zpkyQhpmk8QSaWFgGT38jWKjL4QCuLM+sKQ7j19H6R t7FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=SpwUFyxn8zzZ8v7q0gT6LyI78rAYmkfvkCcGvTt7aeA=; b=WsWxIs1LcbEslAPJBaG4R6QSY5FWl3ighNnc+QnOt6dd4VVxav+RBIhFqu7P7ZAoPq +mCjcOnQQQUzE9UmDetwojBtzmKRsoSUmpPoUEi7buQfkJZfmEurnQGcqzIJXPlRfvg0 AN5X7LDkJCTM78HUGXs3gpTtXXLHJsYHG9UgUvzfaE/R79m/8/cU+3ZYhnPtszy1xL9P MvT1bj5AJrv5Ij/VAoLbrfBi4h5qJIqLqtIfWjAnreN2ISo1Aia5kN3NSFIU3kK6f5bW tEHxEFWSiIXTTeSQXXeb5dqFPxKxhy8o9RF4eLa1/gc720kL/Q1jM1u3yfYgFIFwLsRi a69Q== X-Gm-Message-State: AOAM533sMB9x59/QN0VZrID844ylrYl0f6ZiGu4PplBjX5Z/Q28BDO4Y XHZbqwMGy9hhvtU1nVDxCMTIt71KD7ucPGR5GAw= X-Google-Smtp-Source: ABdhPJwjKg0KlHiq4B74r/F7WYfIUIyjSjUcs9Xx5EwYsIkmo6zrdOT65rAhUieNkGFvyB8zkS9hXRAp6pmCfo2KVhw= X-Received: by 2002:a05:6e02:14ce:: with SMTP id o14mr16619360ilk.9.1607697677205; Fri, 11 Dec 2020 06:41:17 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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:195762 Archived-At: On Fri, Dec 11, 2020 at 2:31 PM Stefan Monnier w= rote: > > > If currently process-send-string isn't protected against > > while-no-input, then perhaps we should add such a protection? > > Not just "perhaps" but "definitely". This said, I believe it already is > "protected" so there's nothing we need to do (at least until we get > a bug report showing I'm wrong). In this bug report, I did observe a non-local exit from process-send-string once or twice, though it was rare. (look up). My theory is that for strings that go in bunches, when there's some output to accept, things can come in that cause the quit. But I didn't investigate. Jo=C3=A3o