unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stuart D. Herring" <herring@lanl.gov>
Subject: Re: Problem report #18
Date: Mon, 10 Apr 2006 13:04:16 -0700 (PDT)	[thread overview]
Message-ID: <38449.128.165.123.132.1144699456.squirrel@webmail.lanl.gov> (raw)
In-Reply-To: <200604101859.k3AIx3In005649@scanner2.ics.uci.edu>

Another simplification (unfortunately -- not a solution):  The majority of
this report is a red herring.  The (possible) issue is quite simple:
before the while loop, save_wv==prev_wv==0.  This code in the loop:

> 1847 		  if (prev_wv)
> 1848 		    prev_wv->next = wv;
> 1849 		  else
>
> Event var_deref_op: Variable "save_wv" tracked as NULL was dereferenced.
> Also see events: [assign_zero][alias_transfer]
>
> 1850 		    save_wv->contents = wv;

insists on dereferencing one of them.  If this branch (the else of a
vector-element-is-which-type? conditional) gets taken first time through
the loop, SIGSEGV.  But we're analyzing the vector menu_items here... if
we know that its structure precludes the first iteration of this loop
taking the last case (that is, if (aref menu_items start) is t, nil,
'lambda, or 'quote), then it's fine.

Hope it helps,
Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.

  reply	other threads:[~2006-04-10 20:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-10 18:59 Problem report #18 Dan Nicolaescu
2006-04-10 20:04 ` Stuart D. Herring [this message]
2006-04-11  6:58 ` Problem report #18 PENDING Jan D.
2006-04-11  8:33   ` Sascha Wilde
2006-05-13 19:01   ` Dan Nicolaescu
2006-05-13 19:58     ` Jan D.
2006-05-13 20:21       ` Dan Nicolaescu
2006-05-14 11:20         ` Jan D.

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=38449.128.165.123.132.1144699456.squirrel@webmail.lanl.gov \
    --to=herring@lanl.gov \
    /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).