Menu

#64 Bricks corrupting chunks/crashing server

open
nobody
Crashing (13)
6
2011-01-05
2011-01-05
joeshmoe
No

When entering a cart that:
1. was placed BEFORE user logs in
2. is waiting for directions (ex. /straight)

the Chunk where the brick is gets corrupt and kills the server.

Discussion

  • joeshmoe

    joeshmoe - 2011-01-05
    • priority: 5 --> 6
     
  • joeshmoe

    joeshmoe - 2011-01-05

    using latest Hey0 mod (jan/5/11) // minecart mania 2.3b // Minecraft Beta

     
  • joeshmoe

    joeshmoe - 2011-01-05

    This is EXACTLY the same as:
    Server Killer Bug - ID: 3146357

    I see it is closed with no solution???

     
  • Mughi

    Mughi - 2011-01-05

    i can create a small sacrificial test world tonight and verify, if it helps. Sounds like what we ran into in bug 3146357. In that instance, user was in a cart waiting at a sign, got hit by another cart, causing death and internal server error. When he got back to the cart area, the world died due to chunk error.

    i saw a comment about something that indicates you MIGHT be able to recover the world with a map editor and remove the brick (or chunk), but not sure.

     
  • joeshmoe

    joeshmoe - 2011-01-05

    Yeah, we are doing the same to recover the world....

    the trick is avoiding the collision in the first place? or allow a collision on a brick that is waiting for user input, death or collision there results in crashing! that seems to be the source of the error.

     
  • Mughi

    Mughi - 2011-01-06

    I think i can reproduce it.. testing further now..
    i tried causing collisions at a sign block and couldn't crash it.. i then left a cart waiting at a sign, and destroyed the brick, track, and cart in that area. i then rebuilt the track/brick as before, placed a cart and jumped in. as soon as i hit the brick, i got internal server error, with the following console error.

    2011-01-05 20:26:48 [WARNING] Failed to handle packet: java.lang.ArrayIndexOutOf
    BoundsException: 15
    java.lang.ArrayIndexOutOfBoundsException: 15
    at kq.g(kq.java:469)
    at kq.b_(kq.java:219)
    at ff.a(SourceFile:1072)
    at fm.b(SourceFile:42)
    at kk.a(kk.java:130)
    at hy.a(SourceFile:126)
    at bs.a(SourceFile:232)
    at kk.a(kk.java:61)
    at eh.a(eh.java:71)
    at net.minecraft.server.MinecraftServer.h(SourceFile:275)
    at net.minecraft.server.MinecraftServer.run(SourceFile:216)
    at cj.run(SourceFile:490)

    got this on client on reconnect:
    java.lang.ArrayIndexOutOfBoundsException: 15
    at qs.h(SourceFile:510)
    at qs.e_(SourceFile:248)
    at dd.a(SourceFile:1072)
    at dd.e(SourceFile:1048)
    at dd.e(SourceFile:1027)
    at net.minecraft.client.Minecraft.i(SourceFile:1200)
    at net.minecraft.client.Minecraft.run(SourceFile:677)
    at java.lang.Thread.run(Unknown Source)

     
  • Mughi

    Mughi - 2011-01-06

    well.. i couldn't reproduce it that way... there is definitely a bug here, and it's a pretty severe one.. if anyone can figure out a reliable way to reproduce it, i'm sure it will help with fixing the bug.

     
  • Anonymous

    Anonymous - 2011-01-07

    I found this bug on my server yesterday.
    I had just installed 2.4 beta (to fix an elevator not working issue)
    I have a chest 2 blocks from a station brick.
    The brick has a sign diagonal to it that reads "empty : N"
    I added a button next to the chest to produce a cart and when I jumped into the cart, I punched it to move it to the station.
    Then I entered an invalid station direction and exited the cart and tried to move it back towards the chest. At that point I got a client error and from then on experienced the Out of Bounds exception 15.

    I found a program called Chunky that let me delete the chunk with the brick and that restored that area on the server. (I have auto backups running now :))

    Never saw this issue on 2.3b and I have been playing with stations a bunch.

     
  • Anonymous

    Anonymous - 2011-01-11

    hi, as I wrote in my bug report, use mcedit to delete the defective chunks, then the server works again.
    I did it because even i make backups every day in that case there were too much new objectes.

     

Log in to post a comment.