Crash when running JAR through console on macOS
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
- 35/100
Hướng nghiên cứu
Bắt đầu bằng cách chạy java -jar recaf-2.21.13-J8-jar-with-dependencies.jar với thiết lập OpenJDK 19 và macOS 13.2 đã được báo cáo, sau đó lần theo đường dẫn khởi động JavaFX/macOS liên quan đến assertion về hình chữ nhật theo dõi của libglass.dylib. Được xem là hoàn tất khi JAR khởi động mà không xảy ra native crash đã báo cáo trên môi trường bị ảnh hưởng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
Recaf crashes when trying to run the JAR through the command line.
Some system information:
- OpenJDK 19 installed through Homebrew
- 14-inch 2021 MacBook Pro
- macOS 13.2
Please let me know if you'd like me to provide any other information.
To Reproduce
Steps to reproduce the behavior:
- Download
recaf-2.21.13-J8-jar-with-dependencies.jar. - Run
java -jar recaf-2.21.13-J8-jar-with-dependencies.jar.
Console Output
~/Desktop
❯ rm -rf ~/Library/Preferences/Recaf
~/Desktop
❯ java --version
openjdk 19.0.2 2023-01-17
OpenJDK Runtime Environment Homebrew (build 19.0.2)
OpenJDK 64-Bit Server VM Homebrew (build 19.0.2, mixed mode, sharing)
~/Desktop
❯ java -jar recaf-2.21.13-J8-jar-with-dependencies.jar
00:14:07.262 [main] INFO : Recaf-2.21.13
00:14:07.263 [main] INFO : - Java: 19.0.2 (OpenJDK 64-Bit Server VM)
Feb 25, 2023 12:14:07 AM com.sun.javafx.application.PlatformImpl startup
WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @5db54e92'
2023-02-25 00:14:08.458 java[1287:17121] *** Assertion failure in -[_NSTrackingAreaAKViewHelper removeTrackingRect:], _NSTrackingAreaAKManager.m:1613
2023-02-25 00:14:08.460 java[1287:17121] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '0x0 is an invalid NSTrackingRectTag. Common possible reasons for this are: 1. already removed this trackingRectTag, 2. Truncated the NSTrackingRectTag to 32bit at some point.'
*** First throw call stack:
(
0 CoreFoundation 0x0000000180fd43e8 __exceptionPreprocess + 176
1 libobjc.A.dylib 0x0000000180b1eea8 objc_exception_throw + 60
2 Foundation 0x0000000181f17910 -[NSCalendarDate initWithCoder:] + 0
3 AppKit 0x00000001847930cc -[_NSTrackingAreaAKViewHelper removeTrackingRect:] + 200
4 libglass.dylib 0x000000010e8b6edc -[GlassViewDelegate setFrameSize:] + 360
5 libglass.dylib 0x000000010e8bc034 -[GlassView3D setFrameSize:] + 92
6 AppKit 0x0000000184217664 -[NSView setFrame:] + 304
7 libglass.dylib 0x000000010e8bc094 -[GlassView3D setFrame:] + 76
8 AppKit 0x00000001842255d8 -[NSView resizeWithOldSuperviewSize:] + 508
9 AppKit 0x0000000184224fc8 -[NSView resizeSubviewsWithOldSize:] + 360
10 AppKit 0x000000018420954c -[NSView setFrameSize:] + 1136
11 AppKit 0x0000000184217664 -[NSView setFrame:] + 304
12 AppKit 0x00000001842255d8 -[NSView resizeWithOldSuperviewSize:] + 508
13 AppKit 0x0000000184224fc8 -[NSView resizeSubviewsWithOldSize:] + 360
14 AppKit 0x000000018420954c -[NSView setFrameSize:] + 1136
15 AppKit 0x0000000184223c34 -[NSThemeFrame setFrameSize:] + 244
16 AppKit 0x000000018422357c -[NSWindow _oldPlaceWindow:fromServer:] + 540
17 AppKit 0x0000000184222680 -[NSWindow _setFrameCommon:display:fromServer:] + 1824
18 libglass.dylib 0x000000010e8ade64 -[GlassWindow(Java) _setBounds:y:xSet:ySet:w:h:cw:ch:] + 328
19 libglass.dylib 0x000000010e8c7050 Java_com_sun_glass_ui_mac_MacWindow__1setBounds2 + 416
20 ??? 0x0000000137548aac 0x0 + 5223254700
21 ??? 0x0000000137545548 0x0 + 5223241032
22 ??? 0x0000000137545548 0x0 + 5223241032
23 ??? 0x0000000137545548 0x0 + 5223241032
24 ??? 0x0000000137545a88 0x0 + 5223242376
25 ??? 0x0000000137545548 0x0 + 5223241032
26 ??? 0x0000000137545548 0x0 + 5223241032
27 ??? 0x0000000137545548 0x0 + 5223241032
28 ??? 0x0000000137545548 0x0 + 5223241032
29 ??? 0x0000000137545548 0x0 + 5223241032
30 ??? 0x0000000137545548 0x0 + 5223241032
31 ??? 0x0000000137545548 0x0 + 5223241032
32 ??? 0x0000000137545548 0x0 + 5223241032
33 ??? 0x0000000137545548 0x0 + 5223241032
34 ??? 0x0000000137545548 0x0 + 5223241032
35 ??? 0x0000000137545548 0x0 + 5223241032
36 ??? 0x0000000137545a88 0x0 + 5223242376
37 ??? 0x0000000137545300 0x0 + 5223240448
38 ??? 0x000000013041ed64 0x0 + 5104594276
39 ??? 0x0000000137545300 0x0 + 5223240448
40 ??? 0x0000000137545548 0x0 + 5223241032
41 ??? 0x0000000137545a88 0x0 + 5223242376
42 ??? 0x0000000137534140 0x0 + 5223170368
43 libjvm.dylib 0x00000001037a1df4 _ZN9JavaCalls11call_helperEP9JavaValueRK12methodHandleP17JavaCallArgumentsP10JavaThread + 564
44 libjvm.dylib 0x00000001037f789c _ZL20jni_invoke_nonstaticP7JNIEnv_P9JavaValueP8_jobject11JNICallTypeP10_jmethodIDP18JNI_ArgumentPusherP10JavaThread + 536
45 libjvm.dylib 0x00000001037fb3c4 jni_CallVoidMethod + 224
46 libglass.dylib 0x000000010e8b2828 -[GlassRunnable run] + 92
47 Foundation 0x0000000181e7f900 __NSThreadPerformPerform + 264
48 CoreFoundation 0x0000000180f59a08 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
49 CoreFoundation 0x0000000180f5999c __CFRunLoopDoSource0 + 176
50 CoreFoundation 0x0000000180f5970c __CFRunLoopDoSources0 + 244
51 CoreFoundation 0x0000000180f58310 __CFRunLoopRun + 836
52 CoreFoundation 0x0000000180f57878 CFRunLoopRunSpecific + 612
53 HIToolbox 0x000000018a637fa0 RunCurrentEventLoopInMode + 292
54 HIToolbox 0x000000018a637c30 ReceiveNextEventCommon + 236
55 HIToolbox 0x000000018a637b2c _BlockUntilNextEventMatchingListInModeWithFilter + 72
56 AppKit 0x00000001841dd838 _DPSNextEvent + 632
57 AppKit 0x00000001841dc9c8 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728
58 AppKit 0x00000001841d0df8 -[NSApplication run] + 464
59 libglass.dylib 0x000000010e8b49b0 -[GlassApplication runLoop:] + 1996
60 Foundation 0x0000000181e7f900 __NSThreadPerformPerform + 264
61 CoreFoundation 0x0000000180f59a08 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
62 CoreFoundation 0x0000000180f5999c __CFRunLoopDoSource0 + 176
63 CoreFoundation 0x0000000180f5970c __CFRunLoopDoSources0 + 244
64 CoreFoundation 0x0000000180f58310 __CFRunLoopRun + 836
65 CoreFoundation 0x0000000180f57878 CFRunLoopRunSpecific + 612
66 libjli.dylib 0x000000010243f094 CreateExecutionEnvironment + 400
67 libjli.dylib 0x000000010243b794 JLI_Launch + 1208
68 java 0x0000000102383bbc main + 392
69 dyld 0x0000000180b4fe50 start + 2544
)
libc++abi: terminating with uncaught exception of type NSException
[1] 1287 abort java -jar recaf-2.21.13-J8-jar-with-dependencies.jar
- Ngôn ngữ chính
- Java
- Star
- 7.5k
- Fork
- 549
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
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 Col-E/Recaf
-
Copy/paste broken on Linux: ClassCastException (HeapByteBuffer → byte[]) in ClipboardActions.pasteĐang mở3rd party problem bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
-
Keybind to jump to lineĐang mởenhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
Issue tương tự
-
needs discussion
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
openfga/openfga.dev#1436 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
jooby-project/jooby#4047 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bug feat:Syntax
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
ignatov/intellij-erlang#1342 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
commons-app/apps-android-commons#7379 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Flaky EnrollmentCoordinatorTest.theNewSettingsShouldNotInheritTheFormerOnesBackoff on WindowsCó thể đã có người làm @NassimBtk đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
MetricsHub/metricshub-community#1636 ·
Maintainer thường phản hồi trong vòng 1 ngày