This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCJ and JDBC


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]