emacs-devel
[Top][All Lists]
Advanced

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

Re: Bug in Speedbar


From: Prashant Sachdeva
Subject: Re: Bug in Speedbar
Date: Thu, 9 Sep 2010 17:39:55 +0530

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 <address@hidden> 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
>



reply via email to

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