1. These forums are still being retired! Please use GitHub discussions or Discord. You cannot create new threads or new accounts now. If you need to contact some user of the forums, you should do it sooner, rather than later. This notice was last updated on May 30th, 2021.

Has anyone else been getting server-lock since prelease 14?

Discussion in 'Help and Support' started by Immortal-D, Oct 11, 2013.

Thread Status:
Not open for further replies.
  1. Immortal-D

    Immortal-D Level 2

    Joined:
    Oct 5, 2013
    Messages:
    25
    Edit 3; Still getting locks, though with a new error now

    2013-10-12 12:24:10 - PacketBufferer: WARNING: System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
    at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
    at TShockAPI.PacketBufferer.SendBytes(ServerSock socket, Byte[] buffer, Int32 offset, Int32 count)

    Edit 2; Just got notice of the update to Housing plugin, so disregard. Will be testing the update tonight.

    I've never had this issue before (started the server shortly after 1.2). However, since release 14 following the recent game patch, I'm getting a number of instances where players are stuck on 'found server', ingame stops responding, yet my console shows absolutely nothing, so there is no way to tell that it has happened. I don't think it's a result of traffic, as this has happened with as little as 3 players. My log files don't reveal anything insightful either, so any thoughts are welcome.

    Edit ; Here is the error message just before the latest instance ;

    2013-10-11 18:12:40 - HTools: ERROR: System.NullReferenceException: Object reference not set to an instance of an object.
    at HousingDistricts.HTools.OwnsHouse(String UserID, House house)

    Though I'm at a loss as to what this means.
     
  2. Scerion

    Scerion Level 4

    Joined:
    Sep 30, 2013
    Messages:
    54
    during one of these instances the issue happens, whats the performance level of the application? It may be spiking out the CPU and unable to process anything.
     
  3. Immortal-D

    Immortal-D Level 2

    Joined:
    Oct 5, 2013
    Messages:
    25
    I don't think so, both cpu and memory are relatively stable. However, I did spot this error just before the last incident ;

    2013-10-12 12:24:10 - PacketBufferer: WARNING: System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
    at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
    at TShockAPI.PacketBufferer.SendBytes(ServerSock socket, Byte[] buffer, Int32 offset, Int32 count)

    No clue what it means though.
     
  4. Olink

    Olink Admin note: Actually a really nice person now

    Joined:
    Jul 21, 2011
    Messages:
    1,397
    Sigh, another person who cant read or search.
     
    • Like Like x 1
  5. Immortal-D

    Immortal-D Level 2

    Joined:
    Oct 5, 2013
    Messages:
    25
    I'm quite aware of the third line denoting TShockAPI, though searching only leads to threads from 2012 with devs spamming 'WARNING' across the entire post, lol. Perhaps you can direct me to aforementioned search I should be looking for.
     
  6. Tyson Strange

    Tyson Strange Level 5

    Joined:
    Jul 23, 2011
    Messages:
    107
    Tshock Api model

    hopefully its fixed in a stable tshock release, and yes, Its very annoying
     
  7. Olink

    Olink Admin note: Actually a really nice person now

    Joined:
    Jul 21, 2011
    Messages:
    1,397
    ??

    This deadlocking has nothing to do with tshock. It has everything to do with bad plugins.
     
    • Like Like x 1
  8. k0rd

    k0rd Tee Shawk Developer
    TShock Admin

    Joined:
    Dec 22, 2011
    Messages:
    438
    If you are experiencing deadlocks, remove plugins one by one until it is resolved. When you find the culprit, please contact the plugin author.
     
    • Like Like x 2
  9. IcyPhoenix

    TShock Contributor

    Joined:
    Jul 27, 2012
    Messages:
    367
    Deadlocking plugins I've come across:

    MarioE's TPA plugin
    Seconomy (not actually proven yet, thou debugger says its causing it - but async shouldn't deadlock)
     
  10. k0rd

    k0rd Tee Shawk Developer
    TShock Admin

    Joined:
    Dec 22, 2011
    Messages:
    438
    Seconomy's suspected issue is probably going to be tricky to track down as it is a pretty awesome plugin. Probably need to look at all threads to find out what is happening.
     
    • Like Like x 2
  11. Tyson Strange

    Tyson Strange Level 5

    Joined:
    Jul 23, 2011
    Messages:
    107

    Was perfectly stable prior to TShock 4.2
     
  12. k0rd

    k0rd Tee Shawk Developer
    TShock Admin

    Joined:
    Dec 22, 2011
    Messages:
    438
    thanks for the anecdote, feel free to play terraria 1.1.*
     
    • Like Like x 3
  13. k0rd

    k0rd Tee Shawk Developer
    TShock Admin

    Joined:
    Dec 22, 2011
    Messages:
    438
    And let me say, for the record, that wolfje does good work - if there is a problem with 4.2, and it is found to be a fault of tshock, he'll be able to communicate a proper bug report to us. Your insistence that it may have worked on previous versions is not helpful in the slightest.
     
    • Like Like x 2
  14. Olink

    Olink Admin note: Actually a really nice person now

    Joined:
    Jul 21, 2011
    Messages:
    1,397
    melonpoast was melon.

    K0rd has had a mono server running our latest code almost 24/7 since release. It has not deadlocked. It's probably safe to say that TShock is not the issue. Instead of making bad poasts trying to tell us that our melon code is wrong, prove it. Run your server with nothing but the TerrariaServer.exe we package and see if it happens again. If it doesnt toss in TShock.

    Assuming one of those did deadlock, it would point to the likely cause. Logs + what the server was doing when it happened (10 players online, specific commands being executed (/savessc)) would allow us to attempt to reproduce and find what threads are locked.

    If you won't do either, please refrain from more badpoasts because frankly it pisses devs off that you would make baseless claims and hide behind such comments.
     
    • Like Like x 2
  15. Tyson Strange

    Tyson Strange Level 5

    Joined:
    Jul 23, 2011
    Messages:
    107
    Duly noted. But you seem to be a pretty easy person to piss off.

    Probably just need to calm down a bit.

    I never said tShock's 49000 lines of else ifs was melon or that it was definately to blame for the deadlocks, just here looking for answers.
     
  16. Olink

    Olink Admin note: Actually a really nice person now

    Joined:
    Jul 21, 2011
    Messages:
    1,397
    Nope, I have no tolerence for banana filth that do nothing to help solve problems but whine and don't try to ever help themselves.
     
    • Like Like x 2
  17. k0rd

    k0rd Tee Shawk Developer
    TShock Admin

    Joined:
    Dec 22, 2011
    Messages:
    438
    If I asked you to post 49000 lines of else ifs, I'd look like an grapes.
    If you think you can do anything better, make a pull request.
     
    • Like Like x 2
  18. k0rd

    k0rd Tee Shawk Developer
    TShock Admin

    Joined:
    Dec 22, 2011
    Messages:
    438
    Also, inb4 you won't make a pull request, because you don't understand the years of thought that went into tshock.
     
    • Like Like x 1
  19. Olink

    Olink Admin note: Actually a really nice person now

    Joined:
    Jul 21, 2011
    Messages:
    1,397
     
    • Like Like x 2
  20. Tyson Strange

    Tyson Strange Level 5

    Joined:
    Jul 23, 2011
    Messages:
    107
    I understand it.

    That doesn't make it any less strung together.

    Plus, you devs say tshock revolves around it' plugin system. So how does an attitude of "It's not my bloody problem" help anyone?
     
Thread Status:
Not open for further replies.