When I enter the game and try to load the "Silver Level" as the first level, it segfaults (after loading the entire level). Gdb output:
mainGameLoop [main.c:242] Map 0 Loaded
mainGameLoop [main.c:244] Flag num: 10
[Switching to Thread 5055]
Program received signal SIGSEGV, Segmentation fault.
0x8053e7c in mix_sound () at sound.c:213
213 int siz = mod[slot].header->ins[channel[c].sample].size;
#0 0x8053e7c in mix_sound () at sound.c:213
#1 0x8059208 in mod ()
#2 0x80553ca in play_thread (arg=0x0) at sound.c:787
#3 0x4002261d in pthread_start_thread (arg=0xbf7ffe60) at manager.c:213
If I load another level, and then load the "Silver Level", there are no problems.
Log in to post a comment.