Ask Your Question

Revision history [back]

SIGSEGV in libopencv_core.4.1.dylib called from java, works on one machine but not another

Hello, I am having this problem with a SIGSEV crash that is happening on one MacPro and not on another. As far as we can see we have the same OS versions and java versions. The JNI bindings are being provided by the bytedeco.org opencv library (https://github.com/bytedeco/javacpp-presets/tree/master/opencv), but the problem is not happening in java. The header of the resulting log file says:


A fatal error has been detected by the Java Runtime Environment:

#

SIGSEGV (0xb) at pc=0x0000000194ba8b33, pid=811, tid=0x000000000000981f

#

JRE version: Java(TM) SE Runtime Environment (8.0_241-b07) (build 1.8.0_241-b07)

Java VM: Java HotSpot(TM) 64-Bit Server VM (25.241-b07 mixed mode bsd-amd64 compressed oops)

Problematic frame:

C [libopencv_core.4.1.dylib+0x2edb33] cv::va_intel::convertFromVASurface(void*, unsigned int, cv::Size_<int>, cv::_OutputArray const&)+0x4e533

#

and I cannot produce a core dump. Any idea how I can de-bug this. To make things a bit more challenging it all works great in on my machine, it's a collegue's that is problematic, so at best I can remote access his machine. Any ideas where to look would be greatly appreciated. Cheers Gaby