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

Factorio crash and mapshot does not exit #45

Open
antgeo opened this issue Sep 22, 2024 · 2 comments
Open

Factorio crash and mapshot does not exit #45

antgeo opened this issue Sep 22, 2024 · 2 comments

Comments

@antgeo
Copy link

antgeo commented Sep 22, 2024

Factorio version 1.1.110, No mods
Mapshot version 0.0.22
Running in a ubuntu:22.04 container

Factorio crashes and mapshot hangs.

31.281 Script @mapshot/control.lua:132: Mapshot: all screenshots started, might take a while to render; location: mapshot/mysave/d-6f6cf85b/
253.261 Script @mapshot/control.lua:356: marking as done @11357086
I0922 02:19:38.675826 731 factorio.go:139] interrupt requested
254.125 Received SIGINT, shutting down
I0922 02:19:38.675593 731 render.go:199] done file "/root/factorio/script-output/mapshot-done-d577810c-fdf3-47b8-904d-3534d5b0df4f" now exists
I0922 02:19:38.676602 731 render.go:205] output at mapshot/mysave/d-6f6cf85b/
Output: /root/factorio/script-output/mapshot/mysave/d-6f6cf85b
I0922 02:19:38.677073 731 render.go:210] removed done-file "/root/factorio/script-output/mapshot-done-d577810c-fdf3-47b8-904d-3534d5b0df4f":
254.180 Quitting: signal.
254.529 Error CrashHandler.cpp:639: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
/tmp/factorio-build-GWejqv/src/Util/Logger.cpp (336): Logger::writeStacktrace(FileWriteStream*, StackTraceInfo*) [clone .constprop.0]
/tmp/factorio-build-GWejqv/src/Util/CrashHandler.cpp (188): CrashHandler::writeStackTrace(CrashHandler::CrashReason)
/tmp/factorio-build-GWejqv/src/Util/CrashHandler.cpp (642): CrashHandler::commonSignalHandler(int)
/tmp/factorio-build-GWejqv/src/Util/CrashHandler.cpp (648): CrashHandler::SignalHandler(int)
0x7fdac1cee51f
/tmp/tmp.AizlpDmMs1/objdir/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/shared_ptr_base.h (337): std::_Sp_counted_ptr<decltype(nullptr), (__gnu_cxx::_Lock_policy)2>::_M_dispose()
Stack trace logging done
254.868 Error Util.cpp:100: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.

@Palats
Copy link
Owner

Palats commented Sep 22, 2024

Sorry, I won't be able to follow up for a while here. That being said, would you mind sharing the exact command line you've used?

Fwiw - the shutdown of Factorio from Mapshot binary never worked well, as it is tricky to get right. I suspect in container it makes it behaves also slightly differently. From what I see in the log above, that should not prevent Mapshot from working (the render has been done), it is just shutting down not so cleanly.

@antgeo
Copy link
Author

antgeo commented Sep 22, 2024

Thanks yes it renders. Command was xvfb-run ./mapshot-linux render mysave --tilemin 16 --logtostderr --factorio_verbose

I'll wrap it in a timeout for now.

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

2 participants