[1.1.62] Freezing in multiplayer

We are aware of them, but they have low priority. We have more important things to do. They go here in order not to take space in the main bug thread list.
Thebri
Burner Inserter
Burner Inserter
Posts: 11
Joined: Tue Aug 27, 2019 6:32 pm
Contact:

[1.1.62] Freezing in multiplayer

Post by Thebri »

Hi!

For the first time in my many years an thausands of hours in playing Factorio we had real issues yesterday.
After updating to 1.1.62 both my friend that were connected to me got the same problem multiple times in our 2 hour session:

Factorio on their side just froze up. They could not do anything other then using the task manager to close the game. Meanwhile they were beeing dropped from my game.

I can not give much more information and we have no bug reports or something.

Just a heads up.

Regards
Thebri
Thebri
Burner Inserter
Burner Inserter
Posts: 11
Joined: Tue Aug 27, 2019 6:32 pm
Contact:

Re: [1.1.62] Freezing in multiplayer

Post by Thebri »

After this happened today in single player to myself and a friend with different maps and mods installed I tried to investigate more.

Using Factorio 1.1.61 is fine
When using 1.1.62 or 1.1.63 and walking to or looking via map at a place where "nexelit powered accumulator MK1" from Pyanodons are placed the game is frozen instantly. But can not be closed normally, sounds are playing for a while and in the task manager there is no GPU module listed anymore, but in my machine 8% of processor power is still used by Factorio.exe
I am using the same mods and mod versions for all Factorio versions.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3024
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [1.1.62] Freezing in multiplayer

Post by boskid »

Description is quite accurate (except of specifying which exact mod from Pyanodons has this entity) so i was able to reproduce the issue in [1.1.63] with the following save file:
save file
1/ Sync mods with save
2/ Load
3/ Run time: a freeze will happen

From looking at where it freezes, it is something between SDL_Mixer library and vorbis library when trying to load a sound file __pyindustry__/sounds/accumulator.ogg
call stack
Thebri
Burner Inserter
Burner Inserter
Posts: 11
Joined: Tue Aug 27, 2019 6:32 pm
Contact:

Re: [1.1.62] Freezing in multiplayer

Post by Thebri »

Thank you for providing the save game - I was just working on making a small one myself.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14302
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.62] Freezing in multiplayer

Post by Rseding91 »

This is super weird, the audio plays fine in older versions of the game. But, what's even weirder is: when I try to play it in windows media player, or media player classic it won't play. All the other sounds from the mod play correctly just the one accumulator.ogg does not.
If you want to get ahold of me I'm almost always on Discord.
Thebri
Burner Inserter
Burner Inserter
Posts: 11
Joined: Tue Aug 27, 2019 6:32 pm
Contact:

Re: [1.1.62] Freezing in multiplayer

Post by Thebri »

I testes some more:

Foobar2000 is not playing the file accumulator.ogg either.
Ogginfo says

Code: Select all

Processing file "accumulator.ogg"...

New logical stream (#1, serial: 6e380078): type theora
New logical stream (#2, serial: e30f2e62): type vorbis
Theora headers parsed for stream 1, information follows...
Version: 3.2.1
Vendor: Lavf56.25.101
Width: 256
Height: 256
Total image: 256 by 256, crop offset (0, 0)
Framerate 90000/1 (90000,00 fps)
Pixel aspect ratio 1:1 (1,000000:1)
Frame aspect 1,000000:1
Colourspace unspecified
Pixel format 4:2:0
Target bitrate: 0 kbps
Nominal quality setting (0-63): 37
User comments section follows...
        title=
        DESCRIPTION=Cover (front)
        encoder=Lavc56.28.100 libtheora
        TIT1=Sound Ideas
        TOWN=The Library
        genre=INDUSTRY, POWER PLANT
        copyright=2014The Library
        publisher=Sound Ideas
        TIT3=All Sound Effects & Music are Copyright Sound Ideas - All Rights Reserved
        date=2014
        artist=The Library
        TOAL=www.sound-ideas.com
        TRACKNUMBER=0
        TLEN=117272
Vorbis headers parsed for stream 2, information follows...
Version: 0
Vendor: Lavf56.25.101
Channels: 2
Rate: 44100

Nominal bitrate: 160,000000 kb/s
Upper bitrate not set
Lower bitrate not set
User comments section follows...
        encoder=Lavc56.28.100 libvorbis
        TIT1=Sound Ideas
        TOWN=The Library
        genre=INDUSTRY, POWER PLANT
        copyright=2014The Library
        publisher=Sound Ideas
        TIT3=All Sound Effects & Music are Copyright Sound Ideas - All Rights Reserved
        date=2014
        artist=The Library
        TOAL=www.sound-ideas.com
        TRACKNUMBER=0
        title=IndustryPowerPlant TL04_60
        TLEN=117272
Theora stream 1:
        Total data length: 5430 bytes
        Playback length: 0m:00.000s
        Average bitrate: inf kb/s
Logical stream 1 ended
Vorbis stream 2:
        Total data length: 2307487 bytes
        Playback length: 1m:57.400s
        Average bitrate: 157,239197 kb/s
Logical stream 2 ended
I have no idea what this means...

But for testing purposes I just have deleted the file, copied accumulator-mk02.ogg to accumulator.ogg and now the freeze is gone.

I think the mod needs to be updated, but also Factorio should exit gracefully when encountering a broken sound file.

Rezipped everything and it works now.
lyvgbfh
Fast Inserter
Fast Inserter
Posts: 169
Joined: Fri Jul 10, 2020 6:48 pm
Contact:

Re: [1.1.62] Freezing in multiplayer

Post by lyvgbfh »

I've re-encoded the file and put a fixed version on the mod portal. It would still be good to see this treated as a regression, but at least now it should affect less users.
User avatar
BlueTemplar
Smart Inserter
Smart Inserter
Posts: 3139
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

Re: [1.1.62] Freezing in multiplayer

Post by BlueTemplar »

Link please ?

Looks like it might have been caused by the file also having a video stream ?

(And I wonder why only rare people get this issue ??)
BobDiggity (mod-scenario-pack)
User avatar
Gergely
Filter Inserter
Filter Inserter
Posts: 616
Joined: Sun Apr 10, 2016 8:31 pm
Contact:

Re: [1.1.62] Freezing in multiplayer

Post by Gergely »

Has anyone got any tips how to workaround this? When I try to convert (for example) one of the FLAC files in the Factorio Soundtrack, ffmpeg will generate the "video stream" of the (outdated) disc cover art even if video is explicitly disabled. VLC media player DOES read and display this video stream out of the file, so it could be helpful.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14302
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.62] Freezing in multiplayer

Post by Rseding91 »

Can you post a broken ogg so I can poke at it again?
If you want to get ahold of me I'm almost always on Discord.
User avatar
Gergely
Filter Inserter
Filter Inserter
Posts: 616
Joined: Sun Apr 10, 2016 8:31 pm
Contact:

Re: [1.1.62] Freezing in multiplayer

Post by Gergely »

Rseding91 wrote: Wed Jul 19, 2023 10:54 pm Can you post a broken ogg so I can poke at it again?
Here it is.
broken-ogg.zip
(1.58 MiB) Downloaded 91 times
Post Reply

Return to “Minor issues”