This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GCJ and JDBC
- From: Andrew Haley <aph at redhat dot com>
- To: "Amir Bukhari" <ufz6 at rz dot uni-karlsruhe dot de>
- Cc: <java at gcc dot gnu dot org>
- Date: Tue, 17 May 2005 14:27:23 +0100
- Subject: Re: GCJ and JDBC
- References: <200505171319.j4HDJCXP003831@mx3.redhat.com>
Amir Bukhari writes:
> I have successfully compiled HSQLDB as part of my project (based on SWT). It
> run without problem in JVM. But when I run the executable I get
> SEGV. Here is the trace of the program:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x005480b7 in _Jv_CheckAccess(java::lang::Class*, java::lang::Class*, int)
> ()
> (gdb) backtrace 20
> #0? 0x005480b7 in _Jv_CheckAccess(java::lang::Class*, java::lang::Class*,
> int)
> ??? ()
> #1? 0x0061ad18 in
> java::lang::reflect::Constructor::newInstance(JArray<java::la??
> g::Object*>*) ()
This is very weird. It looks like your libgcj is perhaps missing
debug information -- you should be able to see some arguments for the
method newInstance.
This should work. Tell us more about how you installed gcj.
Andrew.