Note Book : JVM is crash by HighGui#imshow On Windows 10 of Open JDK 11, 14, 15 and 15.01 with OpenCV. But however it's worked on OpenJDK16ea.
If use OpenJDK16ea, It is work.
A crimina → awt.dll+0x902ae
hs_err_pid19144.log
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ff9a47002ae, pid=19144, tid=13948
#
# JRE version: OpenJDK Runtime Environment (15.0+36) (build 15+36-1562)
# Java VM: OpenJDK 64-Bit Server VM (15+36-1562, mixed mode, sharing, tiered, compressed oops, g1 gc, windows-amd64)
# Problematic frame:
# C [awt.dll+0x902ae]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
# https://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.
#
--------------- T H R E A D ---------------
Current thread (0x0000028729632f20): JavaThread "main" [_thread_in_native, id=13948, stack(0x000000ba51300000,0x000000ba51400000)]
Stack: [0x000000ba51300000,0x000000ba51400000], sp=0x000000ba513fef70, free space=1019k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [awt.dll+0x902ae]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.awt.windows.WComponentPeer._setFont(Ljava/awt/Font;)V+0 java.desktop@15
j sun.awt.windows.WComponentPeer.setFont(Ljava/awt/Font;)V+7 java.desktop@15
j sun.awt.windows.WWindowPeer.initialize()V+42 java.desktop@15
j sun.awt.windows.WFramePeer.initialize()V+1 java.desktop@15
j sun.awt.windows.WComponentPeer.<init>(Ljava/awt/Component;)V+83 java.desktop@15
j sun.awt.windows.WCanvasPeer.<init>(Ljava/awt/Component;)V+2 java.desktop@15
j sun.awt.windows.WPanelPeer.<init>(Ljava/awt/Component;)V+2 java.desktop@15
j sun.awt.windows.WWindowPeer.<init>(Ljava/awt/Window;)V+2 java.desktop@15
j sun.awt.windows.WFramePeer.<init>(Ljava/awt/Frame;)V+2 java.desktop@15
j sun.awt.windows.WToolkit.createFrame(Ljava/awt/Frame;)Ljava/awt/peer/FramePeer;+5 java.desktop@15
j java.awt.Frame.addNotify()V+20 java.desktop@15
j java.awt.Window.pack()V+28 java.desktop@15
j org.opencv.highgui.ImageWindow.setFrameLabelVisible(Ljavax/swing/JFrame;Ljavax/swing/JLabel;)V+84
j org.opencv.highgui.HighGui.waitKey(I)I+203
j env.check.SampleDnnOnnx$Logic.doExecute()V+206
j env.check.SampleDnnOnnx.main([Ljava/lang/String;)V+15
v ~StubRoutines::call_stub
siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), reading address 0x0000000000000058
I haven't been able to classify it yet.
우분투 20.04 LTS on OpenJDK15
Windows 10 on OpenJDK16ea
Reference
이 문제에 관하여(Note Book : JVM is crash by HighGui#imshow On Windows 10 of Open JDK 11, 14, 15 and 15.01 with OpenCV. But however it's worked on OpenJDK16ea.), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/jashika/items/c0672acfbf7d3f2c7eb6텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)