all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#1491: bug in ebrowse 22.1
@ 2008-12-04 14:29 Lars Rasmusson
  2008-12-04 16:30 ` richardeng
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Rasmusson @ 2008-12-04 14:29 UTC (permalink / raw
  To: bug-gnu-emacs


Hi,

ebrowse 22.1 crashes with a "Bus error on the following input:

struct a
{
};


However, ebrowse works fine with the following input:

struct a {
};

I'm running on a PPC Mac G4 on and OS X 10.5.5.

Cheers,
/Lars









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

* bug#1491: bug in ebrowse 22.1
  2008-12-04 14:29 Lars Rasmusson
@ 2008-12-04 16:30 ` richardeng
  0 siblings, 0 replies; 3+ messages in thread
From: richardeng @ 2008-12-04 16:30 UTC (permalink / raw
  To: Lars Rasmusson, 1491

try the last Emacs cvs version 23.0.60. Maybe your problem is solved.

# ebrowse --version 
ebrowse 23.0.60
Copyright (C) 2008 Free Software Foundation, Inc.
This program is distributed under the same terms as Emacs.








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

* bug#1491: bug in ebrowse 22.1
@ 2009-01-14  4:07 Chong Yidong
  0 siblings, 0 replies; 3+ messages in thread
From: Chong Yidong @ 2009-01-14  4:07 UTC (permalink / raw
  To: Lars Rasmusson; +Cc: 1491

> Isn't this a bug?
> On line ebrowse.c:2037
>           for (--p; p >= inbuffer && *p != '\n'; --p)
>               ;
> I think it  should be
>           for (--p; p > inbuffer && *p != '\n'; --p)
>               ;
> otherwise p may point to one character before inbuffer.

It looks wrong, indeed.  Does changing >= to > fix the crash for you?






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

end of thread, other threads:[~2009-01-14  4:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-14  4:07 bug#1491: bug in ebrowse 22.1 Chong Yidong
  -- strict thread matches above, loose matches on Subject: below --
2008-12-04 14:29 Lars Rasmusson
2008-12-04 16:30 ` richardeng

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.