View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002578 | Industrial-Craft² | tools / electric items | public | 2019-08-01 15:08 | 2019-08-11 12:15 |
Reporter | rept1d | Assigned To | |||
Priority | high | Severity | crash | Reproducibility | sometimes |
Status | acknowledged | Resolution | open | ||
Summary | 0002578: Crash using IC2 Tool Box | ||||
Description | Opening a "Tool Box" and dropping it at the same time sometimes causes a server crash. I was NOT able to reproduce it every time but to cause it at least once (to make sure that the bug exists) you just need to restart server several times and try to crash every time (if it doesn't work than you need to restart server again). Sometimes i was required to delete world folder without resetting all the server files. So i do NOT know how to cause the crash with 100% chance. Needs more investigation. | ||||
Steps To Reproduce | 1. Get a Tool Box, 2. Try to open and drop it at the same time. 3. If you succeed, the server crashes. If not, restart the server and try again. | ||||
Additional Information | If you wouldn't be able to reproduce it at all, tell me and i'll make a video on how i do it. Forge version: 14.23.5.2838 IC2 version: 2-2.8.170-ex112 Java version: 1.8.0_221 | ||||
Tags | 1.12.2, Crash, Tool Box | ||||
Minecraft Version | 1.12.2 | ||||
|
If this is without Sponge then there must be a subtle race condition within vanilla between which happens first between the GUI opening and the item being thrown. Quite the pain to try and fix it reproduction is so unreliable to start with though. |
|
@Chocohead Yes, it happens without Sponge. I will upload a video of me reproducing it soon, so maybe then you will have some ideas. |
|
Finally I've uploaded the video: https://www.youtube.com/watch?v=9mePDLNPLSE Also i attached the crash log file to this note. P.S. While making the video i noticed that crash often can be caused on the first try (first server run). So i think that the problem is in the part of code that is executed on server start, because after that if you realize that crash can't be caused, you have nothing to do but to restart the server and try again. Only after restart you have a change of problem being reproduced (if not, restart again and so on). It may be reproduced on the first try (as i did in the video), or *theoretically* may not be reproduced for 10 times in a row (i was able to reproduce in max. 3-4 tries). crash-2019-08-10_22.35.43-server.txt (6,512 bytes)
---- Minecraft Crash Report ---- // Daisy, daisy... Time: 8/10/19 10:35 PM Description: Hand held container stack vanished java.lang.IllegalArgumentException: empty stack: 0xtile.air@0 at ic2.core.util.StackUtil.copyWithSize(StackUtil.java:1011) at ic2.core.item.tool.HandHeldInventory.save(HandHeldInventory.java:239) at ic2.core.item.tool.HandHeldInventory.onGuiClosed(HandHeldInventory.java:172) at ic2.core.item.ContainerHandHeldInventory.func_75134_a(ContainerHandHeldInventory.java:89) at net.minecraft.entity.player.EntityPlayerMP.func_71128_l(EntityPlayerMP.java:1022) at net.minecraft.entity.player.EntityPlayerMP.func_71053_j(EntityPlayerMP.java:1009) at net.minecraft.entity.player.EntityPlayerMP.func_70071_h_(EntityPlayerMP.java:328) at net.minecraft.world.World.func_72866_a(World.java:1993) at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832) at net.minecraft.world.World.func_72870_g(World.java:1955) at net.minecraft.world.WorldServer.func_184147_l(WorldServer.java:642) at net.minecraft.world.World.func_72939_s(World.java:1734) at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613) at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767) at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) at java.lang.Thread.run(Unknown Source) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Server thread Stacktrace: at ic2.core.util.StackUtil.copyWithSize(StackUtil.java:1011) -- Container stack -- Details: Stack: 0xtile.air@0 NBT: {uid:1241047219,Items:[]} Position: -2147483648 Had thrown: false -- Container info -- Details: Type: ic2.core.item.tool.HandHeldToolbox Container: ic2.core.item.tool.ContainerToolbox Opened by: EntityPlayerMP['rept1d'/2949, l='world', x=63.50, y=88.00, z=250.50] Stacktrace: at ic2.core.item.tool.HandHeldInventory.save(HandHeldInventory.java:239) at ic2.core.item.tool.HandHeldInventory.onGuiClosed(HandHeldInventory.java:172) at ic2.core.item.ContainerHandHeldInventory.func_75134_a(ContainerHandHeldInventory.java:89) at net.minecraft.entity.player.EntityPlayerMP.func_71128_l(EntityPlayerMP.java:1022) at net.minecraft.entity.player.EntityPlayerMP.func_71053_j(EntityPlayerMP.java:1009) at net.minecraft.entity.player.EntityPlayerMP.func_70071_h_(EntityPlayerMP.java:328) at net.minecraft.world.World.func_72866_a(World.java:1993) at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832) at net.minecraft.world.World.func_72870_g(World.java:1955) -- Player being ticked -- Details: Entity Type: null (net.minecraft.entity.player.EntityPlayerMP) Entity ID: 2949 Entity Name: rept1d Entity's Exact location: 63.50, 88.00, 250.50 Entity's Block location: World: (63,88,250), Chunk: (at 15,5,10 in 3,15; contains blocks 48,0,240 to 63,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Entity's Momentum: 0.00, -0.08, 0.00 Entity's Passengers: [] Entity's Vehicle: ~~ERROR~~ NullPointerException: null Stacktrace: at net.minecraft.world.WorldServer.func_184147_l(WorldServer.java:642) at net.minecraft.world.World.func_72939_s(World.java:1734) at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613) -- Affected level -- Details: Level name: world All players: 1 total; [EntityPlayerMP['rept1d'/2949, l='world', x=63.50, y=88.00, z=250.50]] Chunk stats: ServerChunkCache: 625 Drop: 0 Level seed: 5650870667600045724 Level generator: ID 00 - default, ver 1. Features enabled: true Level generator options: Level spawn location: World: (60,64,252), Chunk: (at 12,4,12 in 3,15; contains blocks 48,0,240 to 63,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 306 game time, 306 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 105066 (now: false), thunder time: 75620 (now: false) Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false Stacktrace: at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767) at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) at java.lang.Thread.run(Unknown Source) -- System Details -- Details: Minecraft Version: 1.12.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_221, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 5319861560 bytes (5073 MB) / 6200754176 bytes (5913 MB) up to 6200754176 bytes (5913 MB) JVM Flags: 2 total; -Xms6G -Xmx6G IntCache: cache: 1, tcache: 1, allocated: 12, tallocated: 94 FML: MCP 9.42 Powered by Forge 14.23.5.2838 5 mods loaded, 5 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored | State | ID | Version | Source | Signature | |:------ |:--------- |:------------- |:--------------------------------------- |:---------------------------------------- | | LCHIJA | minecraft | 1.12.2 | minecraft.jar | None | | LCHIJA | mcp | 9.42 | minecraft.jar | None | | LCHIJA | FML | 8.0.99.99 | forge-1.12.2-14.23.5.2838-universal.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 | | LCHIJA | forge | 14.23.5.2838 | forge-1.12.2-14.23.5.2838-universal.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 | | LCHIJA | ic2 | 2.8.179-ex112 | industrialcraft-2-2.8.179-ex112.jar | de041f9f6187debbc77034a344134053277aa3b0 | Loaded coremods (and transformers): Profiler Position: N/A (disabled) Player Count: 1 / 20; [EntityPlayerMP['rept1d'/2949, l='world', x=63.50, y=88.00, z=250.50]] Is Modded: Definitely; Server brand changed to 'fml,forge' Type: Dedicated Server (map_server.txt) |
|
typo: you have a *chance* of problem being reproduced |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-08-01 15:08 | rept1d | New Issue | |
2019-08-01 15:08 | rept1d | Tag Attached: Tool Box | |
2019-08-01 15:09 | rept1d | Tag Attached: 1.12.2 | |
2019-08-01 15:09 | rept1d | Tag Attached: industrialcraft-2-2.8.170-ex112 | |
2019-08-01 15:09 | rept1d | Tag Detached: industrialcraft-2-2.8.170-ex112 | |
2019-08-01 15:10 | rept1d | Tag Attached: Crash | |
2019-08-04 22:31 | Chocohead | Relationship added | duplicate of 0002556 |
2019-08-04 22:33 | Chocohead | Status | new => acknowledged |
2019-08-04 22:33 | Chocohead | Note Added: 0006076 | |
2019-08-05 12:40 | rept1d | Note Added: 0006101 | |
2019-08-11 10:44 | rept1d | File Added: crash-2019-08-10_22.35.43-server.txt | |
2019-08-11 10:44 | rept1d | Note Added: 0006118 | |
2019-08-11 12:15 | rept1d | Note Added: 0006119 |