RE: [iPAQ] [ANNOUNCE] J2SE Runtime v1.3.1 for Linux/ARM Release C andidate

From: Hicks, Jamey <Jamey.Hicks.a.t.compaq.com>
Date: Mon Jun 11 2001 - 13:01:02 EDT

Steffen,

The JVM will not execute any of your program unless JNI works. There
are a number of JVM initialization steps that require JNI to work.

Jamey

> -----Original Message-----
> From: steffen.reymann@philips.com [mailto:steffen.reymann@philips.com]
> Sent: Monday, June 11, 2001 11:53 AM
> To: ipaq@handhelds.org
> Subject: Re: [iPAQ] [ANNOUNCE] J2SE Runtime v1.3.1 for
> Linux/ARM Release
> Candidate
>
>
> Excellent work!
>
> Has anyone managed to use the JNI on the iPAQ? When I tried
> the classic Hello World example the whole thing always
> crashes on the iPAQ (see log below). To make the library I use
>
> # arm-linux-gcc -shared -I/usr/java/jdk1.3/include
> -I/usr/java/jdk1.3/include/linux -o libhello.so HelloWorld.c
>
> Inclusion of the -D_REENTRANT option (what does it do
> anyway?) as suggested somewhere doesn't help. I also tried
> different versions of jni.h (for instance the kaffe one)
> without success.
>
> Any ideas would be very much appreciated.
>
> Thanks, Steffen.
>
>
> bash-2.03# ./java -classic -Djava.library.path=. HelloWorld
> SIGSEGV 11* segmentation violation
> si_signo [11]: SIGSEGV 11* segmentation violation
> si_errno [0]: Success
> si_code [1]: SEGV_MAPERR [addr: 0x0]
>
> stackpointer=0xbfffd40c
>
> Full thread dump Classic VM (Blackdown-1.3.1-RC1, native threads):
> "Finalizer" (TID:0x40f0b528, sys_thread_t:0x5fe80,
> state:CW, native ID:0xc04) prio=8
> at java.lang.Object.wait(Native Method)
> at
> java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108)
> at
> java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123)
> at
> java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162)
> "Reference Handler" (TID:0x40f0b300,
> sys_thread_t:0x5e588, state:CW, native ID:0x803) prio=10
> at java.lang.Object.wait(Native Method)
> at java.lang.Object.wait(Object.java:420)
> at
> java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)
> "Signal Dispatcher" (TID:0x40f0b330,
> sys_thread_t:0x57028, state:CW, native ID:0x402) prio=5
> "main" (TID:0x40f0b1b0, sys_thread_t:0x1bdc8, state:R,
> native ID:0x400) prio=5
> at HelloWorld.displayHelloWorld(Native Method)
> at HelloWorld.main(HelloWorld.java:9)
> Monitor Cache Dump:
> java.lang.ref.ReferenceQueue$Lock@40F0B540/40F41838: <unowned>
> Waiting to be notified:
> "Finalizer" (0x5fe80)
> java.lang.ref.Reference$Lock@40F0B310/40F41340: <unowned>
> Waiting to be notified:
> "Reference Handler" (0x5e588)
> Registered Monitor Dump:
> utf8 hash table: <unowned>
> JNI pinning lock: <unowned>
> JNI global reference lock: <unowned>
> BinClass lock: <unowned>
> Class linking lock: <unowned>
> System class loader lock: <unowned>
> Code rewrite lock: <unowned>
> Heap lock: <unowned>
> Monitor cache lock: owner "main" (0x1bdc8) 1 entry
> Thread queue lock: owner "main" (0x1bdc8) 1 entry
> Monitor registry: owner "main" (0x1bdc8) 1 entry
>
> bash-2.03#
>
> _______________________________________________
> iPAQ mailing list
> iPAQ@handhelds.org
> http://handhelds.org/mailman/listinfo/ipaq
> irc://irc.openprojects.net #ipaq
>
Received on Mon Jun 11 09:58:52 2001

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:44:01 EDT