Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PeripheralAPI$PeripheralWrapper.queueEvent causing the server to hang forever #608

Open
AngryCarrot789 opened this issue Jun 14, 2021 · 3 comments

Comments

@AngryCarrot789
Copy link

AngryCarrot789 commented Jun 14, 2021

its a rare occasion (happens every few months), but sometimes the server simply stops responding. i made a plugin which prints out the server thread's stacktrace if the server thread stops responding for a few seconds, and this is what it was spitting out for over an hour:

image

im not sure if this is because the world is corrupting, but the only fix i found is to trial and error remove the last modified region files before the server restarted, until it restarts successfully, then i can just put those region files back one by one until i find the region that somehow hangs the server and then delete it. but that region probably contains someone's base so they wont be very happy

even after finding the region file, and loading it onto my other test server, it works perfectly fine on there. i pretty much have no clue whats causing this :( ive also tried messing around with the method profilers to pinpoint the exact tile entity location (TileEntityCable, from the stacktrace) that's causing it, but the server side apparently doesn't have that :(

i should say... this is a 1.6.4 server (tekkit main), using computercraft version 1.58, so maybe the issue has been fixed in later versions

edit: i think this might be caused by m_attached being checked but maybe thats being syncronized by the server thread so it just deadlocks

@AngryCarrot789
Copy link
Author

AngryCarrot789 commented Jul 12, 2021

heres some more info about the server thread:
image

and VisualVM gave a deadlock warning too

@vico93
Copy link

vico93 commented Jul 17, 2021

I don't think this mod is still supported... Only its forks, like CC:Tweaked or CC:Restitched (for Fabric), but none of them are for so early versions (like 1.6.4).

@Kan18
Copy link

Kan18 commented Jul 23, 2021

possibly related to SquidDev-CC/CCTweaks#116

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants