#Game crashes unpredictably when loading a scene that contains a AudioStreamPlayback

6 messages · Page 1 of 1 (latest)

vivid lodge
#
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x3c050) [0x7fa71cde7050] (??:0)
[2] /home/master/src/godot/godot-4.4.1-stable/bin/godot.linuxbsd.editor.x86_64(+0x5740c4d) [0x55a884660c4d] (??:?)
[3] /home/master/src/godot/godot-4.4.1-stable/bin/godot.linuxbsd.editor.x86_64(+0x304d652) [0x55a881f6d652] (/home/master/src/godot/godot-4.4.1-stable/./core/variant/binder_common.h:242)
[4] /home/master/src/godot/godot-4.4.1-stable/bin/godot.linuxbsd.editor.x86_64(+0x535e835) [0x55a88427e835] (/home/master/src/godot/godot-4.4.1-stable/./core/variant/variant.h:325)
[5] /home/master/src/godot/godot-4.4.1-stable/bin/godot.linuxbsd.editor.x86_64(+0x503e17a) [0x55a883f5e17a] (/home/master/src/godot/godot-4.4.1-stable/./core/variant/variant.h:325)
[6] /home/master/src/godot/godot-4.4.1-stable/bin/godot.linuxbsd.editor.x86_64(+0x5357282) [0x55a884277282] (/home/master/src/godot/godot-4.4.1-stable/core/object/message_queue.cpp:221)
[7] /home/master/src/godot/godot-4.4.1-stable/bin/godot.linuxbsd.editor.x86_64(+0x5357676) [0x55a884277676] (/home/master/src/godot/godot-4.4.1-stable/core/object/message_queue.cpp:268)
[8] /home/master/src/godot/godot-4.4.1-stable/bin/godot.linuxbsd.editor.x86_64(+0x72335c) [0x55a87f64335c] (/home/master/src/godot/godot-4.4.1-stable/main/main.cpp:4534)
[9] /home/master/src/godot/godot-4.4.1-stable/bin/godot.linuxbsd.editor.x86_64(+0x685cf1) [0x55a87f5a5cf1] (/home/master/src/godot/godot-4.4.1-stable/platform/linuxbsd/os_linuxbsd.cpp:980)
[10] /home/master/src/godot/godot-4.4.1-stable/bin/godot.linuxbsd.editor.x86_64(+0x655907) [0x55a87f575907] (/home/master/src/godot/godot-4.4.1-stable/platform/linuxbsd/godot_linuxbsd.cpp:85)
[11] /lib/x86_64-linux-gnu/libc.so.6(+0x2724a) [0x7fa71cdd224a] (??:0)
[12] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7fa71cdd2305] (??:0)
[13] /home/master/src/godot/godot-4.4.1-stable/bin/godot.linuxbsd.editor.x86_64(+0x683391) [0x55a87f5a3391] (??:?)
-- END OF BACKTRACE --
#

It's difficult to reproduce because it happens randomly, but I suspect that it is audio-related

#

The AudioStreamPlayback has an AudioStreamGenerator as a source, I generate samples at runtime and play them using the AudioStreamPlayback

#

I found one GitHub issue with more or less the same problem which also seemed to be caused by AudioStreamGenerator but otherwise not much luck finding information about this online

#

Any ideas? The stack trace doesn't give much information either

#

Actually, using a custom build instead of a binary downloaded from the website seems to make the crashes predictable, for some reason