I downloaded this mod, https://mods.factorio.com/mod/world-wide-music.
But game start crashing when it about to play new track, in a middle of game session.
When crash occur I get crash message window, but game continues to work normally, I can play/save/exit, except music is gone.
I do not know how reliably force game to crash, because what song will play next is random.
I need help in narrowing down what song I have problem with.
Question: How to print in log file what song about to be played/start playing?
Or how can I force game to play exact song name via console command?
[2.0.69] Crash when ambient music changes (QueuedSoundInstanceSDL::queueSample)
- WhiteDragon
- Burner Inserter

- Posts: 5
- Joined: Wed Oct 15, 2025 10:26 am
- Contact:
[2.0.69] Crash when ambient music changes (QueuedSoundInstanceSDL::queueSample)
- Attachments
-
- factorio-previous.log
- (46.59 KiB) Downloaded 22 times
-
- Error.jpg (59.28 KiB) Viewed 396 times
Re: [2.0.69] Game crash when ambient music changes.
Hello,
according to the mod discussion: https://mods.factorio.com/mod/world-wid ... 1edb2b0bc3
the mod is currently broken on latest version of the game due to some files being renamed.
Use one of the different mods mentioned in the discussion.
I will add more checking so this kind of issue will be detected at load time and clearly communicated, in some future version.
according to the mod discussion: https://mods.factorio.com/mod/world-wid ... 1edb2b0bc3
the mod is currently broken on latest version of the game due to some files being renamed.
Use one of the different mods mentioned in the discussion.
I will add more checking so this kind of issue will be detected at load time and clearly communicated, in some future version.
- WhiteDragon
- Burner Inserter

- Posts: 5
- Joined: Wed Oct 15, 2025 10:26 am
- Contact:
Re: [2.0.69] Game crash when ambient music changes.
The error from discussion I have fixed locally, by reducing sound_variations(spaceAgePath .. "/sound/ambient/aquilo/aquilo-10/aquilo-10-a", 19, 1.0) from 19 to 14.
I will try another mod, thanks.
I will try another mod, thanks.
Re: [2.0.69] Game crash when ambient music changes.
There was at least one other rename. In any case I'll investigate to confirm the crash.
Re: [2.0.69] Crash when ambient music changes (QueuedSoundInstanceSDL::queueSample)
I was actually unable to reproduce the crash as I was expecting yet.
Can you clarify couple of things?
The change from 19 to 14 was done before or after the crash? And did it change anything?
Do/did you have Space Age mod enabled?
Sidenote: while troubleshooting this I've noticed the aquilo-10 track definition has a mistake. It shouldn't crash the game but the track doesn't play as it should one of its layers.
Can you clarify couple of things?
The change from 19 to 14 was done before or after the crash? And did it change anything?
Do/did you have Space Age mod enabled?
Sidenote: while troubleshooting this I've noticed the aquilo-10 track definition has a mistake. It shouldn't crash the game but the track doesn't play as it should one of its layers.
- WhiteDragon
- Burner Inserter

- Posts: 5
- Joined: Wed Oct 15, 2025 10:26 am
- Contact:
Re: [2.0.69] Crash when ambient music changes (QueuedSoundInstanceSDL::queueSample)
I change from 19 to 14 before crash, otherwise game just do not load, due mod error.
Before change I was getting same message as in discussion https://mods.factorio.com/mod/world-wid ... 1edb2b0bc3
I do not have SA enabled, but I bought it on Steam, just like base game.
I will check all music separately, unlit I find exact song I have problem with.
Before change I was getting same message as in discussion https://mods.factorio.com/mod/world-wid ... 1edb2b0bc3
I do not have SA enabled, but I bought it on Steam, just like base game.
I will check all music separately, unlit I find exact song I have problem with.
Re: [2.0.69] Crash when ambient music changes (QueuedSoundInstanceSDL::queueSample)
Got it, thanks for the details.
You can enable the show-detailed-info debug (press F4) option. There is a line saying which track is currently playing and if the game keeps going after the crash like you mentioned in your first post, maybe you could catch which track caused the crash.
That being said, after looking into it, it's crashing in a place that doesn't make sense to me, it just shouldn't get to such situation and I didn't see anyone else with the same crash in our crash logs. I'll keep looking but currently I don't have the root cause.
You can enable the show-detailed-info debug (press F4) option. There is a line saying which track is currently playing and if the game keeps going after the crash like you mentioned in your first post, maybe you could catch which track caused the crash.
That being said, after looking into it, it's crashing in a place that doesn't make sense to me, it just shouldn't get to such situation and I didn't see anyone else with the same crash in our crash logs. I'll keep looking but currently I don't have the root cause.
- WhiteDragon
- Burner Inserter

- Posts: 5
- Joined: Wed Oct 15, 2025 10:26 am
- Contact:
Re: [2.0.69] Crash when ambient music changes (QueuedSoundInstanceSDL::queueSample)
I think I found source of my problem, gleba-11-bb-2 and 5.
When I tried to open them with windows media player, I had a message "encoding error".
My guess is when ambient music was updated, it was in July I think, I had error with download and some files got corrupted.
So, I deleted all songs and redownloaded them, "encoding error" is gone and I did not crash yet, but it's hard to be sure, due how random crash was.
When I tried to open them with windows media player, I had a message "encoding error".
My guess is when ambient music was updated, it was in July I think, I had error with download and some files got corrupted.
So, I deleted all songs and redownloaded them, "encoding error" is gone and I did not crash yet, but it's hard to be sure, due how random crash was.
- WhiteDragon
- Burner Inserter

- Posts: 5
- Joined: Wed Oct 15, 2025 10:26 am
- Contact:
Re: [2.0.69] Crash when ambient music changes (QueuedSoundInstanceSDL::queueSample)
I wish I knew that before I did my tests)Donion wrote: Fri Oct 17, 2025 5:27 pm You can enable the show-detailed-info debug (press F4) option. There is a line saying which track is currently playing and if the game keeps going after the crash like you mentioned in your first post, maybe you could catch which track caused the crash.
