unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: NT Emacs crashes when selecting a menubar item
Date: Sat, 27 Jul 2002 12:52:48 -0600 (MDT)	[thread overview]
Message-ID: <200207271852.g6RIqmA10723@aztec.santafe.edu> (raw)
In-Reply-To: <3D4140EF.4000607@dponce.com> (message from David Ponce on Fri, 26 Jul 2002 14:30:39 +0200)

    I worked a little more on this problem and, simply calling fprintf in
    various locations in w32menu.c (I don't have a debugger), I found that
    the function `single_submenu' seems to receive corrupted data in
    static variable `menu_items'.

You have made significant progress, but we don't know the answer yet.

Can you determine where that data becomes corrupted?
Is it written wrong at the start, or does it get
clobbered later on?

    `item_name' is a local Lisp_Object variable initialized to
    (w32menu.c::1240):

Can you determine what value item_name has at that point?
Is it a Lisp string?  If so, what is its text?

	  item_name = AREF (menu_items, i + MENU_ITEMS_ITEM_NAME);

What is the value of i when the invalid data comes out?
What array index?

    It seems that f->menu_bar_vector is setup in keyboard.c in function
    `menu_bar_items'.  Maybe is there a problem here?

It could be.  Could you examine the contents of this vector
right after that function is finished?  In particular,
what is the value found at the array index that the bad data later
comes from?

  reply	other threads:[~2002-07-27 18:52 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-24 18:55 NT Emacs crashes when selecting a menubar item David Ponce
2002-07-25 18:07 ` Richard Stallman
2002-07-26 12:30   ` David Ponce
2002-07-27 18:52     ` Richard Stallman [this message]
2002-07-28 16:56       ` David Ponce
2002-07-29 17:30         ` Richard Stallman
2002-07-29 18:16           ` David Ponce
2002-07-30 18:46             ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2002-07-30 11:28 David PONCE
     [not found] <3D2A791A00A0862A@mel-rta9.wanadoo.fr>
2002-07-31 21:57 ` Richard Stallman
2002-07-31 22:37   ` David Ponce
2002-08-01  7:54 jasonr
2002-08-01 11:39 David PONCE

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200207271852.g6RIqmA10723@aztec.santafe.edu \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).