How to find out why does my jni program crash
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   paula_dos
Posted On:   Wednesday, June 1, 2005 11:54 AM

			Hi, I'm working with JNI on Linux. I'm processing images in my native code, and while executing, I got sometimes this error:
			
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x400F4B7F
Function=memcpy+0x2F
Library=/lib/libc.so.6

I would like to know how could I debug the program to find out where the problem is exactly.
Thanks,
Paulados

Re: How to find out why does my jni program crash

Posted By:   Simon_Ablett  
Posted On:   Friday, June 3, 2005 05:45 AM

In would say that your native code contains a memory allocation error; I seem to recollect that signal 11 is a SEGV. Check your C code for uninitialised pointers; buffer overruns etc.

Regards.
About | Sitemap | Contact