I ordered chinese food tonight. First thing I did was spill wonton soup all over the place. The laws of causality must have been working in reverse, because I ordered an extra wonton soup for when this happened. Though I didn't think that at the time.
* * *
Program received signal SIGTRAP, Trace/breakpoint trap.
0x489c4 in MoodsFree (list=0x26a8) at Moods.c:396
#0 0x489c4 in MoodsFree (list=0x26a8) at Moods.c:396
#1 0x47524 in StopApplication () at Handhelj.c:194
#2 0x475e2 in PilotMain (cmd=0, cmdPBP=0x0, launchFlags=142) at Handhelj.c:236
A break! Finally, a fucking break! I've been working on this bug for soooo long, and gdb finally is able to give me a lead! (heh, the endpart of Duel of the Fates happens to be playing right now)
Was I on crack when I designed this mood system thing? Maybe 'designed' isn't the right word...
I have found and destroyed the bug, at any rate. Sanity checks. Now it has turned into two memory leaks, according to POSE. They will also be found and destroyed. Unfortunately, POSE says that information about those leaks can be found in the logfile. But I can't find the logfile :P