From: Lars Rasmusson <lars.rasmusson@gmail.com>
To: 1491@emacsbugs.donarmstrong.com
Subject: bug#1491: Same problem in 23.0.60
Date: Fri, 5 Dec 2008 00:53:32 +0100 [thread overview]
Message-ID: <4DDE8D7E-285A-4A36-A05B-86A2A9E4F691@gmail.com> (raw)
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...
next reply other threads:[~2008-12-04 23:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-04 23:53 Lars Rasmusson [this message]
2008-12-05 3:48 ` bug#1491: Same problem in 23.0.60 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DDE8D7E-285A-4A36-A05B-86A2A9E4F691@gmail.com \
--to=lars.rasmusson@gmail.com \
--cc=1491@emacsbugs.donarmstrong.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.