* bug#1491: Same problem in 23.0.60
@ 2008-12-04 23:53 Lars Rasmusson
2008-12-05 3:48 ` richardeng
[not found] ` <handler.1491.B1491.12284348208436.ackinfo@emacsbugs.donarmstrong.com>
0 siblings, 2 replies; 3+ messages in thread
From: Lars Rasmusson @ 2008-12-04 23:53 UTC (permalink / raw)
To: 1491
Sorry, I still get the same error...
This is what I do:
$ uname -a
Darwin lmac.local 9.5.0 Darwin Kernel Version 9.5.0: Wed Sep 3
11:31:44 PDT 2008; root:xnu-1228.7.58~1/RELEASE_PPC Power Macintosh
$ cd /tmp
$ cvs -d :pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co emacs
$ cd emacs
$ ./configure --without-gif
$ cd lib-src
$ make ebrowse
cp /tmp/emacs/lib-src/getopt_.h getopt.h-t
mv getopt.h-t getopt.h
gcc -c -DHAVE_CONFIG_H -I. -I../src -I/tmp/emacs/lib-src -I/tmp/emacs/
lib-src/../src -g -O2 -Wno-pointer-sign /tmp/emacs/lib-src/getopt.c
gcc -c -DHAVE_CONFIG_H -I. -I../src -I/tmp/emacs/lib-src -I/tmp/emacs/
lib-src/../src -g -O2 -Wno-pointer-sign /tmp/emacs/lib-src/getopt1.c
gcc -DHAVE_CONFIG_H -I. -I../src -I/tmp/emacs/lib-src -I/tmp/emacs/lib-
src/../src -g -O2 -Wno-pointer-sign -DVERSION="\"23.0.60\"" /tmp/
emacs/lib-src/ebrowse.c getopt.o getopt1.o -o ebrowse
$ ./ebrowse --version
ebrowse 23.0.60
Copyright (C) 2008 Free Software Foundation, Inc.
This program is distributed under the same terms as Emacs.
lmac:lib-src larsr$ cat > eb.h
struct a
{
};
$ ebrowse eb.h
Bus error
$
From GDB I found that it crashes like this:
(gdb) file ./ebrowse
(gdb) run eb.h
Starting program: /private/tmp/emacs/lib-src/ebrowse eb.h
Reading symbols for shared libraries ++. done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00015fff
matching_regexp () at /tmp/emacs/lib-src/ebrowse.c:2039
2039 if (*p == '\n')
(gdb) bt
#0 matching_regexp () at /tmp/emacs/lib-src/ebrowse.c:2039
#1 0x00007fe8 in class_definition (containing=<value temporarily
unavailable, due to optimizations>, tag=321, flags=0, nested=0) at /
tmp/emacs/lib-src/ebrowse.c:3149
#2 0x00008498 in globals (start_flags=0) at /tmp/emacs/lib-src/
ebrowse.c:3521
#3 0x00008568 in yyparse () at /tmp/emacs/lib-src/ebrowse.c:3554
#4 0x000086b4 in process_file (file=<value temporarily unavailable,
due to optimizations>) at /tmp/emacs/lib-src/ebrowse.c:3741
#5 0x00009248 in main (argc=2, argv=0xbffff958) at /tmp/emacs/lib-src/
ebrowse.c:3946
(gdb)
Hope it is useful...
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-12-06 7:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-04 23:53 bug#1491: Same problem in 23.0.60 Lars Rasmusson
2008-12-05 3:48 ` richardeng
[not found] ` <handler.1491.B1491.12284348208436.ackinfo@emacsbugs.donarmstrong.com>
2008-12-06 7:00 ` bug#1491: Info received (Same problem in 23.0.60) Lars Rasmusson
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.