`java.lang.ArithmeticException` will be thrown occasionally when rendering videos
chuanwise opened this issue · 1 comments
the minecraft crash report and exception stack trace:
---- Minecraft Crash Report ----
// You should try our sister game, Minceraft!
Time: 2022/7/9 下午5:18
Description: Rendering video
java.lang.ArithmeticException: / by zero
at com.replaymod.render.rendering.VideoRenderer.drawGui(VideoRenderer.java:571)
at com.replaymod.render.rendering.VideoRenderer.updateForNextFrame(VideoRenderer.java:255)
at com.replaymod.render.capturer.PboOpenGlFrameCapturer.process(PboOpenGlFrameCapturer.java:79)
at com.replaymod.render.rendering.Pipeline.run(Pipeline.java:71)
at com.replaymod.render.rendering.VideoRenderer.renderVideo(VideoRenderer.java:222)
at com.replaymod.render.gui.GuiRenderQueue.processQueue(GuiRenderQueue.java:180)
at com.replaymod.render.gui.GuiRenderQueue.lambda$new$6(GuiRenderQueue.java:163)
at com.replaymod.core.versions.scheduler.SchedulerImpl.lambda$runLater$4(SchedulerImpl.java:113)
at net.minecraft.class_1255.method_18859(class_1255.java:198)
at net.minecraft.class_4093.method_18859(class_4093.java:23)
at net.minecraft.class_1255.method_16075(class_1255.java:163)
at net.minecraft.class_1255.method_5383(class_1255.java:140)
at com.replaymod.core.versions.scheduler.SchedulerImpl$ReplayModExecutor.method_5383(SchedulerImpl.java:78)
at com.replaymod.core.versions.scheduler.SchedulerImpl.runTasks(SchedulerImpl.java:85)
at com.replaymod.core.ReplayMod.runTasks(ReplayMod.java:196)
at com.replaymod.replay.InputReplayTimer.method_1658(InputReplayTimer.java:66)
at net.minecraft.class_310.method_1523(class_310.java:1082)
at net.minecraft.class_310.method_1514(class_310.java:737)
at net.minecraft.client.main.Main.main(Main.java:236)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:460)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.18.2
Minecraft Version ID: 1.18.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 17.0.1, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
Memory: 3059164856 bytes (2917 MiB) / 5318377472 bytes (5072 MiB) up to 7516192768 bytes (7168 MiB)
CPUs: 12
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Identifier: Intel64 Family 6 Model 158 Stepping 10
Microarchitecture: unknown
Frequency (GHz): 2.59
Number of physical packages: 1
Number of physical CPUs: 6
Number of logical CPUs: 12
Graphics card #0 name: NVIDIA GeForce GTX 1650
Graphics card #0 vendor: NVIDIA (0x10de)
Graphics card #0 VRAM (MB): 4095.00
Graphics card #0 deviceId: 0x1f91
Graphics card #0 versionInfo: DriverVersion=27.21.14.6230
Memory slot #0 capacity (MB): 8192.00
Memory slot #0 clockSpeed (GHz): 2.67
Memory slot #0 type: DDR4
Memory slot #1 capacity (MB): 8192.00
Memory slot #1 clockSpeed (GHz): 2.67
Memory slot #1 type: DDR4
Virtual memory max (MB): 29390.55
Virtual memory used (MB): 25304.50
Swap memory total (MB): 13087.31
Swap memory used (MB): 301.54
JVM Flags: 6 total; -XX:+UseG1GC -XX:-UseAdaptiveSizePolicy -XX:-OmitStackTraceInFastThrow -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmn256m -Xmx7168m
Fabric Mods:
cloth-basic-math: Cloth Basic Math 0.5.1
cloth-config2: Cloth Config v4 4.8.3
com_moandjiezana_toml_toml4j: toml4j 0.7.2
dark-loading-screen: Dark Loading Screen 1.6.11
dynamicfps: Dynamic FPS 2.1.0
fabric: Fabric API 0.47.9+1.18.2
fabric-api-base: Fabric API Base 0.4.4+d7c144a860
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.5.6+d7c144a860
fabric-biome-api-v1: Fabric Biome API (v1) 8.0.2+801ec85b60
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.11+3ac43d9560
fabric-command-api-v1: Fabric Command API (v1) 1.1.8+d7c144a860
fabric-commands-v0: Fabric Commands (v0) 0.2.7+b4f4f6cd60
fabric-containers-v0: Fabric Containers (v0) 0.1.20+d7c144a860
fabric-content-registries-v0: Fabric Content Registries (v0) 3.0.1+d82b939260
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.10+3ac43d9560
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.16+2540745460
fabric-entity-events-v1: Fabric Entity Events (v1) 1.4.7+d7c144a860
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.18+d7c144a860
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.12+d7c144a860
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.12+d7c144a860
fabric-item-api-v1: Fabric Item API (v1) 1.3.2+691a79b560
fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.9+3ac43d9560
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.11+54e5b2ec60
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.9+b4f4f6cd60
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.0.1+2540745460
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.10+d7c144a860
fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.0.3+d1027f7d60
fabric-models-v0: Fabric Models (v0) 0.3.5+d7c144a860
fabric-networking-api-v1: Fabric Networking API (v1) 1.0.20+d882b91560
fabric-networking-v0: Fabric Networking (v0) 0.3.7+b4f4f6cd60
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 2.0.2+34b2a0ce60
fabric-particles-v1: Fabric Particles (v1) 0.2.11+526dc1ac60
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.9.6+ca4be9c960
fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.12+d882b91560
fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.16+d8c7b9ae60
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.10+b4f4f6cd60
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.6+d7c144a860
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 2.0.1+54e5b2ec60
fabric-rendering-v0: Fabric Rendering (v0) 1.1.12+b4f4f6cd60
fabric-rendering-v1: Fabric Rendering (v1) 1.10.6+54e5b2ec60
fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.0.1+d1027f7d60
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.18+2de5574560
fabric-screen-api-v1: Fabric Screen API (v1) 1.0.10+d882b91560
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.13+d7c144a860
fabric-textures-v0: Fabric Textures (v0) 1.0.11+3ac43d9560
fabric-transfer-api-v1: Fabric Transfer API (v1) 1.5.13+cca23f9360
fabricloader: Fabric Loader 0.14.6
imblocker: IMBlockerFabric 1.0.18
java: Java HotSpot(TM) 64-Bit Server VM 17
minecraft: Minecraft 1.18.2
mm: Manningham Mills 2.3
modmenu: Mod Menu 3.2.2
optifabric: OptiFabric 1.13.0
phosphor: Phosphor 0.8.1
replaymod: Replay Mod 1.18.2-2.6.4
smoothboot: Smooth Boot 1.18.2-1.7.0
voxelmap: Voxelmap 1.18.2-1.11.1
wi_zoom: WI Zoom 1.3-MC1.18.2
worldedit: WorldEdit 7.2.10+1742f98
worldeditcui: WorldEditCUI 1.18.2+01
OptiFine Version: OptiFine_1.18.2_HD_U_H7
OptiFine Build: 20220410-185216
Render Distance Chunks: 64
Mipmaps: 4
Anisotropic Filtering: 1
Antialiasing: 0
Multitexture: false
Shaders: iterationT 2.0.0.zip
OpenGlVersion: 3.2.0 NVIDIA 462.30
OpenGlRenderer: GeForce GTX 1650/PCIe/SSE2
OpenGlVendor: NVIDIA Corporation
CpuCount: 12
-- OptiFabric --
Details:
OptiFine jar designed for: 1.18.2
OptiFine jar version: OptiFine_1.18.2_HD_U_H7
OptiFine jar status: Valid OptiFine installer
OptiFine remapped jar: E:/minecraft/Minecraft/.minecraft/versions/【1.18.2-Fabric】太学建筑整合-3.0-RELEASE/.optifine/OptiFine_1.18.2_HD_U_H7/Optifine-mapped.jar
OptiFabric error: <None>