unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Bug in Speedbar
@ 2010-09-09 10:34 Prashant Sachdeva
  2010-09-09 12:09 ` Prashant Sachdeva
  0 siblings, 1 reply; 3+ messages in thread
From: Prashant Sachdeva @ 2010-09-09 10:34 UTC (permalink / raw)
  To: emacs-devel

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug in Speedbar
  2010-09-09 10:34 Bug in Speedbar Prashant Sachdeva
@ 2010-09-09 12:09 ` Prashant Sachdeva
  2010-09-12  1:02   ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Prashant Sachdeva @ 2010-09-09 12:09 UTC (permalink / raw)
  To: emacs-devel

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 <sachdevaprash@gmail.com> 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
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug in Speedbar
  2010-09-09 12:09 ` Prashant Sachdeva
@ 2010-09-12  1:02   ` Glenn Morris
  0 siblings, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2010-09-12  1:02 UTC (permalink / raw)
  To: emacs-devel


Filed as

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7016



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-09-12  1:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-09 10:34 Bug in Speedbar Prashant Sachdeva
2010-09-09 12:09 ` Prashant Sachdeva
2010-09-12  1:02   ` Glenn Morris

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).