All of a sudden today, one of my games is seg. faulting relatively randomly.
I’m no debugging expert, unfortunately, but I’ve pinpointed the problem
to the MikMod library. (At least, I THINK I’ve pinpointed it )
% gdb defendguin
(gdb) Starting program: /home/kendrick/defendguin/defendguin
[New Thread 1259 (manager thread)]
[New Thread 1258 (initial thread)]
[New Thread 1260]
[Switching to Thread 1260]
Program received signal SIGSEGV, Segmentation fault.
0x805fb7e in Player_HandleTick ()
I’ve done nothing to any of the MOD music files, and it doesn’t seem to be
related to any sound effects. The only code I added between the time it was
working and the time it started crashing was a few simple if/then bits,
nothing overly complicated or anything that could cause a seg. fault.
Any ideas?
Thanks!
-bill!