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

Bug#172031: marked as done ([PR libgcj/9077] gij is unable to run some programs in the NBIO test suite)



Your message dated Sat, 1 Nov 2003 09:38:30 +0100
with message-id <16291.28934.88504.252062@gargle.gargle.HOWL>
and subject line Bug#172031: [Bug libgcj/9077] gij is unable to run some programs in the NBIO test suite
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 6 Dec 2002 18:37:37 +0000
>From pronovic@daystrom.yi.org Fri Dec 06 12:37:36 2002
Return-path: <pronovic@daystrom.yi.org>
Received: from c-24-245-33-91.mn.client2.attbi.com (daystrom) [24.245.33.91] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18KNLz-0006p8-00; Fri, 06 Dec 2002 12:37:36 -0600
Received: from agamemnon ([192.168.0.102])
	by daystrom with esmtp (Exim 3.35 #1 (Debian))
	id 18KNM0-0007st-00; Fri, 06 Dec 2002 12:37:36 -0600
Received: from pronovic by agamemnon with local (Exim 3.36 #1 (Debian))
	id 18KNLz-0001Sz-00; Fri, 06 Dec 2002 12:37:35 -0600
Date: Fri, 6 Dec 2002 12:37:35 -0600
From: Kenneth Pronovici <kenneth.pronovici@cedar-solutions.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Bcc: "Kenneth J. Pronovici" <pronovic@ieee.org>
Subject: gij-3.2: gij is unable to run some programs in the NBIO test suite
Message-ID: <20021206183735.GA5606@cedar-solutions.com>
Reply-To: Kenneth Pronovici <pronovic@ieee.org>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="Qxx1br4bt0+wmkIi"
Content-Disposition: inline
User-Agent: Mutt/1.4i
X-Reportbug-Version: 2.9
Sender: Kenneth Pronovici <pronovic@agamemnon>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-6.8 required=5.0
	tests=SPAM_PHRASE_00_01,SUPERLONG_LINE,USER_AGENT,USER_AGENT_MUTT
	version=2.41
X-Spam-Level: 


--Qxx1br4bt0+wmkIi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: gij-3.2
Version: 1:3.2.2-0pre0
Severity: normal
Tags: sid

In converting the libnbio2-java package to build with all free tools, I
have discovered that gij is not able to run some programs that are part
of the NBIO test suite, although other interepreters such as Kaffe can.

There was a long discussion in debian-java on the general subject of
converting NBIO, starting here:

   http://lists.debian.org/debian-java/2002/debian-java-200211/msg00038.html

A discussion of the problems I had with gij starts near here:

   http://lists.debian.org/debian-java/2002/debian-java-200211/msg00047.html

At the time of this conversation, I passed the information in this bug
report off to Tom Tromey because he asked for it; I decided it would be
worthwhile to file a bug, as well.

The bug can be reproduced by first installing the libnbio2-java
package, version 2.0-5, and then building and running part of the NBIO
test suite based on the installed NBIO jarfile.  The attached file
'script-gij' provides a recipe to reproduce the problem, assuming that
the libnio2-java package is already installed.  (I hope the attachment
is OK; reportbug hosed it previously, and this time I attached it 
directly from mutt.)

Version 2.0-5 of libnbio2-java may or may not be in the archive when you
get this report, since my sponsor may not have had a chance to upload
it yet.  If you don't want to wait for it to appear the archive before
researching this bug, you can get it using this apt data source:

   # Cedar Solutions updates
   deb ftp://cedar-solutions.com/debian unstable main
   deb-src ftp://cedar-solutions.com/debian unstable main

or you can just grab it directly via FTP:

   ftp://cedar-solutions.com/debian/java/libnbio2-java/

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.

KEN

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux agamemnon 2.4.18 #1 Sun Jul 28 16:52:21 CDT 2002 i686
Locale: LANG=en, LC_CTYPE=en_US (ignored: LC_ALL set)

Versions of packages gij-3.2 depends on:
ii  gcc-3.2-base               1:3.2.2-0pre0 The GNU Compiler Collection (base 
ii  libc6                      2.3.1-5       GNU C Library: Shared libraries an
ii  libgcc1                    1:3.2.2-0pre0 GCC support library.
ii  libgcj3                    1:3.2.2-0pre0 Java runtime library for use with 
ii  zlib1g                     1:1.1.4-8     compression library - runtime

-- no debconf information

--Qxx1br4bt0+wmkIi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=script-gij

Script started on Fri Dec  6 11:09:19 2002

agamemnon> pwd
/home/pronovic/projects/cvs/libnbio2-java/nbio-2.0/seda/src/seda/nbio/test/test

agamemnon> uname -a
Linux agamemnon 2.4.18 #1 Sun Jul 28 16:52:21 CDT 2002 i686 unknown unknown GNU/Linux

agamemnon> echo $CLASSPATH
/usr/share/java/nbio2.jar:.

agamemnon> echo $LD_LIBRARY_PATH
/usr/lib/java/jni-1.2

agamemnon> which gcc-3.2
/usr/bin/gcc-3.2

agamemnon> gcc-3.2 -v
Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.2/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,pascal,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm --enable-objc-gc i386-linux
Thread model: posix
gcc version 3.2.2 20021202 (Debian prerelease)

agamemnon> ls -l /etc/alternatives/javac
lrwxrwxrwx    1 root     root           24 2002-12-04 18:44 /etc/alternatives/javac -> /usr/bin/gcj-wrapper-3.2*

agamemnon> gcj-3.2 -v
Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.2/specs
Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.2/../../../libgcj.spec
rename spec lib to liborig
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,pascal,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm --enable-objc-gc i386-linux
Thread model: posix
gcc version 3.2.2 20021202 (Debian prerelease)

agamemnon> ls -l /etc/alternatives/java
lrwxrwxrwx    1 root     root           23 2002-12-06 11:04 /etc/alternatives/java -> /usr/lib/kaffe/bin/java*

agamemnon> kaffe -version
Kaffe Virtual Machine

Copyright (c) 1996-2002 Kaffe.org project contributors (please see
  the source code for a full list of contributors).  All rights reservced.
Portions Copyright (c) 1996-2002 Transvirtual Technologies, Inc.

The Kaffe virtual machine is free software, licensed under the terms of
the GNU General Public License.  Kaffe.org is a an independent, free software
community project, not directly affiliated with Transvirtual Technologies,
Inc.  Kaffe is a Trademark of Transvirtual Technologies, Inc.  Kaffe comes
with ABSOLUTELY NO WARRANTY.

Engine: Just-in-time   Version: 1.0.7   Java Version: 1.1

agamemnon> ls -l /usr/bin/gij
ls: /usr/bin/gij: No such file or directory

agamemnon> ls -l /usr/bin/gij-3.2
-rwxr-xr-x    1 root     root         6640 2002-12-03 11:29 /usr/bin/gij-3.2*

agamemnon> gij-3.2 --version
gij (GNU libgcj) version 3.2.2 20021202 (Debian prerelease)

Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

agamemnon> ldd $(which gij-3.2)
	libgcj.so.3 => /usr/lib/libgcj.so.3 (0x4001d000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x40610000)
	libdl.so.2 => /lib/libdl.so.2 (0x40660000)
	libz.so.1 => /lib/libz.so.1 (0x40663000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40671000)
	libc.so.6 => /lib/libc.so.6 (0x40679000)
	libm.so.6 => /lib/libm.so.6 (0x4078c000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

agamemnon> make clean
cleaning seda/nbio/test/test

agamemnon> make
... seda/nbio/test/test
    javac BlockingClient.java
    javac BlockingServer.java
    javac NBIOClient.java
    javac NBIOSelectServer.java
    javac NBIOServer.java

agamemnon> java NBIOSelectServer
NBIO server starting...
SelectSet: Using poll(2)
Waiting for connection...


agamemnon> gij-3.2 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 0x40268207: java.lang.Throwable.Throwable(java.lang.String) (/usr/lib/libgcj.so.3)
   at 0x4025b10a: java.lang.Error.Error(java.lang.String) (/usr/lib/libgcj.so.3)
   at 0x4025cb96: java.lang.LinkageError.LinkageError(java.lang.String) (/usr/lib/libgcj.so.3)
   at 0x402684da: java.lang.UnsatisfiedLinkError.UnsatisfiedLinkError(java.lang.String) (/usr/lib/libgcj.so.3)
   at 0x40386ad7: ffi_call_SYSV (/usr/lib/libgcj.so.3)
   at 0x40386806: ffi_call (/usr/lib/libgcj.so.3)
   at 0x40252dc4: _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, java.lang.Class[], jvalue, jvalue) (/usr/lib/libgcj.so.3)
   at 0x402530af: _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, java.lang.Class[], java.lang.Object[]) (/usr/lib/libgcj.so.3)
   at 0x402519c1: java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (/usr/lib/libgcj.so.3)
   at 0x4022310b: ?? (??:0)
   at 0x4001351c: ?? (??:0)
   at 0x40013ae3: Java_seda_nbio_NonblockingSocketImpl_nbSocketCreate (/usr/lib/java/jni-1.2/libNBIO2.so)
   at 0x40386ad7: ffi_call_SYSV (/usr/lib/libgcj.so.3)
   at 0x40386a9f: ffi_raw_call (/usr/lib/libgcj.so.3)
   at 0x402247db: _Jv_JNIMethod.call(ffi_cif, void, ffi_raw, void) (/usr/lib/libgcj.so.3)
   at 0x40386990: ?? (??:0)
   at 0x40386ad7: ffi_call_SYSV (/usr/lib/libgcj.so.3)
   at 0x40386a9f: ffi_raw_call (/usr/lib/libgcj.so.3)
   at 0x40233280: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation) (/usr/lib/libgcj.so.3)
   at 0x40233a4c: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw, _Jv_InterpMethodInvocation) (/usr/lib/libgcj.so.3)
   at 0x4023112d: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw, void) (/usr/lib/libgcj.so.3)
   at 0x40386990: ?? (??:0)
   at 0x40386ad7: ffi_call_SYSV (/usr/lib/libgcj.so.3)
   at 0x40386a9f: ffi_raw_call (/usr/lib/libgcj.so.3)
   at 0x40233280: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation) (/usr/lib/libgcj.so.3)
   at 0x40233a4c: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw, _Jv_InterpMethodInvocation) (/usr/lib/libgcj.so.3)
   at 0x4023112d: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw, void) (/usr/lib/libgcj.so.3)
   at 0x40386990: ?? (??:0)
   at 0x40386ad7: ffi_call_SYSV (/usr/lib/libgcj.so.3)
   at 0x40386a9f: ffi_raw_call (/usr/lib/libgcj.so.3)
   at 0x40233280: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation) (/usr/lib/libgcj.so.3)
   at 0x40233a4c: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw, _Jv_InterpMethodInvocation) (/usr/lib/libgcj.so.3)
   at 0x4023112d: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw, void) (/usr/lib/libgcj.so.3)
   at 0x40386990: ?? (??:0)
   at 0x40386ad7: ffi_call_SYSV (/usr/lib/libgcj.so.3)
   at 0x40386a9f: ffi_raw_call (/usr/lib/libgcj.so.3)
   at 0x40233280: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation) (/usr/lib/libgcj.so.3)
   at 0x40233a4c: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw, _Jv_InterpMethodInvocation) (/usr/lib/libgcj.so.3)
   at 0x4023112d: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw, void) (/usr/lib/libgcj.so.3)
   at 0x40386990: ?? (??:0)
   at 0x4024470e: gnu.gcj.runtime.FirstThread.call_main() (/usr/lib/libgcj.so.3)
   at 0x402adce9: gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.3)
   at 0x4024fd9a: _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.3)
   at 0x40222370: _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.3)
   at 0x08048920: ?? (??:0)
   at 0x4068ea5f: __libc_start_main (/lib/libc.so.6)
   at 0x080486e9: ?? (??:0)

