Bug#242330: [Sablevm-developer] Bug#242330: sablevm: fails to run JNI library
Brought to you by:
egagnon
From: David <db...@cs...> - 2004-04-06 03:55:31
|
Hi, FYI, {Get,Set}*ArrayRegion were buggy and were fixed upstream in: r1908 2004-03-28 The Debian version is older and does not have that fix. David On Mon, Apr 05, 2004 at 08:43:12PM -0400, Etienne Gagnon wrote: > Package: sablevm > Version: 1.1.1-1 > Severity: normal >=20 > The "upstream" sablevm version works, but not the debian version. > See below. >=20 > ### upstream ### >=20 > $ ~/work/bin/sablevm -Y JNITest > value =3D 47 > $ ~/work/bin/sablevm -V JNITest=20 > SableVM version staging+1942 > - compile date and time: 2004-04-05 23:45:04 UTC > - gcc version: 3.3.3 (Debian 20040401) > - signal based exception detection > - copying garbage collection > - bidirectional object layout > - inline-threaded interpreter >=20 > ### Debian ### >=20 > $ sablevm -Y JNITest=20 > java.lang.NullPointerException > at JNITest.testPtr (JNITest.java) > at JNITest.main (JNITest.java:11) > at java.lang.VirtualMachine.invokeMain (VirtualMachine.java) > at java.lang.VirtualMachine.main (VirtualMachine.java:88) > $ sablevm -V JNITest=20 > SableVM version 1.1.1 > - compile date and time: 2004-03-21 05:36:38 UTC > - gcc version: 3.3.3 (Debian 20040306) > - 'real life brokenness' features enabled > - signal based exception detection > - copying garbage collection > - bidirectional object layout > - inline-threaded interpreter >=20 > Should the test code be attached to a bug report? If yes, please > grab the code at: >=20 > http://www.info.uqam.ca/~egagnon/jnitest/ >=20 > you compile it with: > $ jikes JNITest.java > $ gcc -Wall -pedantic -O3 -shared -o libtest.o libtest.c >=20 >=20 > FYI: The broken behavior shows under both x86 and ppc. >=20 > Thanks, >=20 > Etienne >=20 >=20 > -- System Information: > Debian Release: testing/unstable > APT prefers unstable > APT policy: (500, 'unstable') > Architecture: i386 (i686) > Kernel: Linux 2.4.24 > Locale: LANG=3DC, LC_CTYPE=3DC >=20 > Versions of packages sablevm depends on: > ii java-common 0.22 Base of all Java packages > ii libc6 2.3.2.ds1-11 GNU C Library: Shared libr= aries an > ii libffi2 1:3.3.3-6 Foreign Function Interface= library > ii libltdl3 1.5.4-1 A system independent dlope= n wrappe > ii libpopt0 1.7-4 lib for parsing cmdline pa= rameters > ii libsablevm1 1.1.1-1 Free implementation of JVM= second=20 > ii unzip 5.50-3 De-archiver for .zip files >=20 > -- no debconf information >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dc= lick > _______________________________________________ > Sablevm-developer mailing list > Sab...@li... > https://lists.sourceforge.net/lists/listinfo/sablevm-developer --=20 --- David B=E9langer Graduate Student School of Computer Science McGill University Office: MC226 Web page: http://www.cs.mcgill.ca/~dbelan2/ Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt |