GNU bug report logs -
#79367
31.0.50; magit-commit sometimes doesn't work if diff-hl-update-async is t
Previous Next
Full log
Message #137 received at 79367 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> Cc: i <at> fuzy.me, sbaugh <at> janestreet.com, dmitry <at> gutov.dev, 79367 <at> debbugs.gnu.org
>> Date: Fri, 05 Sep 2025 13:42:09 +0300
>> From: Eli Zaretskii <eliz <at> gnu.org>
>>
>> > From: Zhengyi Fu <i <at> fuzy.me>
>> > Cc: Spencer Baugh <sbaugh <at> janestreet.com>, i <at> fuzy.me,
>> > 79367 <at> debbugs.gnu.org, dmitry <at> gutov.dev
>> > Date: Fri, 05 Sep 2025 14:51:42 +0800
>> >
>> > > I feel that we are splitting hair, so I went ahead and installed the
>> > > last agreed-to version of the patch.
>> >
>> > I got an assertion failure when testing the latest master.
>>
>> What is the recipe for reproducing this?
>
> Also, does the below fix the problem?
>
> diff --git a/src/process.c b/src/process.c
> index fa003c2..e39e02f 100644
> --- a/src/process.c
> +++ b/src/process.c
> @@ -4831,7 +4831,11 @@ deactivate_process (Lisp_Object proc)
> /* Beware SIGCHLD hereabouts. */
>
> for (i = 0; i < PROCESS_OPEN_FDS; i++)
> - close_process_fd (&p->open_fd[i]);
> + {
> + close_process_fd (&p->open_fd[i]);
> + fd_callback_info[p->open_fd[i]].thread = NULL;
> + fd_callback_info[p->open_fd[i]].waiting_thread = NULL;
> + }
>
> inchannel = p->infd;
> eassert (inchannel < FD_SETSIZE);
No. I can still reproduce this after applying the patch.
This bug report was last modified 7 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.