Crash when switching language
zongyuelu opened this issue · 2 comments
Hi!
Patchouli crashed when I tried to switch the language to Chinese. Btw I installed another mod that used Patchouli as the dependent mod. I fixed the language issue in that mod but Patchouli itself seemed to crash.
I can enter the game, but the game will immediately crash after I tried to create a world. Since I saw the zh_CN.lang in language file, I think the mod should be compatible with Chinese.
here are the error logs:
`[02:18:18] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[02:18:18] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[02:18:18] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[02:18:18] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2768 for Minecraft 1.12.2 loading
[02:18:18] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_201, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jdk1.8.0_201\jre
[02:18:18] [main/INFO] [FML]: Searching E:\minecraft 1.12.2.minecraft\mods for mods
[02:18:18] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[02:18:18] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[02:18:18] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[02:18:18] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[02:18:18] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[02:18:19] [main/INFO] [FML]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
[02:18:19] [main/INFO] [FML]: Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc
[02:18:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[02:18:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[02:18:19] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[02:18:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[02:18:19] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[02:18:20] [main/INFO] [minecraft/Minecraft]: Setting user: 123
[02:18:23] [main/WARN] [minecraft/GameSettings]: Skipping bad option: lastServer:
[02:18:23] [main/INFO] [minecraft/Minecraft]: LWJGL Version: 2.9.4
[02:18:23] [main/INFO] [FML]: -- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 8.1 (amd64) version 6.3
Java Version: 1.8.0_201, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 126900360 bytes (121 MB) / 301989888 bytes (288 MB) up to 4294967296 bytes (4096 MB)
JVM Flags: 11 total; -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=16M -XX:-UseAdaptiveSizePolicy -XX:-OmitStackTraceInFastThrow -Xmn128m -Xmx4096m -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
Loaded coremods (and transformers):
GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 416.34' Renderer: 'GeForce GTX 1050 Ti/PCIe/SSE2'
[02:18:23] [main/INFO] [FML]: MinecraftForge v14.23.5.2768 Initialized
[02:18:23] [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
[02:18:23] [main/INFO] [FML]: Replaced 1036 ore ingredients
[02:18:24] [main/INFO] [FML]: Searching E:\minecraft 1.12.2.minecraft\mods for mods
[02:18:25] [main/WARN] [FML]: Mod patchouli is missing the required element 'version' and a version.properties file could not be found. Falling back to metadata version 1.0-18
[02:18:25] [main/INFO] [FML]: Forge Mod Loader has identified 6 mods to load
[02:18:25] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, naturesaura, patchouli] at CLIENT
[02:18:25] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, naturesaura, patchouli] at SERVER
[02:18:25] [main/INFO] [minecraft/SimpleReloadableResourceManager]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Nature's Aura, FMLFileResourcePack:Patchouli
[02:18:25] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 84079874 nanos
[02:18:25] [main/INFO] [FML]: Processing ObjectHolder annotations
[02:18:25] [main/INFO] [FML]: Found 1169 ObjectHolder annotations
[02:18:26] [main/INFO] [FML]: Identifying ItemStackHolder annotations
[02:18:26] [main/INFO] [FML]: Found 0 ItemStackHolder annotations
[02:18:26] [main/INFO] [FML]: Configured a dormant chunk cache size of 0
[02:18:26] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[02:18:26] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Found status: UP_TO_DATE Target: null
[02:18:26] [main/INFO] [FML]: Applying holder lookups
[02:18:26] [main/INFO] [FML]: Holder lookups applied
[02:18:26] [main/INFO] [FML]: Applying holder lookups
[02:18:26] [main/INFO] [FML]: Holder lookups applied
[02:18:26] [main/INFO] [FML]: Applying holder lookups
[02:18:26] [main/INFO] [FML]: Holder lookups applied
[02:18:26] [main/INFO] [FML]: Applying holder lookups
[02:18:26] [main/INFO] [FML]: Holder lookups applied
[02:18:26] [main/INFO] [FML]: Injecting itemstacks
[02:18:26] [main/INFO] [FML]: Itemstack injection complete
[02:18:27] [Sound Library Loader/INFO] [minecraft/SoundManager]: Starting up SoundSystem...
[02:18:27] [Thread-5/INFO] [minecraft/SoundManager]: Initializing LWJGL OpenAL
[02:18:27] [Thread-5/INFO] [minecraft/SoundManager]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[02:18:27] [Thread-5/INFO] [minecraft/SoundManager]: OpenAL initialized.
[02:18:27] [Sound Library Loader/INFO] [minecraft/SoundManager]: Sound engine started
[02:18:29] [main/INFO] [FML]: Max texture size: 16384
[02:18:30] [main/INFO] [minecraft/TextureMap]: Created: 512x512 textures-atlas
[02:18:31] [main/INFO] [FML]: Applying holder lookups
[02:18:31] [main/INFO] [FML]: Holder lookups applied
[02:18:31] [main/INFO] [FML]: Injecting itemstacks
[02:18:31] [main/INFO] [FML]: Itemstack injection complete
[02:18:31] [main/INFO] [FML]: Forge Mod Loader has successfully loaded 6 mods
[02:18:31] [main/WARN] [minecraft/GameSettings]: Skipping bad option: lastServer:
[02:18:31] [main/INFO] [mojang/NarratorWindows]: Narrator library for x64 successfully loaded
[02:18:32] [Realms Notification Availability checker #1/INFO] [mojang/RealmsClient]: Could not authorize you against Realms server: Invalid session id
[02:18:34] [Server thread/INFO] [minecraft/IntegratedServer]: Starting integrated minecraft server version 1.12.2
[02:18:34] [Server thread/INFO] [minecraft/IntegratedServer]: Generating keypair
[02:18:34] [Server thread/INFO] [FML]: Injecting existing registry data into this server instance
[02:18:34] [Server thread/INFO] [FML]: Applying holder lookups
[02:18:34] [Server thread/INFO] [FML]: Holder lookups applied
[02:18:34] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@71e8bd2b)
[02:18:34] [Server thread/INFO] [minecraft/AdvancementList]: Loaded 510 advancements
[02:18:34] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@71e8bd2b)
[02:18:34] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@71e8bd2b)
[02:18:34] [Server thread/INFO] [minecraft/MinecraftServer]: Preparing start region for level 0
[02:18:35] [Server thread/INFO] [FML]: Unloading dimension -1
[02:18:35] [Server thread/INFO] [FML]: Unloading dimension 1
[02:18:35] [Server thread/INFO] [minecraft/IntegratedServer]: Changing view distance to 12, from 10
[02:18:36] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
[02:18:36] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
[02:18:36] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 6 mods : [email protected],[email protected],[email protected],[email protected],naturesaura@r16,[email protected]
[02:18:36] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
[02:18:36] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
[02:18:36] [Server thread/INFO] [minecraft/PlayerList]: 123[local:E:baed7c01] logged in with entity id 2 at (-214.5, 4.0, 79.5)
[02:18:36] [Server thread/INFO] [minecraft/MinecraftServer]: 123加入了游戏
There is insufficient memory for the Java Runtime Environment to continue.
Native memory allocation (mmap) failed to map 419430400 bytes for Failed to commit area from 0x0000000747000000 to 0x0000000760000000 of length 419430400.
An error report file with more information is saved as:
E:\minecraft 1.12.2.minecraft\hs_err_pid37840.log
AL lib: (EE) alc_cleanup: 1 device not closed
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000747000000, 419430400, 0) failed; error='页面文件太小,无法完成操作。' (DOS error/errno=1455)`
[02:18:25] [main/WARN] [FML]: Mod patchouli is missing the required element 'version' and a version.properties file could not be found. Falling back to metadata version 1.0-18
I think this is the most important part