[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SEGV in xmenu.c digest_single_submenu

From: Jan D.
Subject: Re: SEGV in xmenu.c digest_single_submenu
Date: Tue, 11 Apr 2006 10:34:46 +0200
User-agent: Thunderbird 1.5 (X11/20051201)

Sascha Wilde wrote:
Richard Stallman <address@hidden> wrote:

    Luckily I was able to reproduce the crash after starting emacs from

Can you tell us a precise recipe for reproducing it?

I'm working on it.  I can reproduce the problem, but not with emacs -Q
(only with loaded .emacs).

What I do is - start emacs - C-x 5 f /PATH/TO/EMACS/src/xmenu.c

Program received signal SIGSEGV, Segmentation fault.
0x08086f5c in digest_single_submenu (start=3803, end=4928,
    at xmenu.c:1850
1850                save_wv->contents = wv;
(gdb) p save_wv $22 = (widget_value *) 0x0

As you can see, the problem is at a little bit altered location,
compared to my last report.  I can reproduce _this_ problem absolutely
reliable, but only with .emacs loaded.

I'm not sure what to look for in .emacs that might cause the
problem -- but in any case I would think that lisp code shouldn't
cause a SEGV in any case.

This is the same as the thread "Problem #18" talks about, save_wv being dereferenced while it is NULL. Do our .emacs load any c-mode customizations, such as special menu entries? Or some minor mode that adds a menu for C-files?

        Jan D.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]