Repository metrics
- Stars
- (6,985 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
Im using FFmpeg Frame Grabber and convert Convert frames to Buffered Image using Java2DFrameGrabber, but my JVM crash, I not always but im seeing it quite often now. Im using version 1.5.4
2022-02-25 12:51:19,354 ERROR c.i.w.ColorDetectionTask$ColorDetector: Error Extracting Frame 2022-02-25 12:51:19,354 TRACE c.i.w.ColorDetectionTask$ColorDetector: org.bytedeco.javacv.FrameGrabber$Exception: Could not grab: No AVFormatContext. (Has start() been called?) at org.bytedeco.javacv/org.bytedeco.javacv.FFmpegFrameGrabber.grabFrame(FFmpegFrameGrabber.java:1254) at org.bytedeco.javacv/org.bytedeco.javacv.FFmpegFrameGrabber.grabImage(FFmpegFrameGrabber.java:1239) at com.viewer.remote.NormalGrabber.getFrame(NormalGrabber.java:126)
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000002b710fdc9db, pid=19876, tid=18500
#
# JRE version: OpenJDK Runtime Environment (11.0.4+11) (build 11.0.4+11)
# Java VM: OpenJDK 64-Bit Server VM (11.0.4+11, mixed mode, tiered, compressed oops, g1 gc, windows-amd64)
# Problematic frame:
# J 16546 c2 org.bytedeco.javacv.Java2DFrameConverter.flipCopyWithGamma(Ljava/nio/ByteBuffer;IILjava/nio/ByteBuffer;IIZDZI)V org.bytedeco.javacv (635 bytes) @ 0x000002b710fdc9db [0x000002b710fdc660+0x000000000000037b]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# hs_err_pid19876.log
Compiled method (c2) 185640 16546 4 org.bytedeco.javacv.Java2DFrameConverter::flipCopyWithGamma (635 bytes)
total in heap [0x000002b710fdc490,0x000002b710fdd520] = 4240
relocation [0x000002b710fdc608,0x000002b710fdc640] = 56
constants [0x000002b710fdc640,0x000002b710fdc660] = 32
main code [0x000002b710fdc660,0x000002b710fdd020] = 2496
stub code [0x000002b710fdd020,0x000002b710fdd038] = 24
oops [0x000002b710fdd038,0x000002b710fdd048] = 16
metadata [0x000002b710fdd048,0x000002b710fdd088] = 64
scopes data [0x000002b710fdd088,0x000002b710fdd3d8] = 848
scopes pcs [0x000002b710fdd3d8,0x000002b710fdd4c8] = 240
dependencies [0x000002b710fdd4c8,0x000002b710fdd4d0] = 8
handler table [0x000002b710fdd4d0,0x000002b710fdd4e8] = 24
nul chk table [0x000002b710fdd4e8,0x000002b710fdd520] = 56
Could not load hsdis-amd64.dll; library not loadable; PrintAssembly is disabled