[Sablevm-developer] Bug#242330: sablevm: fails to run JNI library
Brought to you by:
egagnon
From: Etienne G. <gag...@uq...> - 2004-04-06 01:08:22
|
Package: sablevm Version: 1.1.1-1 Severity: normal The "upstream" sablevm version works, but not the debian version. See below. ### upstream ### $ ~/work/bin/sablevm -Y JNITest value = 47 $ ~/work/bin/sablevm -V JNITest 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 ### Debian ### $ sablevm -Y JNITest 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 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 Should the test code be attached to a bug report? If yes, please grab the code at: http://www.info.uqam.ca/~egagnon/jnitest/ you compile it with: $ jikes JNITest.java $ gcc -Wall -pedantic -O3 -shared -o libtest.o libtest.c FYI: The broken behavior shows under both x86 and ppc. Thanks, Etienne -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.4.24 Locale: LANG=C, LC_CTYPE=C 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 libraries an ii libffi2 1:3.3.3-6 Foreign Function Interface library ii libltdl3 1.5.4-1 A system independent dlopen wrappe ii libpopt0 1.7-4 lib for parsing cmdline parameters ii libsablevm1 1.1.1-1 Free implementation of JVM second ii unzip 5.50-3 De-archiver for .zip files -- no debconf information |