From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sascha Wilde Newsgroups: gmane.emacs.devel Subject: Re: SEGV in xmenu.c digest_single_submenu Date: Tue, 11 Apr 2006 16:20:26 +0200 Message-ID: References: <443B6A26.2090006@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1144765619 13740 80.91.229.2 (11 Apr 2006 14:26:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Apr 2006 14:26:59 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 11 16:26:56 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FTJkd-0001rQ-Cv for ged-emacs-devel@m.gmane.org; Tue, 11 Apr 2006 16:21:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FTJkc-0002cX-8b for ged-emacs-devel@m.gmane.org; Tue, 11 Apr 2006 10:21:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FTJjN-0001yq-LD for emacs-devel@gnu.org; Tue, 11 Apr 2006 10:20:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FTJjM-0001wY-2K for emacs-devel@gnu.org; Tue, 11 Apr 2006 10:20:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FTJjL-0001wL-S9 for emacs-devel@gnu.org; Tue, 11 Apr 2006 10:20:31 -0400 Original-Received: from [62.141.58.119] (helo=km1136.keymachine.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FTJoC-0007L4-AG; Tue, 11 Apr 2006 10:25:32 -0400 Original-Received: from kenny.sha-bang.de (xdslm082.osnanet.de [212.95.112.82]) (authenticated bits=0) by km1136.keymachine.de (8.12.11/8.12.10) with ESMTP id k3BEKN89030210; Tue, 11 Apr 2006 16:20:23 +0200 Original-Received: from wilde by kenny.sha-bang.de with local (Kenny MUA v.0409034.42) ID 1FTJjG-0006MR-D5; Tue, 11 Apr 2006 16:20:26 +0200 Original-To: "Jan D." In-Reply-To: (Sascha Wilde's message of "Tue, 11 Apr 2006 13:12:54 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:52660 Archived-At: 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