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 16:20:26 +0200	[thread overview]
Message-ID: <m2vetgjis5.fsf@kenny.sha-bang.de> (raw)
In-Reply-To: <m2zmisjrgp.fsf@kenny.sha-bang.de> (Sascha Wilde's message of "Tue, 11 Apr 2006 13:12:54 +0200")

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

  reply	other threads:[~2006-04-11 14:20 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
2006-04-11 14:20         ` Sascha Wilde [this message]
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=m2vetgjis5.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).