agamemnon> ^D

Script done on Fri Dec  6 11:11:14 2002

--Qxx1br4bt0+wmkIi--

---------------------------------------
Received: (at 172031-done) by bugs.debian.org; 1 Nov 2003 08:42:56 +0000
>From doko@cs.tu-berlin.de Sat Nov 01 02:42:47 2003
Return-path: <doko@cs.tu-berlin.de>
Received: from mail.cs.tu-berlin.de [130.149.17.13] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AFrLL-0003FZ-00; Sat, 01 Nov 2003 02:42:47 -0600
Received: from bolero.cs.tu-berlin.de (doko@bolero.cs.tu-berlin.de [130.149.19.1])
	by mail.cs.tu-berlin.de (8.9.3p2/8.9.3) with ESMTP id JAA23811;
	Sat, 1 Nov 2003 09:38:30 +0100 (MET)
Received: (from doko@localhost)
	by bolero.cs.tu-berlin.de (8.12.10+Sun/8.12.8/Submit) id hA18cU68022508;
	Sat, 1 Nov 2003 09:38:30 +0100 (MET)
From: Matthias Klose <doko@cs.tu-berlin.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16291.28934.88504.252062@gargle.gargle.HOWL>
Date: Sat, 1 Nov 2003 09:38:30 +0100
To: pronovic@debian.org, 172031-done@bugs.debian.org
Subject: Re: Bug#172031: [Bug libgcj/9077] gij is unable to run some programs in the NBIO test suite
In-Reply-To: <20031006195427.23040.qmail@sources.redhat.com>
References: <20021228030601.9077.172031@bugs.debian.org>
	<20031006195427.23040.qmail@sources.redhat.com>
X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid
Delivered-To: 172031-done@bugs.debian.org
X-Spam-Status: No, hits=-5.7 required=4.0
	tests=EMAIL_ATTRIBUTION,QUOTED_EMAIL_TEXT
	version=2.53-bugs.debian.org_2003_10_31
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_10_31 (1.174.2.15-2003-03-30-exp)

Closing this report. The NBIO files aren't available anymore and
nio has been merged into libjava already (get a recent gcc-snapshot
package).

pinskia at gcc dot gnu dot org writes:
> No there is no way to confirm this any more because NBIO does not
> compile any more with the current compiler, can you try it and tell
> how to download NBIO and compile it?

pinskia at gcc dot gnu dot org writes:
> ------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-06 19:54 -------
> No feedback in 3 months (T-15 days and nio have been merged into libjava already).



Reply to: