Getting Segmentation Fault as soon as I start the game.
I compiled from source code and also had tried the general rpm Package.
I am running Fedora Core 5.
Please help...
Thanks
Valdes
[aaron@krypton ~]$ armagetronad
Segmentation fault
When Launching Armegtron I get Segmentation Fault
I am getting the same thing on FC6 (32 and 64 bit versions). If I disable sound, it will launch (set SOUND_QUALITY to 0 in ~/.armagetronad/var/user.cfg). I can enable sound once I am in the game, but it will not launch with this setting enabled. I played around with different settings for SDL_AUDIODRIVER, but if it is not "alsa", I get no sound at all, and with alsa I get the segfault.
I did the gdb trace as suggested in this topic, and here is the tail end of it:
New Thread 1084229952 (LWP 4924)]
[Thread 1084229952 (LWP 4924) exited]
[New Thread 1084229952 (LWP 4925)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912496304448 (LWP 4921)]
0x0000003c3b075510 in strlen () from /lib64/libc.so.6
(gdb) bt
#0 0x0000003c3b075510 in strlen () from /lib64/libc.so.6
#1 0x0000003808c2867b in open_file () from /usr/lib64/libSDL_mixer-1.2.so.0
#2 0x0000003808c318f1 in Timidity_Error () from /usr/lib64/libSDL_mixer-1.2.so.0
#3 0x0000003808c32388 in Timidity_Init () from /usr/lib64/libSDL_mixer-1.2.so.0
#4 0x0000003808c134fa in open_music () from /usr/lib64/libSDL_mixer-1.2.so.0
#5 0x0000003808c11fa0 in Mix_OpenAudio () from /usr/lib64/libSDL_mixer-1.2.so.0
#6 0x00000000004b3961 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<char*> ()
#7 0x000000000040963d in __cxa_pure_virtual ()
#8 0x0000003c3b01da44 in __libc_start_main () from /lib64/libc.so.6
#9 0x00000000004073c9 in __cxa_pure_virtual ()
#10 0x00007fffc49d6f28 in ?? ()
#11 0x0000000000000000 in ?? ()
I did the gdb trace as suggested in this topic, and here is the tail end of it:
New Thread 1084229952 (LWP 4924)]
[Thread 1084229952 (LWP 4924) exited]
[New Thread 1084229952 (LWP 4925)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912496304448 (LWP 4921)]
0x0000003c3b075510 in strlen () from /lib64/libc.so.6
(gdb) bt
#0 0x0000003c3b075510 in strlen () from /lib64/libc.so.6
#1 0x0000003808c2867b in open_file () from /usr/lib64/libSDL_mixer-1.2.so.0
#2 0x0000003808c318f1 in Timidity_Error () from /usr/lib64/libSDL_mixer-1.2.so.0
#3 0x0000003808c32388 in Timidity_Init () from /usr/lib64/libSDL_mixer-1.2.so.0
#4 0x0000003808c134fa in open_music () from /usr/lib64/libSDL_mixer-1.2.so.0
#5 0x0000003808c11fa0 in Mix_OpenAudio () from /usr/lib64/libSDL_mixer-1.2.so.0
#6 0x00000000004b3961 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<char*> ()
#7 0x000000000040963d in __cxa_pure_virtual ()
#8 0x0000003c3b01da44 in __libc_start_main () from /lib64/libc.so.6
#9 0x00000000004073c9 in __cxa_pure_virtual ()
#10 0x00007fffc49d6f28 in ?? ()
#11 0x0000000000000000 in ?? ()
Try installing timidity. 

Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN
Be the devil's own, Lucifer's my name.
- Iron Maiden
Be the devil's own, Lucifer's my name.
- Iron Maiden
That backtrace is the same as I was getting on the Mac OS X builds with sound enabled. This is a bug in Timidity, and it has nothing to do with Timidity not being installed. I reported it to SDL a few months ago — never got a response. Recently someone else reported it to SDL (and “cc”ed me). So they definitely know about it…