[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#172031: gij-3.2: gij is unable to run some programs in the NBIO test suite



On Sat, Dec 07, 2002 at 10:56:57AM +0100, Matthias Klose wrote:
> Kenneth Pronovici writes:
> > Please let me know if there is any other information I can get you.
> > I'd be happy to help in any way that I can.
> 
> you may want to recheck with gij from the gcc-snapshot package.

Results were similar, but the specific exception returned from gij
changed:

   agamemnon> /usr/lib/gcc-snapshot/bin/gij NBIOSelectServer
   NBIO server starting...
   Exception in thread "main" java.lang.UnsatisfiedLinkError: NBIO: Cannot resolve field buf ([B) in nbio_init_fids() -- this is a bug, please contact <mdw@cs.berkeley.edu
      at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, java.lang.Class[], jvalue, jvalue)
   (/usr/lib/gcc-snapshot/lib/libgcj.so.3.0.0)
      at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, java.lang.Class[], java.lang.Object[])
   (/usr/lib/gcc-snapshot/lib/libgcj.so.3.0.0)
      at java.lang.reflect.Constructor.newInstance(java.lang.Object[])
   (/usr/lib/gcc-snapshot/lib/libgcj.so.3.0.0)
      at Java_seda_nbio_NonblockingSocketImpl_nbSocketCreate
   (/usr/lib/java/jni-1.2/libNBIO2.so.2.0)
      at _Jv_JNIMethod.call(ffi_cif, void, ffi_raw, void)
   (/usr/lib/gcc-snapshot/lib/libgcj.so.3.0.0)
      at seda.nbio.NonblockingSocketImpl.create(boolean) (Unknown Source)
      at seda.nbio.NonblockingServerSocket.NonblockingServerSocket(int,
   int, java.net.InetAddress) (Unknown Source)
      at seda.nbio.NonblockingServerSocket.NonblockingServerSocket(int) (Unknown Source)
      at NBIOSelectServer.main(java.lang.String[]) (Unknown Source)

I can provide typescript output for my entire test session, if someone
wants it.

I also tried the same test after rebuilding the libnbio2-java using
tools from gcc-snapshot in instead of gcc-3.2/gcj-3.2, thinking that
some changes there might contribute to a fix.  It did not make a
difference.

KEN

-- 
Kenneth J. Pronovici <pronovic@ieee.org>
Personal Homepage: http://www.skyjammer.com/~pronovic/
"They that can give up essential liberty to obtain a little 
 temporary safety deserve neither liberty nor safety." 
      - Benjamin Franklin, Historical Review of Pennsylvania, 1759 



Reply to: