Closed nightpool closed 11 months ago
It’s not a deadlock. That’s what the code path vanilla structure placement logic continuously runs through as it tries to locate a structure.
supplementaries is trying to locate an rs structure and is taking too long for whatever reason. Looks more like a supplementaries issue as if it was RS’s code running, RS generates its own map trades asynchronously to not lock up the server. supplementaries does not do it asynchronously and seems to be the own doing the locating here instead. RS is not at fault.
@nightpool Please update supplementaries to latest and try again. The issue should be resolved now on their end. I'll close automatically if I don't hear back in a week
Thanks for the update! I'll try it out. Do you have a link to a commit/PR for reference?
On Wed, Nov 29, 2023, 9:00 PM TelepathicGrunt @.***> wrote:
@nightpool https://github.com/nightpool Please update supplementaries to latest and try again. The issue should be resolved now on their end. I'll close automatically if I don't hear back in a week
— Reply to this email directly, view it on GitHub https://github.com/TelepathicGrunt/RepurposedStructures/issues/313#issuecomment-1833030832, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABZCV3T5CLJRSONFSPQK3LYG7ZDFAVCNFSM6AAAAAA72TN7H2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZTGAZTAOBTGI . You are receiving this because you were mentioned.Message ID: @.***>
I don’t have any links on hand. I assumed the map stuff changelog update was it. I did already let the dev know and he was working on fixing the issue as it seemed he might had missed a condition that should’ve avoided the issue. It could also be that it is loading village tagged structure but his system located all structures in that tag. And since rs has nether villages, it could be stuff looking for nether villages in overworld. Or it could also be taking too long to find all the overworld villages as some are very rare like badlands or mushroom or so.
Makes sense! Thanks for the detailed explanation
On Thu, Nov 30, 2023 at 7:30 AM TelepathicGrunt @.***> wrote:
I don’t have any links on hand. I assumed the map stuff changelog update was it. I did already let the dev know and he was working on fixing the issue as it seemed he might had missed a condition that should’ve avoided the issue. It could also be that it is loading village tagged structure but his system located all structures in that tag. And since rs has nether villages, it could be stuff looking for nether villages in overworld. Or it could also be taking too long to find all the overworld villages as some are very rare like badlands or mushroom or so.
— Reply to this email directly, view it on GitHub https://github.com/TelepathicGrunt/RepurposedStructures/issues/313#issuecomment-1833683717, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABZCV7KG7V246SLZ3QWRJDYHB35VAVCNFSM6AAAAAA72TN7H2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZTGY4DGNZRG4 . You are receiving this because you were mentioned.Message ID: @.***>
Looks like supplementary made a commit that will change their map logic to pick one structure from a structure tag to find instead of trying to find all entry. Should reduce their map load times https://github.com/MehVahdJukaar/Supplementaries/commit/2cfda0ab5c26aea75c647ce0895ff8c13e27d039
Closing as supplementary got a solution to resolve their map times
not quite as good as doing it in a background thread but hopefully it won't trigger the watchdog anymore
On Fri, Dec 1, 2023 at 7:37 PM TelepathicGrunt @.***> wrote:
Looks like supplementary made a commit that will change their map logic to pick one structure from a structure tag to find instead of trying to find all entry. Should reduce their map load times @.*** https://github.com/MehVahdJukaar/Supplementaries/commit/2cfda0ab5c26aea75c647ce0895ff8c13e27d039
Closing as supplementary got a solution to resolve their map times
— Reply to this email directly, view it on GitHub https://github.com/TelepathicGrunt/RepurposedStructures/issues/313#issuecomment-1836984101, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABZCV5VZLRYXFLGODU7QOLYHKA4ZAVCNFSM6AAAAAA72TN7H2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZWHE4DIMJQGE . You are receiving this because you were mentioned.Message ID: @.***>
The server crashed while trying to generate a new map for a villager trade:
Full crash report here: https://gist.github.com/nightpool/d9c13afc7388eab99a7097ba91132122
The proximate cause seems to be a deadlock between calling ChunkRandom#setSeed in two different threads at the same time