PojavLauncherTeam/PojavLauncher_iOS

[Bug] <1.12.2 forge crash)

creyes200 opened this issue · 3 comments

Describe the bug

When forge 1.12.2 almost finishes loading it crashes

The log file and images/videos

No response

Steps To Reproduce

Start pojavlauncher select forge 1.12.2 then play end when it almost finishes it crashes

Expected Behavior

I expected see the minecraft home screen

Platform

- Device model: iphone 8
- iOS version: 14.6 checkra1n 
- PojavLauncher version: 
Latest dev version

Anything else?

No response

These options should fix the crashing:

  1. Update to the latest build, and install Forge 1.12.2.
  2. Replace /var/mobile/Documents/.pojavlauncher/Library/Application Support/minecraft/libraries/com/mojang/text2speech/1.10.3/text2speech-1.10.3.jar with this stub file.
  3. If you do not have a config directory in the minecraft folder, attempt to open Forge and let it crash.
  4. Edit config/splash.properties and change enabled=true => enabled=false.

how do i open splash.properties

What should I do if forge still crashes after this?
If java 17 option enabled, MC doesn’t load, just gives crash report immediately.
If java 17 disabled it loads main menu and crashes at any interaction attempt .

LATESTLOG.TXT
[Pre-Init] PojavLauncher INIT!
[Pre-Init] Version: 2.2-debug
[Pre-Init] Commit: cd47520 (main)
[Pre-Init] Device: iPhone SE (1st generation)
[Pre-Init] iOS 15.6 (TrollStore)
[Pre-init] Entitlements availability:

  • com.apple.developer.kernel.extended-virtual-addressing: YES
  • com.apple.developer.kernel.increased-memory-limit: YES
  • com.apple.private.security.no-sandbox: YES
  • dynamic-codesigning: NO
    [Debugging] Debug log enabled: YES
    [Pre-init] Restored game directory preference (default)
    [Pre-init] no-sandbox: YES, trying to enable JIT
    2023-04-03 23:29:26.681 PojavLauncher[7365:276404] [Laetus] Initialising...
    SubstituteLog: Attempted to hook non-existant selector "touchDownWithKey:atPoint:executionContext:" in class "UIKeyboardLayoutStar"
    2023-04-03 23:29:26.685 PojavLauncher[7365:276404] [LaetusWidgetLoader] Loaded 0 widgets!
    2023-04-03 23:29:26.687 PojavLauncher[7365:276404] [SnowBoard Launcher] Loader check passed. Loading SnowBoard...
    calling ptrace(PT_TRACE_ME)
    [Pre-init] JIT has been enabled with PT_TRACE_ME
    [MCDL] Downloading 1.12.2-forge-14.23.5.2860
    [MCDL] Warning: couldn't find SHA for /var/mobile/Containers/Data/Application/66FA6B6D-3B96-4D23-9786-9C2B2EB53048/Documents/Library/Application Support/minecraft/versions/1.12.2-forge-14.23.5.2860/1.12.2-forge-14.23.5.2860.json, have to assume it's good.
    [MCDL] Downloading 1.12.2
    [MCDL] SHA1 passed for 1.12.2.json
    [MCDL] Downloading 1.12
    [MCDL] SHA1 passed for 1.12.json
    [MCDL] insertSafety: how to insert assetIndex?
    [MCDL] insertSafety: how to insert assets?
    [MCDL] Downloading 1.12
    [MCDL] SHA1 passed for 1.12.json
    [MCDL] SHA1 passed for patchy-1.3.9.jar
    [MCDL] SHA1 passed for oshi-core-1.1.jar
    [MCDL] Begin: download libraries
    [MCDL] SHA1 passed for jna-5.13.0.jar
    [MCDL] SHA1 passed for platform-3.4.0.jar
    [MCDL] SHA1 passed for icu4j-core-mojang-51.2.jar
    [MCDL] SHA1 passed for jopt-simple-5.0.3.jar
    [MCDL] SHA1 passed for codecjorbis-20101023.jar
    [MCDL] SHA1 passed for codecwav-20101023.jar
    [MCDL] SHA1 passed for libraryjavasound-20101123.jar
    [MCDL] SHA1 passed for librarylwjglopenal-20100824.jar
    [MCDL] SHA1 passed for soundsystem-20120107.jar
    [MCDL] SHA1 passed for netty-all-4.1.9.Final.jar
    [MCDL] SHA1 passed for guava-21.0.jar
    [MCDL] SHA1 passed for commons-lang3-3.5.jar
    [MCDL] SHA1 passed for commons-io-2.5.jar
    [MCDL] SHA1 passed for commons-codec-1.10.jar
    [MCDL] SHA1 passed for jinput-2.0.5.jar
    [MCDL] SHA1 passed for jutils-1.0.0.jar
    [MCDL] SHA1 passed for gson-2.8.0.jar
    [MCDL] SHA1 passed for authlib-1.5.25.jar
    [MCDL] SHA1 passed for realms-1.10.22.jar
    [MCDL] SHA1 passed for commons-compress-1.8.1.jar
    [MCDL] SHA1 passed for httpclient-4.3.3.jar
    [MCDL] SHA1 passed for commons-logging-1.1.3.jar
    [MCDL] SHA1 passed for httpcore-4.3.2.jar
    [MCDL] SHA1 passed for fastutil-7.1.0.jar
    [MCDL] SHA1 passed for log4j-api-2.15.0.jar
    [MCDL] SHA1 passed for log4j-core-2.15.0.jar
    [MCDL] Skipped library org.lwjgl.lwjgl:lwjgl:2.9.4-nightly-20150209
    [MCDL] Unknown artifact object for org.lwjgl.lwjgl:lwjgl-platform:2.9.2-nightly-20140822, attempting to generate one
    [MCDL] Unknown artifact object for net.java.jinput:jinput-platform:2.0.5, attempting to generate one
    [MCDL] Skipped library org.lwjgl.lwjgl:lwjgl_util:2.9.4-nightly-20150209
    [MCDL] SHA1 passed for text2speech-1.10.3.jar
    [MCDL] SHA1 passed for java-objc-bridge-1.0.0.jar
    [MCDL] Skipped library org.lwjgl.lwjgl:lwjgl-platform:2.9.4-nightly-20150209
    [MCDL] Skipped library org.lwjgl.lwjgl:lwjgl:2.9.2-nightly-20140822
    [MCDL] Skipped library org.lwjgl.lwjgl:lwjgl_util:2.9.2-nightly-20140822
    [MCDL] Skipped library org.lwjgl.lwjgl:lwjgl-platform:2.9.2-nightly-20140822
    [MCDL] Skipped library net.java.jinput:jinput-platform:2.0.5
    [MCDL] Skipped library com.mojang:text2speech:1.10.3
    [MCDL] Skipped library ca.weblite:java-objc-bridge:1.0.0
    [MCDL] SHA1 passed for forge-1.12.2-14.23.5.2860.jar
    [MCDL] SHA1 passed for asm-debug-all-5.2.jar
    [MCDL] SHA1 passed for launchwrapper-1.12.jar
    [MCDL] SHA1 passed for jline-3.5.1.jar
    [MCDL] SHA1 passed for akka-actor_2.11-2.3.3.jar
    [MCDL] SHA1 passed for config-1.2.1.jar
    [MCDL] SHA1 passed for scala-actors-migration_2.11-1.1.0.jar
    [MCDL] SHA1 passed for scala-compiler-2.11.1.jar
    [MCDL] SHA1 passed for scala-continuations-library_2.11-1.0.2_mc.jar
    [MCDL] SHA1 passed for scala-continuations-plugin_2.11.1-1.0.2_mc.jar
    [MCDL] SHA1 passed for scala-library-2.11.1.jar
    [MCDL] SHA1 passed for scala-parser-combinators_2.11-1.0.1.jar
    [MCDL] SHA1 passed for scala-reflect-2.11.1.jar
    [MCDL] SHA1 passed for scala-swing_2.11-1.0.1.jar
    [MCDL] SHA1 passed for scala-xml_2.11-1.0.2.jar
    [MCDL] SHA1 passed for lzma-0.0.1.jar
    [MCDL] SHA1 passed for vecmath-1.5.2.jar
    [MCDL] SHA1 passed for trove4j-3.0.3.jar
    [MCDL] SHA1 passed for maven-artifact-3.5.3.jar
    [MCDL] SHA1 passed for 1.12.2-forge-14.23.5.2860.jar
    [MCDL] Finished: download libraries
    [MCDL] Begin: download assets
    [MCDL] Finished: download assets
    [MCDL] SHA1 passed for 1303/1305 asset files
    Note: some files of 1.19+ are skipped to workaround an issue
    Successfully set Jetsam task limit
    [MCDL] Warning: couldn't find SHA for /var/mobile/Containers/Data/Application/66FA6B6D-3B96-4D23-9786-9C2B2EB53048/Documents/Library/Application Support/minecraft/versions/1.12.2-forge-14.23.5.2860/1.12.2-forge-14.23.5.2860.json, have to assume it's good.
    [MCDL] insertSafety: how to insert assetIndex?
    [MCDL] insertSafety: how to insert assets?
    [JavaLauncher] Beginning JVM launch
    [JavaLauncher] Restored preference: JAVA_HOME is set to /var/containers/Bundle/Application/1934CD81-7DE3-43E2-9DE7-6F9D13EA2C93/PojavLauncher.app/java_runtimes/java-17-openjdk
    [JavaLauncher] Restored preference: RENDERER is set to auto
    [JavaLauncher] Max RAM allocation is set to 1711 MB
    [Init] Found JLI lib
    [Init] Calling JLI_Launch
    WARNING: Unknown module: cpw.mods.bootstraplauncher specified to --add-exports
    Library org.apache.logging.log4j:log4j-api: Replaced version 2.8.1 with 2.15.0
    Library org.apache.logging.log4j:log4j-core: Replaced version 2.8.1 with 2.15.0
    Launching Minecraft 1.12.2-forge-14.23.5.2860
    Library net.java.dev.jna:jna:4.4.0 has been changed to version 5.13.0
    Ignored non-exists file: /var/mobile/Containers/Data/Application/66FA6B6D-3B96-4D23-9786-9C2B2EB53048/Documents/Library/Application Support/minecraft/libraries/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5.jar
    Args init finished. Now starting game
    ScriptEngineManager providers.next(): javax.script.ScriptEngineFactory: Provider scala.tools.nsc.interpreter.IMain$Factory not found
    2023-04-03 23:29:34,659 main ERROR appender Console has no parameter that matches element Policies
    [23:29:35] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    WARNING: A terminally deprecated method in java.lang.System has been called
    WARNING: System::setSecurityManager has been called by net.minecraftforge.fml.common.launcher.FMLTweaker (file:/var/mobile/Containers/Data/Application/66FA6B6D-3B96-4D23-9786-9C2B2EB53048/Documents/Library/Application%20Support/minecraft/libraries/net/minecraftforge/forge/1.12.2-14.23.5.2860/forge-1.12.2-14.23.5.2860.jar)
    WARNING: Please consider reporting this to the maintainers of net.minecraftforge.fml.common.launcher.FMLTweaker
    WARNING: System::setSecurityManager will be removed in a future release
    [23:29:35] [main/INFO]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [23:29:35] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
    [23:29:35] [main/INFO]: Forge Mod Loader version 14.23.5.2860 for Minecraft 1.12.2 loading
    [23:29:35] [main/INFO]: Java is OpenJDK 64-Bit Server VM, version 17.0.7-internal, running on Mac OS X:aarch64:15.6, installed at /private/var/containers/Bundle/Application/1934CD81-7DE3-43E2-9DE7-6F9D13EA2C93/PojavLauncher.app/java_runtimes/java-17-openjdk
    [23:29:35] [main/INFO]: Searching /var/mobile/Containers/Data/Application/66FA6B6D-3B96-4D23-9786-9C2B2EB53048/Documents/Library/Application Support/minecraft/mods for mods
    [23:29:35] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [23:29:35] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [23:29:35] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [23:29:35] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [23:29:35] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    Error
    java.lang.reflect.InvocationTargetException
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.base/java.lang.reflect.Method.invoke(Unknown Source)
    at net.kdt.pojavlaunch.Tools.launchMinecraft(Tools.java:141)
    at net.kdt.pojavlaunch.PojavLauncher.launchMinecraft(PojavLauncher.java:106)
    at net.kdt.pojavlaunch.PojavLauncher.main(PojavLauncher.java:55)
    Caused by: java.lang.NoClassDefFoundError: java/util/jar/Pack200
    at net.minecraftforge.fml.common.patcher.ClassPatchManager.setup(ClassPatchManager.java:189)
    at net.minecraftforge.fml.common.asm.FMLSanityChecker.injectData(FMLSanityChecker.java:186)
    at net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper.injectIntoClassLoader(CoreModManager.java:164)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:115)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    ... 7 more
    Caused by: java.lang.ClassNotFoundException: java.util.jar.Pack200
    at java.base/java.net.URLClassLoader.findClass(Unknown Source)
    at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
    at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:106)
    at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
    at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
    ... 12 more