Replay Mod (Fabric & Forge)

Replay Mod (Fabric & Forge)

787k Downloads

replay mod crashes while saving replay.

shr1m opened this issue ยท 2 comments

commented

---- Minecraft Crash Report ----
// I bet Cylons wouldn't have this problem.

Time: 2022-01-25, 9:07 p.m.
Description: Saving replay file

java.nio.file.FileSystemException: C:\Users\Tyler\AppData\Local\Temp\replaystudio6829018418276046475replayfile -> C:\Users\Tyler\AppData\Roaming.minecraft\replay_recordings\recording\2022_01_25_20_23_11.mcpr: The process cannot access the file because it is being used by another process
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsFileCopy.move(WindowsFileCopy.java:403)
at java.base/sun.nio.fs.WindowsFileSystemProvider.move(WindowsFileSystemProvider.java:293)
at java.base/java.nio.file.Files.move(Files.java:1432)
at com.replaymod.replaystudio.replay.ZipReplayFile.save(ZipReplayFile.java:323)
at com.replaymod.core.files.DelegatingReplayFile.save(DelegatingReplayFile.java:70)
at com.replaymod.recording.packet.PacketListener.lambda$channelInactive$6(PacketListener.java:297)
at java.base/java.lang.Thread.run(Thread.java:833)

A detailed walkthrough of the error, its code path and all known details is as follows:
-- System Details --
Details:
Minecraft Version: 1.18.1
Minecraft Version ID: 1.18.1
Operating System: Windows 10 (amd64) version 10.0
Java Version: 17.0.1, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
Memory: 813401384 bytes (775 MiB) / 2147483648 bytes (2048 MiB) up to 2147483648 bytes (2048 MiB)
CPUs: 12
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz
Identifier: Intel64 Family 6 Model 165 Stepping 5
Microarchitecture: unknown
Frequency (GHz): 2.90
Number of physical packages: 1
Number of physical CPUs: 6
Number of logical CPUs: 12
Graphics card #0 name: NVIDIA GeForce GTX 1070
Graphics card #0 vendor: NVIDIA (0x10de)
Graphics card #0 VRAM (MB): 4095.00
Graphics card #0 deviceId: 0x1b81
Graphics card #0 versionInfo: DriverVersion=30.0.14.9729
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): 24243.13
Virtual memory used (MB): 16019.02
Swap memory total (MB): 7921.12
Swap memory used (MB): 266.38
JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
Fabric Mods:
fabric: Fabric API 0.45.0+1.18
fabric-api-base: Fabric API Base 0.4.1+b4f4f6cd65
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.5.0+17be577f65
fabric-biome-api-v1: Fabric Biome API (v1) 6.0.1+ded849a965
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.9+3ac43d9565
fabric-command-api-v1: Fabric Command API (v1) 1.1.6+3ac43d9565
fabric-commands-v0: Fabric Commands (v0) 0.2.5+b4f4f6cd65
fabric-containers-v0: Fabric Containers (v0) 0.1.18+d154e2c665
fabric-content-registries-v0: Fabric Content Registries (v0) 0.4.5+6f53a73d65
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.8+3ac43d9565
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.7+43d2957165
fabric-entity-events-v1: Fabric Entity Events (v1) 1.4.5+6b21378a65
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.16+bfa23f1765
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.6+b4f4f6cd65
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.10+3ac43d9565
fabric-item-api-v1: Fabric Item API (v1) 1.3.0+691a79b565
fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.3+3ac43d9565
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.8+c8aba2f365
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.6+b4f4f6cd65
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.4.10+c15ca33565
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.8+3ac43d9565
fabric-mining-level-api-v1: Fabric Mining Level API (v1) 1.0.3+3ac43d9565
fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.7+b4f4f6cd65
fabric-models-v0: Fabric Models (v0) 0.3.3+3ac43d9565
fabric-networking-api-v1: Fabric Networking API (v1) 1.0.18+3ac43d9565
fabric-networking-v0: Fabric Networking (v0) 0.3.5+b4f4f6cd65
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.11.0+3b82842e65
fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.8+3ac43d9565
fabric-particles-v1: Fabric Particles (v1) 0.2.9+526dc1ac65
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.8.6+533be9ba65
fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.9+3ac43d9565
fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.12+3ac43d9565
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.7+b4f4f6cd65
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.4+7242e9d765
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.18+3ac43d9565
fabric-rendering-v0: Fabric Rendering (v0) 1.1.9+b4f4f6cd65
fabric-rendering-v1: Fabric Rendering (v1) 1.10.3+6b21378a65
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.11+3ac43d9565
fabric-screen-api-v1: Fabric Screen API (v1) 1.0.7+3ac43d9565
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.11+3ac43d9565
fabric-structure-api-v1: Fabric Structure API (v1) 2.0.8+295197a765
fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.2.5+3ac43d9565
fabric-textures-v0: Fabric Textures (v0) 1.0.9+3ac43d9565
fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.3.4+7de09f5565
fabric-transfer-api-v1: Fabric Transfer API (v1) 1.5.6+b4f4f6cd65
fabricloader: Fabric Loader 0.12.12
java: OpenJDK 64-Bit Server VM 17
minecraft: Minecraft 1.18.1
mm: Manningham Mills 2.3
optifabric: OptiFabric 1.12.10
replaymod: Replay Mod 1.18.1-2.6.3
OptiFine Version: OptiFine_1.18.1_HD_U_H4
OptiFine Build: 20211212-175054
Render Distance Chunks: 12
Mipmaps: 4
Anisotropic Filtering: 1
Antialiasing: 0
Multitexture: false
Shaders: null
OpenGlVersion: 3.2.0 NVIDIA 497.29
OpenGlRenderer: NVIDIA GeForce GTX 1070/PCIe/SSE2
OpenGlVendor: NVIDIA Corporation
CpuCount: 12

-- OptiFabric --
Details:
OptiFine jar designed for: 1.18.1
OptiFine jar version: OptiFine_1.18.1_HD_U_H4
OptiFine jar status: Valid OptiFine installer
OptiFine remapped jar: C:/Users/Tyler/AppData/Roaming/.minecraft/.optifine/OptiFine_1.18.1_HD_U_H4/Optifine-mapped.jar
OptiFabric error:

commented

Likely same issue as #670

See #670 (comment) for a possible solution.

commented

And: Memory slot #1 ???

how do i fix?