[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SEGV in xmenu.c digest_single_submenu
From: |
Sascha Wilde |
Subject: |
Re: SEGV in xmenu.c digest_single_submenu |
Date: |
Tue, 11 Apr 2006 16:20:26 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
I just stumbled across a way of reproducing the class of problems
(both under GNU/Linux/X11 with lucid widgets):
1. start emacs -Q
2. M-x set-variable RET debug-on-error RET t RET
3. C-x 5 f /PATH/TO/ANY/C-file.c
You'll get a SEGV somewhere in xmenu.c
To reproduce the related problem without SEGV:
1. start emacs -Q
2. M-x set-variable RET debug-on-error RET t RET
3. M-x c-mode RET
4. click on the menu bar
You'll get a *Backtrace* buffer:
bugger entered--Lisp error: (void-variable c-subword-mode)
Most interestingly, as you can see, the problems are only triggered
when debug-on-error is activated...
cheers
sascha
--
Sascha Wilde : The most exciting phrase to hear in science, the one
: that heralds new discoveries, is not "Eureka!" (I found
: it!) but "That's funny ..." -- Isaac Asimov