unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Adam Porter <adam@alphapapa.net>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 50166@debbugs.gnu.org
Subject: bug#50166: 28.0.50; ECM for possible process-status/sentinel bug
Date: Sat, 25 Sep 2021 07:14:18 -0500	[thread overview]
Message-ID: <CAO_b3FWKa5b=LV01NR7YXOt+vB9gWgBPq1rJf4wg7SqkiqGi0Q@mail.gmail.com> (raw)
In-Reply-To: <87zgs4s5qe.fsf@gnus.org>

On Wed, Sep 22, 2021 at 3:41 PM Lars Ingebrigtsen <larsi@gnus.org> wrote:
>
> Lars Ingebrigtsen <larsi@gnus.org> 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.





  reply	other threads:[~2021-09-25 12:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-22 20:08 bug#50166: 28.0.50; ECM for possible process-status/sentinel bug Adam Porter
2021-08-22 21:21 ` Lars Ingebrigtsen
2021-08-22 22:01   ` Adam Porter
2021-08-22 22:18     ` Lars Ingebrigtsen
2021-08-22 22:34       ` Lars Ingebrigtsen
2021-08-22 22:40         ` Lars Ingebrigtsen
2021-08-23  1:31           ` Adam Porter
2021-08-23  1:47             ` Lars Ingebrigtsen
2021-08-23 12:44               ` Lars Ingebrigtsen
2021-08-23 14:06             ` Lars Ingebrigtsen
2021-09-22 20:41               ` Lars Ingebrigtsen
2021-09-25 12:14                 ` Adam Porter [this message]
2021-09-26  5:31                   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAO_b3FWKa5b=LV01NR7YXOt+vB9gWgBPq1rJf4wg7SqkiqGi0Q@mail.gmail.com' \
    --to=adam@alphapapa.net \
    --cc=50166@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).