javacpp-presets
javacpp-presets copied to clipboard
Crash on MacOSX platform
My program works well on Windows, But when I run in MacOSX system, my program crashed at calling function of 'sws_scale'.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x000000012c873ee4, pid=1136, tid=0x0000000000000f0b
#
# JRE version: Java(TM) SE Runtime Environment (8.0_121-b13) (build 1.8.0_121-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.121-b13 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C [libswscale.5.dylib+0x8aee4] sws_getCachedContext+0x1bc4
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
the call stack is:
Stack: [0x00007000037f2000,0x00007000038f2000], sp=0x00007000038f1408, free space=1021k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libswscale.5.dylib+0x8aee4] sws_getCachedContext+0x1bc4
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.bytedeco.ffmpeg.global.swscale.sws_scale(Lorg/bytedeco/ffmpeg/swscale/SwsContext;Lorg/bytedeco/javacpp/PointerPointer;Lorg/bytedeco/javacpp/IntPointer;IILorg/bytedeco/javacpp/PointerPointer;Lorg/bytedeco/javacpp/IntPointer;)I+0
j android.media.MediaCodec$1.run()V+381
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
That's probably already fixed. Please give it a try with the snapshots: http://bytedeco.org/builds/
You'll need to make sure that the snapshot repository is in your settings: http://bytedeco.org/builds/
I'am trying
I sorry to tell you that it is still crash at the same place
Thanks for testing! Ok, well, it looks like a bug in FFmpeg, so please also report upstream: http://ffmpeg.org/bugreports.html