On Wed, Apr 11, 2001 at 06:39:41PM -, Zhihong Pan wrote:
> # HotSpot Virtual Machine Error, Unexpected Signal 11
Look at signal(7). 11 is SIGSEGV.
>From what you've said, you've probably dereferenced a null pointer.
Check the values passed into your function.
--Andrew
--
I'm not sure if this is a match for your problem but look at:
http://forum.java.sun.com/read/16798709/qAsMC0m5SzuwAAYnH#LR
also
http://forum.java.sun.com/read/16798709/q_7RUKIJzLQEAAYoz#LR
has a comment that complains about JNI.
You might want to try the beta JDK 1.3.1, it fixed a similiar
erro
Read the next section in the link I posted yesterday. there is a section
on memory issues with JNI, global references etc
http://developer.java.sun.com/developer/onlineTraining/Programming/JDCBook/jniref.html
regards
calvin
Zhihong Pan wrote:
>
> Hi,
>
> When I call my c function in java, I
Hi,
When I call my c function in java, I need to pass an jobjectArray. But the size of the
jobjectArray is deterined by my c function. for example, if I declare String
myarray=new Sring[10], then pass myarray to c function, in c function i use
SetObjectArrayElement to set array value, it works