Hello,

We are trying to use JNI with the new J2SE runtime on an Ipaq with
Familiar 0.4. We run various JNI examples like
http://www.blackdown.org/java-linux/docs/faq/examples/jni-in-C/.
They all return a segmentation Violation. Does someone try to run JNI
with Familiar 0.4 and J2SE V 1.3.1 RC 1 ? If yes could you point me to
your installation procedure.

Thanks 
Laurent

 java example.HelloNativeWorld
SIGSEGV   11*  segmentation violation
si_signo [11]: SIGSEGV   11*  segmentation violation
si_errno [0]: Success
si_code [1]: SEGV_MAPERR [addr: 0x0]
stackpointer=0xbfffd34c
Full thread dump Classic VM (Blackdown-1.3.1-RC1, native threads):
"Finalizer" (TID:0x40f0b528, sys_thread_t:0x5ffb0, 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:0x5e6c8, 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:0x57168, state:CW,
native ID:0x402) prio=5
"main" (TID:0x40f0b1b0, sys_thread_t:0x1bdf8, state:R, native ID:0x400)
prio=5
at example.HelloNativeWorld.print(Native Method)
at example.HelloNativeWorld.main(HelloNativeWorld.java:14)
Monitor Cache Dump:
java.lang.ref.ReferenceQueue$Lock@40F0B540/40F41838: <unowned>
Waiting to be notified:
"Finalizer" (0x5ffb0)
java.lang.ref.Reference$Lock@40F0B310/40F41340: <unowned>
Waiting to be notified:
"Reference Handler" (0x5e6c8)
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" (0x1bdf8) 1 entry
Thread queue lock: owner "main" (0x1bdf8) 1 entry
Monitor registry: owner "main" (0x1bdf8) 1 entry


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to