!!
I found something (no idea where it was) that pointed me to
/etc/openalrc.
I had some surround device as output device:
Code: Select all
# Use ALSA (also valid: sdl, native)
(define devices '(alsa))
# Four speaker surround with ALSA
(define speaker-num 2)
(define alsa-out-device "surround51:1,0")
# For ALSA-in support (ie. voice chat)
(define alsa-in-device "hw:1,0")
Notice "surround51:1,0" which was my faulty setting. I changed it to "hw:0,0" and now I can load the savegame and it does NOT crash after 5 seconds.
Small backtrace (no debug build): -- How do I actually build the debug version? (manually, not with the gentoo package) :'(
Code: Select all
(gdb) run
Starting program: /usr/local/bin/warzone2100 --savegame hehe1.gam --window
[Thread debugging using libthread_db enabled]
[New Thread -1224210736 (LWP 10723)]
ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '1'
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3947:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2146:(snd_pcm_open_noupdate) Unknown PCM surround51:1,0
[New Thread -1266242640 (LWP 10726)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1266242640 (LWP 10726)]
0xb7cf7751 in alDistanceModel () from /usr/lib/libopenal.so.0
(gdb) bt
#0 0xb7cf7751 in alDistanceModel () from /usr/lib/libopenal.so.0
#1 0x00000000 in ?? ()