GNU bug report logs -
#11273
24.0.94; quitting gdb
Previous Next
Reported by: sds <at> gnu.org
Date: Wed, 18 Apr 2012 18:24:01 UTC
Severity: normal
Found in version 24.0.94
Done: Chong Yidong <cyd <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Glenn Morris <rgm <at> gnu.org> writes:
> Chong Yidong wrote:
>
>> In the meantime, I installed a workaround to explicitly call
>> delete-process on the pty in the sentinel of the main gdb process.
>
> Maybe you fixed bug#4437 then?
Aha, looks like the situation is this:
In Bug#4437, Nick Roberts proposed a patch to process.c to avoid sending
a SIGCHLD to itself when it receives an EIO errno. However, he noted
that this
means that status_notify isn't called from
wait_reading_process_output because this call is conditioned on
select which returns a positive value (presumably because the pty's
file descriptor hasn't been cleared).
which is the problem I noticed. Nick didn't commit the patch at the
time.
In Bug#10933, Troels Nielsen independently proposed the same patch,
which was committed by Stefan on 2012-03-23.
The question is what to do about the problem. I didn't test this, but
it may be that the patch causes ALL process sentinels to be blocked
while the gdb process is running, which is kinda unacceptable.
This bug report was last modified 13 years and 30 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.