JVM crash on touchbar mac (other platforms work fine)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 30/100
Hướng nghiên cứu
Bắt đầu với dự án mẫu jvmcrashtest được liên kết và build.gradle của dự án đó, sau đó chạy các tác vụ korge-run runJvmFirstThread và runJvm trên thiết lập Touchbar Mac đã được báo cáo. So sánh crash dựa trên JNA với đường dẫn AWT/Swing và kiểm tra nhật ký crash của JVM, bao gồm frame class_conformsToProtocol. Hoàn thành khi runJvmFirstThread không còn crash, trong khi tác vụ runJvm tiêu chuẩn vẫn hoạt động.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The Java VM crashes on a 2018 Touchbar Macbook pro. Other platforms (and macs without touchbar) work great. When using a standard AWT/Swing build of the same code, there is no crash.
> Task :runJvmFirstThread FAILED
-XstartOnFirstThread not supported via Jogl, switching to an experimental native jna-based implementation
pixelFormat: 140203200597728
openGLContext: 140203226417888
contentView: 140203200489312
NSDefaultRunLoopMode: native@0x7fff849d1540
[timerWithTimeInterval:invocation:repeats:, timerWithFireDate:target:selector:userInfo:, scheduledTimerWithTimeInterval:repeats:block:, timerWithTimeInterval:repeats:block:, allocWithZone:, timerWithTimeInterval:target:selector:userInfo:repeats:, scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:, scheduledTimerWithTimeInterval:invocation:repeats:]
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fff61e56415, pid=919, tid=775
#
# JRE version: OpenJDK Runtime Environment (11.0.4+10) (build 11.0.4+10-b304.77)
# Java VM: OpenJDK 64-Bit Server VM (11.0.4+10-b304.77, mixed mode, tiered, compressed oops, g1 gc, bsd-amd64)
# Problematic frame:
# C [libobjc.A.dylib+0xb415] class_conformsToProtocol+0x138
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/nicolaiemig/dev/engineEmi/hs_err_pid919.log
#
# If you would like to submit a bug report, please visit:
# https://youtrack.jetbrains.com
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
JVM crashlog is on pastebin, because its huge
- Version of JNA and related jars
gluegen: 2.3.2
jna: 5.5.0
joal: 2.3.2
jog: 2.3.2 - Version and vendor of the java virtual machine
13.0.1 (Oracle Corporation 13.0.1+9) (other VMs give this error woo - Operating system / System architecture
Mac OS X 10.15.1 x86_64 - Steps to reproduce
A) Download Sample project here. Its a gradle project:
B) Import build.gradle file
C) Run gradle task "runJvmFirstThread for JNA implementation (crashes) or gradle task runJvm for AWT/Swing implementation (does not crash). The tasks are unter gradle -> korge-run group
- Ngôn ngữ chính
- Java
- Star
- 8.9k
- Fork
- 1.7k
- Merge trung bình
- 1 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của java-native-access/jna
-
`Native.typeOptions` never releases library interfaces, leaking classloadersCó thể đã có người làm @curforever đã nhận 2 ngày trước. Đang mở
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 48/100
java-native-access/jna#1742 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 66/100
java-native-access/jna#1738 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
java-native-access/jna#1736 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
java-native-access/jna#1717 ·
-
Windows32Exception - The parameter is incorrectCó thể đã có người làm @marktech0813 đã nhận 337 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
java-native-access/jna#1700 · 11 bình luận ·
Tất cả issue của java-native-access/jna
Issue tương tự
-
area/plugin good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
kestra-io/plugin-kestra#200 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug untriaged
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
opensearch-project/search-relevance#618 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
apache/rocketmq-dashboard#6716 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
DefaultRedisList.get(int) does not reject an index equal to the list sizeCó thể đã có người làm @ryujungkyun đã nhận hôm nay. Đang mởstatus: waiting-for-triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
spring-projects/spring-data-redis#3471 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
Upgrade to Micrometer 1.17.2Đang mởin: build type: dependency-upgrade
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
spring-projects/spring-ldap#1791 ·
Maintainer thường phản hồi trong vòng 1 ngày