-
Notifications
You must be signed in to change notification settings - Fork 34
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
Strange behavior under linux #60
Comments
it may be caused by you loading maps on initialized turfs without setting the turfs to sleep. are you sure this is a linux-only bug? you'll need to get the stack trace by attaching gdb to dreamdaemon and pause whenever it deadlocks. i can't help much without the actual stack trace (also need the stack trace on all the active threads, not just one). |
Could also be __detect_auxtools still sucking for linux |
@jupyterkat here is backtrace with latest https://github.com/BeeStation/auxmos on the https://github.com/frosty-dev/white |
probably related to this Amanieu/parking_lot#212 |
i know that's the issue, but your backtrace provides me with nothing useful, i said backtrace on all the threads? |
sorry, here is it |
https://github.com/out-of-phaze/auxmos/releases/tag/v2.3.0-nonthreaded-resize |
This one works perfectly, no runtimes about atmos and no deadlocks. Neat. I forgot to check if atmos works at all, but I hope it does. |
I tested it locally, gases moved properly, burned properly, and I didn't suffocate to death on spawning in. Planetary atmos also appeared to work. |
So, now it crashes on prod just because after a while, when this runtime appears:
I'll try to reproduce this also. |
Right, entirely possible that I botched the modification in some subtly broken way. Literally all I did was move it out of a task and into the main thread, so maybe some references held by other threads are getting lost in the shuffle when the gas mixtures vector resizes? |
So, no crashes for about two weeks. I think it's probably fixed for linux? |
Hi, it's Ubuntu 20.04 here, let's start.
Everything works as it should until the moment when DreamDaemon goes into deadlock. Spontaneously, even if there is no mapload happens, however loading of maps (I mean creation of new z-levels or changing turfs to space and back) can speed up encounter of this.
Hangup occurs without any runtimes and crashes. Nothing happens at all, the server just freezes tightly with 0 cpu load and same memory usage (about 1500 megs, but sometimes more, sometimes less). SIGUSR2 also doesn't work, but it should display backtrace and other info into DD output, what means it is completely dead. So, SIGBUS on DD works though and all I could get in log from it was this information:
Backtrace after loading 15 gateways:
Another backtrace log looks same and blames on
/datum/gas_mixture/New
too, but that happened without gateway spam loading, just during normal round.Yes, I tried to use different auxmos revisions after 2.0.0 on 514.1575, 1583 and 1585 with some modifications, but with similar result as above.
Maybe it's also because we don't use the reactions hook, only "katmos", but the old version on the commit 91708eb5cf289f2176630ab168d7d4f9da830523 works without any hangups on 514.1575. On version 514.1589 works the same, though after adding crutches to the old library, maybe it will be useful for someone: https://github.com/frosty-dev/auxmos/tree/assblast
Since I could not find a working server on the latest version, I decided to use the code from several repositories using this library, for example:
yogstation13/Yogstation#13479;
Citadel-Station-13/Citadel-Station-13#15864;
https://github.com/BeeStation/BeeStation-Hornet - we use supercruise from them since extools which creates funny crashtest for atmos;
Our repo with latest auxmos is: https://github.com/frosty-dev/white/tree/0945d9327a82e160cab7a34f1f6336a652916f0a
Our auxmos (changed auxtools repo to mothblocks pr for 1588+ sigs compatibility): https://github.com/frosty-dev/auxmos
I don’t know, maybe we have too shitty code, but still I thought it right to report at least something, maybe this will help you.
Any auxmos revisions works as expected on Windows, tbh.
The text was updated successfully, but these errors were encountered: