-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Could not write to env_meta.txt on Windows #14619
Comments
seems like the usual corrupt env_meta.txt file, close/stop minetest, delete the file, and re start the world |
(Note that sfan5's build path has nothing to do with this; it's just used for the debug info, probably because sfan made the build.) |
Thank you, @wsor4035 & @appgurueu! As I understand from looking up the use of the file, env_meta.txt contains global variables. Wouldn't that possibly break something in the game if I delete the file and restart the world? This is the content of the file in the world I encountered the game crash in:
Today I got two more crashes with the same error message. Is this maybe related to the second line in the file? Maybe the syntax is off? Should |
Yes. I'd recommend backing up the world. As you can see in your example though, what it stores is quite limited (time, some LBM related info); often it's possible to delete it without issues. This depends on the game though. I don't know if this would cause any issues in Mineclonia. I don't think the syntax is wrong. The ABMs probably are registered using names starting with a leading colon. (Probably someone assumed that the same conventions / requirements as for nodenames were enforced here, which is not quite the case.) So indeed deleting it is a "last resort" and a dirty hack; "repairing" it would be a preferable solution, if possible.
Most probably unrelated to Mineclonia. I don't know what causes this, but as the error message suggests, it is most probably an issue with saving this file. I don't know what that would be caused by, but there are a plethora of possible reasons, many out of Minetest's control. Have you ensured that you're not running out of disk space, that the drive the world resides on is mounted, that Minetest has sufficient permissions, that there's no AV or similar interfering (note: I don't think AV programs will always tell you when they interfere), etc.? You could try using something like x64dbg to debug this (disclaimer: I'm not very familiar with debugging on Windows). |
It would be useful if you could go here, download the "mingw64" artifact and try to reproduce the same errors. |
Minetest version
Irrlicht device
No response
Operating system and version
Windows Version 10.0.19045 Build 19045
CPU model
Intel(R) Core(TM) i3 CPU 530 @ 2.93GHz
GPU model
NVIDIA GeForce GTX 1050 Ti
Active renderer
OpenGL 4.6.0
Summary
Minetest crashed when playing a single player game with a world I already played a lot of hours without any crashes.
The world has no other mods as the latest Mineclonia game version. I already played for months with the newest Minetest version and for weeks with the newest Mineclonia version (0.99.0) without this error or other crashes occurring. The error seems to be produced by the engine and not the game, this is why I am reporting this here.
On the SDD there is enough free space (170 GB), I did not change any permissions for the path. As virus protection, I use the internal MS Windows one, there was no report of any blocking.
Maybe this is due to the hardcoded path
/home/stefan/mt-build/build/64/minetest/
which does not correspond to my Minetest path at all.Steps to reproduce
This was unexpected, as I did nothing unusual at that time.
The text was updated successfully, but these errors were encountered: