[Donion] [2.0.33] Crash with working_sound
Posted: Mon Feb 03, 2025 12:19 pm
Was trying to configure some electro-y sounds for a new machine im working on, and i noticed when trying to decrease the pauses between each sound (still haven't figured those out btw, i want them to spam/overlap) by trying to increase the probability above 1 but did that one level too high and got this crash:
Which seems to happen when you have like probability or random keys on a main sound that has nested sounds:
Steps to reproduce:
- install this mod (from zip, but its dependencies from the portal)
- /cheat
- place the quality condenser (2nd tab, right of the furnaces)
- place any item in the container (selection box near its edge)
- wait 3 seconds
- crash to desktop
Code: Select all
16.261 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
0x1b419f4a3
src/Sound/SDL/SoundInstanceSDL.cpp (48): play
src/Sound/EntityWorkingSound.cpp (136): startPlayingActive
src/Sound/EntityWorkingSound.cpp (94): startPlayingActive
src/Sound/EntityWorkingSound.cpp (571): update
src/Sound/EnvironmentSoundPlayer.cpp (249): updateEnvironmentSounds
src/Sound/EnvironmentSoundPlayer.cpp (237): updateSounds
src/Sound/EnvironmentSoundPlayer.cpp (145): update
src/Game.cpp (332): prepareRender
src/MainLoop.cpp (1143): prepare
src/MainLoop.cpp (706): mainLoopStep
src/MainLoop.cpp (412): run
src/Main.cpp (1357): fmain
src/Main.cpp (1379): main
Stack trace logging done
Code: Select all
crafter_entity.working_sound.main_sounds["foo"] = "bar"
crafter_entity.working_sound.main_sounds.probability = 2
-- crafter_entity.working_sound.main_sounds[1].sound.volume = 2
-- crafter_entity.working_sound.main_sounds[2].sound.volume = 2
- install this mod (from zip, but its dependencies from the portal)
- /cheat
- place the quality condenser (2nd tab, right of the furnaces)
- place any item in the container (selection box near its edge)
- wait 3 seconds
- crash to desktop