Implemented Constant Server Closing

Discussion in 'ModSauce' started by BlazeSolaris, Feb 20, 2015.

  1. BlazeSolaris

    BlazeSolaris New Member

    Messages:
    28
    Likes Received:
    4
    Local Time:
    8:22 AM
    It seems that the Modsauce server is currently having issues... For the past hour, another user has been trying to enter the server, simply move around, then be kicked as the server closes. Upon it opening, they try again and it immediately closes once more. I would like to ask if an admin could help try to isolate what is causing this crash, if at all possible?

    the user that was having issues, is called SubeVicente, whom appears to be trapped mid-way through a random teleport, which could be what is causing this crash.
     
  2. BlazeSolaris

    BlazeSolaris New Member

    Messages:
    28
    Likes Received:
    4
    Local Time:
    8:22 AM
    Update... When SubeVicente tries to join, it immediately closes the server.
     
  3. Xfel11

    Xfel11 Consultant

    Messages:
    635
    Likes Received:
    157
    Local Time:
    9:22 AM
    I'll see what I find in the logs
     
  4. BlazeSolaris

    BlazeSolaris New Member

    Messages:
    28
    Likes Received:
    4
    Local Time:
    8:22 AM
    Thank you guys.
     
  5. Xfel11

    Xfel11 Consultant

    Messages:
    635
    Likes Received:
    157
    Local Time:
    9:22 AM
    So, this seems to be a corrupted chunk. I'll have to scan the skype logs to find out how we solved that error last time.
     
  6. BlazeSolaris

    BlazeSolaris New Member

    Messages:
    28
    Likes Received:
    4
    Local Time:
    8:22 AM
    Is the corrupted chunk on a claim? Or where Sube currently is?[DOUBLEPOST=1424440273,1424440217][/DOUBLEPOST]would reverting his location to spawn be a viable solution?
     
  7. Xfel11

    Xfel11 Consultant

    Messages:
    635
    Likes Received:
    157
    Local Time:
    9:22 AM
  8. BlazeSolaris

    BlazeSolaris New Member

    Messages:
    28
    Likes Received:
    4
    Local Time:
    8:22 AM
    Right well, I'm not going to rush you because it's not that urgent... But at least the problem is known now... SubeVicente won't be trying to log back in for the rest of the day, if that's any help on your end.
     
  9. Xfel11

    Xfel11 Consultant

    Messages:
    635
    Likes Received:
    157
    Local Time:
    9:22 AM
    Unfortunately, the server needs to stay shut down a while in order to try to locate the problem. (I'll let an external program loose on the world save to locate the erroring tile).[DOUBLEPOST=1424442884,1424442238][/DOUBLEPOST]OK Actually I've been able to narrow down the probable location...
     
  10. BlazeSolaris

    BlazeSolaris New Member

    Messages:
    28
    Likes Received:
    4
    Local Time:
    8:22 AM
    Then it's a chunk that SubeVicente teleported to? well, I'm guessing that myself. But yeah, let's just hope the problem isn't at someone's base.
     
  11. Xfel11

    Xfel11 Consultant

    Messages:
    635
    Likes Received:
    157
    Local Time:
    9:22 AM
    Unfortunately, I havent been able to find the problematic block yet. Sorry for that. However, I don't have any more time, so I'll leave my state of knowledge here for the other admins/developers.

    So, the bug is caused by a saved tile entity having invalid saved coordinates, more specifically the saved coordinates of the TE do not lie within the chunk the tile entity is saved in. In order to fix this, we have to locate the corrupted TE and NBTEdit it out. I shut down the server in order to reduce the amount of crash reports. Restoring the region in question from a backup MIGHT help, but the last time we got this issue that didn't help too.

    I could also try to write a patch that simply removes the corrupted tile entity as soon as it gets loaded, but I'm not sure I'll manage to finish it soon.[DOUBLEPOST=1424446230,1424445196][/DOUBLEPOST]OK, the patch was easier then I thought, I installed a first version of it. Let's hope it works, I REALLY must go now.[DOUBLEPOST=1424446729][/DOUBLEPOST]The server is starting at least. please try to log in. if it does not work, ask someone else. If the server is totally wrecked, tell that someone to remove the patch. I'm off for today.
     
    Last edited by a moderator: Feb 21, 2015
    Mijikai, Slind, SirWill and 1 other person like this.
  12. BlazeSolaris

    BlazeSolaris New Member

    Messages:
    28
    Likes Received:
    4
    Local Time:
    8:22 AM
    the server is working fine for myself... As I say, it was a friend, whom is now asleep, that had the issues... thanks for the help, I'll say if he has any problems in the future.[DOUBLEPOST=1424473335,1424452291][/DOUBLEPOST]Update: The issue has been fixed and SubeVicente can now play on Modsauce without any issues, thanks Xfel11.
     
  13. Xfel11

    Xfel11 Consultant

    Messages:
    635
    Likes Received:
    157
    Local Time:
    9:22 AM
    Good to hear that. I'd recommend to copy the patch to all other servers, so the error will be permanently fixed.
     
  14. SirWill

    SirWill Founder

    Messages:
    12,284
    Likes Received:
    3,708
    Local Time:
    9:22 AM
    Done
     

Share This Page