From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Adam Porter Newsgroups: gmane.emacs.bugs Subject: bug#50166: 28.0.50; ECM for possible process-status/sentinel bug Date: Sat, 25 Sep 2021 07:14:18 -0500 Message-ID: References: <871r6lxjjt.fsf@gnus.org> <8735r1w2bs.fsf@gnus.org> <87y28tumzz.fsf@gnus.org> <87pmu5umq7.fsf@gnus.org> <87v93ws1ao.fsf@gnus.org> <87zgs4s5qe.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2298"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50166@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 25 14:16:07 2021 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 1mU6b8-0000P7-4m for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Sep 2021 14:16:06 +0200 Original-Received: from localhost ([::1]:33970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mU6b7-0003rT-0f for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Sep 2021 08:16:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mU6a6-0003pm-Gq for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2021 08:15:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48831) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mU6a6-0002I6-8k for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2021 08:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mU6a6-0002dy-4v for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2021 08:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Adam Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Sep 2021 12:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50166 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 50166-submit@debbugs.gnu.org id=B50166.163257207710113 (code B ref 50166); Sat, 25 Sep 2021 12:15:02 +0000 Original-Received: (at 50166) by debbugs.gnu.org; 25 Sep 2021 12:14:37 +0000 Original-Received: from localhost ([127.0.0.1]:60377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mU6Zh-0002d3-Ck for submit@debbugs.gnu.org; Sat, 25 Sep 2021 08:14:37 -0400 Original-Received: from mail-lf1-f42.google.com ([209.85.167.42]:45704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mU6Zf-0002cj-9V for 50166@debbugs.gnu.org; Sat, 25 Sep 2021 08:14:35 -0400 Original-Received: by mail-lf1-f42.google.com with SMTP id u18so50980250lfd.12 for <50166@debbugs.gnu.org>; Sat, 25 Sep 2021 05:14:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JqqQywynO9lCVaYZBhOqYP9PDHl/UgvOIUv6Cm+SsgI=; b=qMkKNK14ItyN/BQY1JlXUWSS5DUytwU6F9CEpDW5TvUuifjKmEzEn/i5I2KgC/7kyy CDSM5bUWePqrbrFJsMpzazwzFuVSEXhTGWQ4mMQNzjrfiAt0Ldd3k9ote9qIMaJ/in7P qZHcEZZ9KQ7YoD1QiqTk9aQku9S+CT7UBJ97qcPNwefTG+uRFFwf0BdITYc0v5c3D/mP WFcmb6m34Esgr7QqXgs5BNL+lAzK/oP6YB2Uu3eaRe11FMxK5fpG2HA4NabK4w/xUX+O 9kswRMbAoZLeOzi9hvv+W36AgcSSrHQ1csIfx0iCDp1h0EArSUEU0KKFImzZ5qzzpZev Jlgg== X-Gm-Message-State: AOAM532RkEyj+h9M1DVak0ed0WUdV20/ynZLKJKmDDUoxpsdN0+7Q2Lv Pf2yQbFvBOFjJYuU6dVx3/CiB4G9aoPqeAnorPE= X-Google-Smtp-Source: ABdhPJywbT26S/7hdRehPZv8Y4emXeJqlPt5KDwnk3s7fXFdTcGLncqEooecpKFUdDbaJ0Qaftik2Rn7fYucQDkEo+s= X-Received: by 2002:a2e:bc2a:: with SMTP id b42mr4881760ljf.78.1632572069005; Sat, 25 Sep 2021 05:14:29 -0700 (PDT) In-Reply-To: <87zgs4s5qe.fsf@gnus.org> 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:215436 Archived-At: On Wed, Sep 22, 2021 at 3:41 PM Lars Ingebrigtsen wrote: > > Lars Ingebrigtsen writes: > > >> As an aside, I tried removing the :stderr argument to make-process in > >> my plz.el library, but unfortunately it did not help the problem I'm > >> observing there: that running ERT tests in series, with curl processes > >> started in quick succession (though only one at a time) leads to > >> failing tests, apparently related to sentinels not being called after > >> a process's output has been collected (and running the tests > >> individually almost always succeeds). > > > > If you could come up with a minimal test case for that, that'd be nice. > > Did you make any further progress here? Not yet. I've been busy with other projects, needed to work on some I could actually make progress on. ;) I intend to look at this again, but I don't know how soon. If you have any general advice for this kind of process-object-related debugging, I'd be grateful. I've spent too much time on this doing things that don't make any difference and don't seem to narrow down the problem space. For example, am I misusing sentinels here? In elfeed-curl, Chris Wellons uses (run-at-time 0 ...) to do most of the response-processing outside of the sentinel. I don't know if that's elegant and/or a hack, and I don't know if it even matters, but trying to fix this problem in plz.el has felt like throwing wet noodles at a wall and hoping something sticks.