GNU bug report logs -
#30182
27.0.50; Crash when doing mouse-over on modeline
Previous Next
Reported by: Sujith <m.sujith <at> gmail.com>
Date: Sat, 20 Jan 2018 06:27:02 UTC
Severity: normal
Found in version 27.0.50
Done: martin rudalics <rudalics <at> gmx.at>
Bug is archived. No further changes may be made.
Full log
Message #176 received at 30182 <at> debbugs.gnu.org (full text, mbox):
> From: Noam Postavsky <npostavs <at> users.sourceforge.net>
> Cc: martin rudalics <rudalics <at> gmx.at>, m.sujith <at> gmail.com, 30182 <at> debbugs.gnu.org
> Date: Fri, 02 Feb 2018 09:14:36 -0500
>
> > I'd love to see a C-level backtrace from that situation, because I'm
> > not really sure what exactly happens and how.
>
> This is reproducible from
>
> emacs -Q -L .../w3m -l w3m -f w3m
>
> where .../w3m is a checkout of https://github.com/ecbrown/emacs-w3m.
> Backtrace attached. Martin's patch of #143 applied and breakpoint
> set with:
>
> break Fsignal if (((intptr_t)Qerror) == ((intptr_t)error_symbol))
>
> (the breakpoint needs to be set only after w3m has started up though)
Thanks. So Flength processes pending signals, and that causes it to
call note_mode_line_or_margin_highlight, which calls Lisp, which adds
a timer to the list.
This is less serious than what I was afraid of, and I see now that
note_mode_line_or_margin_highlight CANNOT be called from the SIGIO
handler.
So I guess just using block_input/unblock_input around Fcopy_sequence
call, as I proposed earlier, should plug this hole.
Thanks a lot for making the situation obvious.
This bug report was last modified 7 years and 108 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.