Page 1 of 1
[Genhis][2.0.35] Crash placing stone brick (BuildCheckResult.cpp)
Posted: Mon Feb 24, 2025 12:26 am
by thesixthroc
A crash occurs in BuildCheckResult.cpp on Cerys versions 2.0.0 later.
Cerys creates a collision_layer called cerys_tile which is used for various purposes, one of which is to
prevent stone-brick from being placed on Cerys. This is somehow causing the game to to crash when placing stone brick with an enlarged placement cursor over a region containing two different tiles with different collision masks that both contain cerys_tile.
Repro: Install Cerys >2.0.0, go to map editor, place `cerys-shallow-water` and a Cerys rock tile e.g. `cerys-ash-cracks` next to each other, attempt to place stone brick over both, experience crash.
Re: [2.0.35] Crash in BuildCheckResult.cpp when placing stone brick
Posted: Mon Feb 24, 2025 12:27 am
by thesixthroc
Session log:
Code: Select all
25.541 Checksum for script __Cerys-Moon-of-Fulgora__/control.lua: 3122310195
69.414 Error CrashHandler.cpp:641: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
src/Util/StacktraceToStream.cpp (52): walkStackAndPrintToStream
src/Util/StacktraceToStream.cpp (60): printStacktraceToStream
src/Util/Logger.cpp (334): writeStacktrace
src/Util/Logger.cpp (379): logStacktrace
src/Util/CrashHandler.cpp (181): writeStackTrace
src/Util/CrashHandler.cpp (644): commonSignalHandler
src/Util/CrashHandler.cpp (652): SignalHandler
0x19af10183
src/Entity/BuildCheckResult.cpp (46): getMessage
src/Entity/BuildCheckResult.cpp (46): getMessage
src/Item/PlaceAsTile.cpp (137): checkAnyOfThePosition
src/ClientBuildContext.cpp (239): checkBuildTile
src/ClientBuildContext.cpp (58): build
src/ClientManualBuilder.cpp (31): build
src/Input/PlayerInputSource.cpp (2792): processBuild
/opt/libcxx16-macos10.10-11.0/lib/../include/c++/v1/__functional/function.h (510): operator()
/opt/libcxx16-macos10.10-11.0/lib/../include/c++/v1/__functional/function.h (1156): operator()
src/Input/ActionsTriggeredByInput.cpp (31): process
src/Input/PlayerInputSource.cpp (386): processEvent
src/MainLoop.cpp (0): processEvent
src/MainLoop.cpp (763): processEvents
src/MainLoop.cpp (604): prePrepare
src/MainLoop.cpp (684): mainLoopStep
src/MainLoop.cpp (413): run
src/Main.cpp (1356): fmain
src/Main.cpp (1378): main
Re: [2.0.35] Crash in BuildCheckResult.cpp when placing stone brick
Posted: Mon Feb 24, 2025 12:27 am
by Loewchen
Post the complete log of a session with the issue, see
3638.
Re: [2.0.35] Crash in BuildCheckResult.cpp when placing stone brick
Posted: Mon Feb 24, 2025 12:28 am
by thesixthroc
Complete session log.
Re: [Genhis][2.0.35] Crash placing stone brick (BuildCheckResult.cpp)
Posted: Thu Mar 06, 2025 7:53 am
by Genhis
Thanks for the report, this is fixed for 2.0.40.
Re: [Genhis][2.0.35] Crash placing stone brick (BuildCheckResult.cpp)
Posted: Mon Mar 10, 2025 9:16 pm
by thesixthroc
Thank-you!