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
Segfault in Map::getSectorNoGenerateNoLock whilst pathfinding #13837
Comments
Note: I tried switching from master to 5.7.0 and it still hapens... |
Hi, we need to get the output of the debugger to work out where it's crashing. To do this, include
When it crashes, type |
it told me
|
also I think it is caused by forgotten_monsters cause after disabling it it seams it stopped stopping server... |
I runned same world in singleplayer and it seams to run just fine... |
You need to have GDB installed inside the docker container |
is it mod or apt install gdb ? |
GDB is the GNU debugger. |
cause minetest dockerfile is based on alpine I found I needed to use |
I got result |
also it seams to disappear when I disable mod/modpack |
@rubenwardy I need to ask was it necessary to edit my msg? I mean now it takes more space... no offence |
It's better than to take more space than to hide the actual segfault message. Really, it could even be added the opening post |
hm... ok |
GitHub limits the length and adds a scrollbar |
I can agree on that... Summary Goes Here...this is hidden, collapsable content...
|
Looks like GitHub only limits the length on Desktop, and not on mobile, so I'll reduce the length |
A few observations:
Interestingly this error only happens after approx. 700 iterations, what makes me wonder whether this might be an issue related to async. Would you please be so nice to provide the output of |
erm I need to build custom image for this...
how to run gdb ? I mean what args if I run it as comand |
I tried this cmd:
And got:
|
Also I might be wrong but I think it occurs at specific time of day... gona check it |
I was able to get server to crash in about 3 minutes 3 times in server time hours between 21-23 |
This is a simple stack overflow just like #7132 (in fact our containers use Alpine too). |
Alright, so the best fix would probably be to convert the recursive implementation into an iterative one, manually managing the stack? |
possible fixes:
|
Minetest version
Operating system and version
Linux server - docker
Summary
My server self closes without any info why it happens
I run minetest using docker compose file that looks like this
Server world config
world.txt
Server debug log
debug.txt
The part I mean is
at this point I get
Access denied. Connection timeout.
and I think it might be related to docker downloading dev version (I fought it would download stable version as I was following production server setup for docker part of running server)
Also running server with --verbose does not change anything, it still looks similar to log
GDB Output
Steps to reproduce
Not sure...
The text was updated successfully, but these errors were encountered: