[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NT Emacs crashes when selecting a menubar item
From: |
Richard Stallman |
Subject: |
Re: NT Emacs crashes when selecting a menubar item |
Date: |
Mon, 29 Jul 2002 11:30:21 -0600 (MDT) |
Is this comment in w32menu.c inaccurate?
/* Now GC cannot happen during the lifetime of the widget_value,
so it's safe to store data from a Lisp_String, as long as
local copies are made when the actual menu is created.
Windows takes care of this for normal string items, but
not for owner-drawn items or additional item-info. */
If it is inaccurate, why is that? How is it that GC happens in
between creation of the widget value and its use in add_menu_item?
Note that GC ought to be inhibited within set_frame_menubar
from this line
inhibit_garbage_collection ();
to this line
unbind_to (specpdl_count, Qnil);
Does the GC happen inside that range, or after?
Either way, it's a bug; the question is what bug.