unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Sascha Wilde <wilde@sha-bang.de>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: SEGV in xmenu.c digest_single_submenu
Date: Tue, 11 Apr 2006 13:12:54 +0200	[thread overview]
Message-ID: <m2zmisjrgp.fsf@kenny.sha-bang.de> (raw)
In-Reply-To: <443B6A26.2090006@swipnet.se> (Jan D.'s message of "Tue, 11 Apr 2006 10:34:46 +0200")

"Jan D." <jan.h.d@swipnet.se> wrote:

> Sascha Wilde wrote:
[...]
>> GDB:
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x08086f5c in digest_single_submenu (start=3803, end=4928,
>> top_level_items=0)
>>     at xmenu.c:1850
>> 1850                save_wv->contents = wv;
>> (gdb) p save_wv $22 = (widget_value *) 0x0
[...]
> This is the same as the thread "Problem #18" talks about, save_wv
> being dereferenced while it is NULL.

yes.

> Do our .emacs load any c-mode customizations, such as special menu
> entries?  Or some minor mode that adds a menu for C-files?

at least not directly -- I'll examine all loaded third party modes as
soon as I can.

I observed an other problem, that seems to be related:
- I start Emacs using my .emacs
- M-x c-mode
- klick on the Menubar
=> I get: 
  Debugger entered--Lisp error: (void-variable c-subword-mode)

Of cause: w/o my .emacs the problem is not there, so something seems
to mess with cc-mode...

Now, when I:
- start Emacs using my .emacs
- M-x load-library cc-subword
- C-x 5 f /PATH/TO/ANY/FILE.c

It works without SEGV, so those problems seem to be related.

cheers
sascha
-- 
Sascha Wilde  :  "I heard that if you play the Windows CD backward, you
              :  get a satanic message. But that's nothing compared to
              :  when you play it forward: It installs Windows...." 
              :  -- G. R. Gaudreau

  reply	other threads:[~2006-04-11 11:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-10  7:44 SEGV in xmenu.c digest_single_submenu Sascha Wilde
2006-04-10 18:25 ` Richard Stallman
2006-04-11  8:17   ` Sascha Wilde
2006-04-11  8:34     ` Jan D.
2006-04-11 11:12       ` Sascha Wilde [this message]
2006-04-11 14:20         ` Sascha Wilde
2006-04-14 19:37           ` Sascha Wilde
2006-04-17 12:09             ` Jan Djärv
2006-04-20  7:44           ` Sascha Wilde

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=m2zmisjrgp.fsf@kenny.sha-bang.de \
    --to=wilde@sha-bang.de \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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).