GNU bug report logs -
#55
SYNC_INPUT and 23.1.
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Wed, 09 Apr 2008 08:50:17 +0200
with message-id <47FC6729.3070002 <at> swipnet.se>
and subject line Re: SYNC_INPUT and 23.1.
has caused the Emacs bug report #55,
regarding SYNC_INPUT and 23.1.
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don <at> donarmstrong.com
immediately.)
--
55: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=55
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
>>>>> On Wed, 12 Mar 2008 13:51:35 -0400, Richard Stallman <rms <at> gnu.org> said:
> Even with SYNC_INPUT, atimer functions (except poll_for_input)
> may still call malloc in the signal handler context. So
> emacs_blocked_malloc etc. were actually meaningful even in
> SYNC_INPUT environments.
> Why is that? Can it be eliminated?
Here's the list of atimer functions (the third argument to
start_atimer):
xg_process_timeouts, poll_for_input, show_hourglass,
create_process_1, x_process_timeouts
Among them, show_hourglass, x_process_timeouts, and
xg_process_timeouts will call async-signal unsafe functions.
I think show_hourglass can be deferred until the next QUIT. But not
sure about x_process_timeouts and xg_process_timeouts.
YAMAMOTO Mitsuharu
mituharu <at> math.s.chiba-u.ac.jp
[Message part 3 (message/rfc822, inline)]
Stefan Monnier skrev:
>>> Sinc there has been no objections, I enabled this by default. You
>>> can pass --disable-sync-input to configure if there is problems.
>>> But I guess we soon will start take advantage of sync input so the
>>> disabled case will become obsolete. When we feel confident that
>>> sync input works, I'll remove the non-sync-input code.
>
>> Even with SYNC_INPUT, atimer functions (except poll_for_input)
>> may still call malloc in the signal handler context.
>
> That needs to be fixed, then.
>
I've changed atimers so they are not called in signal handler context.
Jan D.
This bug report was last modified 17 years and 48 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.