This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: instalation problem
- To: java-discuss at sourceware dot cygnus dot com
- Subject: Re: instalation problem
- From: Chris Dornan <cdornan at arm dot com>
- Date: Wed, 12 Apr 2000 11:58:35 +0100 (BST)
Hi,
[I mailed the list a couple of days ago about a SEGV while installing
and testing gcj on a trivial test program and about link errors when
compiling with threads.]
I have concentrated on a plain build and rebuilt gcc-2.95.2 with
default options (no threads) and libgcj-2.95.1, also with standard
options.
It works fine in generating JVM code for Hello.java but when I
generate an a.out it generates a segmentation violation.
On running it under gdb and skipping past the first SEGV generated by
the garbage collector, it generates this SEGV:
Program received signal SIGSEGV, Segmentation fault.
_Jv_equalUtf8Consts (a=0x0, b=0xff2d436a)
at ../../../libgcj-2.95.1/libjava/prims.cc:89
89 if (a->hash != b->hash)
(gdb) print a
$1 = (Utf8Const *) 0x0
(gdb) print b
$2 = (Utf8Const *) 0xff2d436a
(gdb) print *b
$3 = {hash = 56350, length = 8, data = "f"}
(gdb) continue
Continuing.
Program terminated with signal SIGSEGV, Segmentation fault.
Any suggestions?
Cheers,
Chris Dornan
cdornan@arm.com