[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs hangs enabling debug-on-error
From: |
Kim F. Storm |
Subject: |
Re: Emacs hangs enabling debug-on-error |
Date: |
05 May 2004 14:42:50 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
address@hidden (Kim F. Storm) writes:
> Robert Mecklenburg <address@hidden> writes:
>
> > KFS> Can you then try to identify which tool-bar item is involved
> > KFS> here, and possibly which lisp package added that toolbar binding.
> >
> > I've verified that debug-on-error works as expected if I do not load
> > vm 7.18!
>
> Ok, I have a test case which can reproduce this error consistently.
Test case:
Start emacs -q, and then evaluate the following:
(setq debug-on-error t)
(define-key tool-bar-map [tt-exit]
'(menu-item
"TEST"
vm-toolbar-next-command
:enable (vm-toolbar-any-messages-p)
:button (:toggle nil)
:image (image :type xpm :mask heuristic :file "../lisp/toolbar/alias.xpm")))
>
> It was ok 2 years ago, but it failed with CVS emacs from 1 year ago.
> I'll try to narrow down when it happened.
Reverting the following change fixes it:
2003-04-23 Jan Djärv <address@hidden>
* xdisp.c (update_tool_bar): BLOCK_INPUT before calling
tool_bar_items so GTK tool bar expose callback does not access items
being updated.
Problem is that emacs is looping inside tool_bar_items in a
Fsignal / redisplay / tool_bar_items... loop.
However, we need a more radical fix as we really need to stop processing
tool-bar items when one of them is bogus; I'll look into ways to do that.
Maybe something like the way we handle memory-full.
--
Kim F. Storm http://www.cua.dk
- Re: Emacs hangs enabling debug-on-error, Kim F. Storm, 2004/05/01
- Re: Emacs hangs enabling debug-on-error, Robert Mecklenburg, 2004/05/03
- Re: Emacs hangs enabling debug-on-error, Robert Mecklenburg, 2004/05/03
- Re: Emacs hangs enabling debug-on-error, Kim F. Storm, 2004/05/03
- Re: Emacs hangs enabling debug-on-error, Robert Mecklenburg, 2004/05/03
- Re: Emacs hangs enabling debug-on-error, Robert Mecklenburg, 2004/05/03
- Re: Emacs hangs enabling debug-on-error, Kim F. Storm, 2004/05/04
- Re: Emacs hangs enabling debug-on-error, Robert Mecklenburg, 2004/05/04
- Re: Emacs hangs enabling debug-on-error,
Kim F. Storm <=
- Re: Emacs hangs enabling debug-on-error, Kim F. Storm, 2004/05/13
- Re: Emacs hangs enabling debug-on-error, Richard Stallman, 2004/05/14
- Re: Emacs hangs enabling debug-on-error, Kim F. Storm, 2004/05/14
- Re: Emacs hangs enabling debug-on-error, Richard Stallman, 2004/05/16
- Re: Emacs hangs enabling debug-on-error, Kim F. Storm, 2004/05/17
- Re: Emacs hangs enabling debug-on-error, Richard Stallman, 2004/05/18
- Re: Emacs hangs enabling debug-on-error, Kim F. Storm, 2004/05/19
- Re: Emacs hangs enabling debug-on-error, Richard Stallman, 2004/05/20
Re: Emacs hangs enabling debug-on-error, Richard Stallman, 2004/05/04