From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Prashant Sachdeva Newsgroups: gmane.emacs.devel Subject: Re: Bug in Speedbar Date: Thu, 9 Sep 2010 17:39:55 +0530 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1284034227 20658 80.91.229.12 (9 Sep 2010 12:10:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Sep 2010 12:10:27 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 09 14:10:26 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OtfxP-0007xs-7Z for ged-emacs-devel@m.gmane.org; Thu, 09 Sep 2010 14:10:23 +0200 Original-Received: from localhost ([127.0.0.1]:58578 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OtfxO-0004Ul-Hg for ged-emacs-devel@m.gmane.org; Thu, 09 Sep 2010 08:10:22 -0400 Original-Received: from [140.186.70.92] (port=58249 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OtfxJ-0004Ug-P6 for emacs-devel@gnu.org; Thu, 09 Sep 2010 08:10:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OtfxI-0000CE-Nx for emacs-devel@gnu.org; Thu, 09 Sep 2010 08:10:17 -0400 Original-Received: from mail-ww0-f49.google.com ([74.125.82.49]:44068) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OtfxI-0000C7-Jq for emacs-devel@gnu.org; Thu, 09 Sep 2010 08:10:16 -0400 Original-Received: by wwb24 with SMTP id 24so1496088wwb.30 for ; Thu, 09 Sep 2010 05:10:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=HqV59LReoqRDmOOA9benHufjg+XCqGLrnrqQ9gKvUws=; b=fp0ye8EEAcMC0PrdE6vCwORTAEULyRxmid0DTy31mkdFy2K2Ga0j6XXyDeLxhxiiB7 sQZq4gGBACRiii3ppsNHU3Lmq3T9nvQRAdmhMp9VtQa5z+nyidVgjQdpZy9uxO/RpAui 6sKzRuG+ZqBK5gUQ8WizSuwo1w23yEoco1qrM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=dJh+YWwBq71Zw2XAyO672v0odXL/jLJSEsgVQBsLcwFbgpqPbq3jtCw9oBDSIjtBtE nycmrtaNwslOpjf5vPTTQwXtcsLW+qjP6kdaFpU5hYt1bIxjBRVkoMFzJHyVlk0FTEh/ ++tgiJ+MZyUi4eBrRgcMOU8TX76DNz8gxd6SE= Original-Received: by 10.216.9.3 with SMTP id 3mr205388wes.66.1284034215806; Thu, 09 Sep 2010 05:10:15 -0700 (PDT) Original-Received: by 10.216.235.40 with HTTP; Thu, 9 Sep 2010 05:09:55 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:129816 Archived-At: The following code in the C++ file being edited can reproduce the bug in emacs 23.2. -----------------------Code---------------------- int p=0; #define MAX_OBJ 5 #define RES 0.1 #define SZ (int)(360/RES) #define POLYGON 0 #define CLOCK 1 #define ANTICLOCK -1 #define N_V 0 #define INF 30 int n_obj; polygon object[MAX_OBJ]; float dist[MAX_OBJ]; float dir[MAX_OBJ]; int ang_dir[MAX_OBJ]; dirn angle[(int)SZ]; point robot; int calculate(){ }; ---------------End Code --------------------------------- On 9 September 2010 16:04, Prashant Sachdeva wrote: > The bug is, I believe, in speedbar. To reproduce, > 1. Edit in C++ mode. > 2. Open speedbar. > 3. When the cursor is on the "Variables" section, press space to open > the menu and then space to close. Emacs crashes with a segmentation > fault. > > I might add I am using semantic in C++ mode and sr-speedbar is also being used. > > I'm not sure if this bug has already been reported. > > -Prashant >