Windows NT 5.x 系で動かすとどうしてもクラッシュしてしまうプログラム その2

Windows NT 5.x 系で動かすとどうしてもクラッシュしてしまうプログラムについて

Windows 2000にCreateSymbolicLinkW を実装してリベンジ

# JRE version: Java(TM) SE Runtime Environment (9.0+160) (build 9-ea+160)
# Java VM: Java HotSpot(TM) Server VM (9-ea+160, mixed mode, emulated-client, serial gc, windows-x86)
# Problematic frame:
# C  [KERNEL32.dll+0x2bcb1]

バージョンチェックに引っかかってクラッシュ Windows 2000だと強制的に落とされる

XPモードで実行

# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00cd44fa, pid=936, tid=952
#
# JRE version: Java(TM) SE Runtime Environment (9.0+160) (build 9-ea+160)
# Java VM: Java HotSpot(TM) Server VM (9-ea+160, mixed mode, emulated-client, serial gc, windows-x86)
# Problematic frame:
# J 539 c1 demo.parallel.MandelbrotSetTask.calc(Ldemo/parallel/Complex;)I (45 bytes) @ 0x00cd44fa [0x00cd4460+0x0000009a]

erl

LoadLibraryA("jre-9\bin\javafx_font.dll") returned 0x04A90000 by thread 15 "JavaFX Application Thread".
GetProcAddress(0x04A90000 [jre-9\bin\JAVAFX_FONT.DLL], "_JNI_OnLoad@8") called from "jre-9\bin\JAVA.DLL" at address 0x01031D13 and returned NULL by thread 15 "JavaFX Application Thread". Error: wvV[WB (127).
GetProcAddress(0x04A90000 [jre-9\bin\JAVAFX_FONT.DLL], "JNI_OnLoad") called from "jre-9\bin\JAVA.DLL" at address 0x01031D13 and returned NULL by thread 15 "JavaFX Application Thread". Error: wvV[WB (127).
GetProcAddress(0x00400000 [jre-9\bin\JAVA.EXE], "_JNI_OnLoad_awt@8") called from "jre-9\bin\JAVA.DLL" at address 0x01031D13 and returned NULL by thread 15 "JavaFX Application Thread". Error: wvV[WB (127).
GetProcAddress(0x00400000 [jre-9\bin\JAVA.EXE], "JNI_OnLoad_awt") called from "jre-9\bin\JAVA.DLL" at address 0x01031D13 and returned NULL by thread 15 "JavaFX Application Thread". Error: wvV[WB (127).
LoadLibraryA("jre-9\bin\awt.dll") called from "jre-9\bin\server\JVM.DLL" at address 0x00BEC681 by thread 15 "JavaFX Application Thread".
Loaded "jre-9\bin\AWT.DLL" at address 0x04AB0000 by thread 15 "JavaFX Application Thread".  Successfully hooked module.
Unloaded "jre-9\bin\AWT.DLL" at address 0x04AB0000 by thread 15 "JavaFX Application Thread".
LoadLibraryA("jre-9\bin\awt.dll") returned NULL by thread 15 "JavaFX Application Thread". Error: wW[B (126).
GetProcAddress(0x01030000 [jre-9\bin\JAVA.DLL], "_Java_java_lang_ref_Reference_getAndClearReferencePendingList@8") called from "jre-9\bin\server\JVM.DLL" at address 0x00BD6858 and returned 0x01035796 by thread 4 "Reference Handler".
Thread 18 started in "C:\WINNT\system32\KERNEL32.DLL" at address 0x77E5B740.

AWT.DLL のロードで DirectX 11をよんでるらしくてクラッシュ

とりあえず、DLLだけ配置してみる

#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00cd870f, pid=1148, tid=1332
#
# JRE version: Java(TM) SE Runtime Environment (9.0+160) (build 9-ea+160)
# Java VM: Java HotSpot(TM) Server VM (9-ea+160, mixed mode, emulated-client, serial gc, windows-x86)
# Problematic frame:
# J 547 c1 demo.parallel.Complex.times(Ldemo/parallel/Complex;)Ldemo/parallel/Complex; (56 bytes) @ 0x00cd870f [0x00cd86a0+0x0000006f]

DirectX の初期化エラーでクラッシュ。
仮想環境で Java 9を動かすのは絶望か。

・ω・ < めんどくさい!

C:\jre-9\bin>java.exe -version
java version "9-ea"
Java(TM) SE Runtime Environment (build 9-ea+160)
Java HotSpot(TM) Server VM (build 9-ea+160, mixed mode, emulated-client)

バージョン表示だけなら動くようになりました

おすすめ

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です