Hello,
I was submitted a bug report from a user stating that his game was freezing "on input" from a save that used to work. On further investigation, I found that it happened when his character/camera hearing range passed a certain entity that was actively working (pyindustry's accumulator-mk01).
Below are the steps to recreate this issue:
1. Sync and load the provided save with PyIndustry 1.5.2 (problematic audio file was replaced in 1.5.3)
2. Unpause time
Optional:
3. Sync and load the provided save after launching the game with --disable-audio
4. Unpause time
5. Observe lack of freezing
Thanks again for including the debug symbols with the game, this made tracking this down so much easier.
Entity working sound causes hard freeze
Entity working sound causes hard freeze
- Attachments
-
- factorio-current.log
- freeze on 1.1.69
- (20.12 KiB) Downloaded 52 times
-
- factorio-current.log
- freeze on 1.1.64
- (20.14 KiB) Downloaded 59 times
-
- factorio-current.log
- no freeze on 1.1.61
- (21.49 KiB) Downloaded 56 times
-
- pyindustry-sound-freeze.zip
- Sync and load this save.
- (562.04 KiB) Downloaded 54 times
Last edited by lyvgbfh on Sun Sep 25, 2022 6:51 am, edited 2 times in total.
Re: [1.1.64?-1.1.69] Entity working sound causes hard freeze
Thanks, that hadn't come up in my search. I'd also like to note this doesn't happen with the audio backend set to allegro.
Re: Entity working sound causes hard freeze
All of the audio files that have had this issue have had a video stream imbedded into the file as the first audio stream. As far as I've seen; a video stream in an ogg is not a valid ogg file.
If you want to get ahold of me I'm almost always on Discord.