Entity working sound causes hard freeze

Things that has been reported already before.
Post Reply
lyvgbfh
Fast Inserter
Fast Inserter
Posts: 165
Joined: Fri Jul 10, 2020 6:48 pm
Contact:

Entity working sound causes hard freeze

Post by lyvgbfh »

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.
Attachments
factorio-current.log
freeze on 1.1.69
(20.12 KiB) Downloaded 32 times
factorio-current.log
freeze on 1.1.64
(20.14 KiB) Downloaded 34 times
factorio-current.log
no freeze on 1.1.61
(21.49 KiB) Downloaded 34 times
pyindustry-sound-freeze.zip
Sync and load this save.
(562.04 KiB) Downloaded 33 times
Last edited by lyvgbfh on Sun Sep 25, 2022 6:51 am, edited 2 times in total.

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2227
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [1.1.64?-1.1.69] Entity working sound causes hard freeze

Post by boskid »


lyvgbfh
Fast Inserter
Fast Inserter
Posts: 165
Joined: Fri Jul 10, 2020 6:48 pm
Contact:

Re: [1.1.64?-1.1.69] Entity working sound causes hard freeze

Post by lyvgbfh »

boskid wrote:
Sat Sep 24, 2022 1:26 pm
102991
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.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13171
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Entity working sound causes hard freeze

Post by Rseding91 »

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.

Post Reply

Return to “Duplicates”