3DS Exporter

I’m having a hard time debugging this, because I can’t make it crash reliably (I keep finding myself saying: Why won’t it crash!!)

If anyone knows a procedure to cause it to crash, or has a file that it crashes reliably on, let me know.

I’ve got a for loop running 500 times per export… and still, its not reliably crashing within that 500 times. I’ve also noticed that adding data to the stack makes it less likely to crash… At this point I may just disable the logging system, as it still seems like thats the cause of things.

Josh, I know you said it looked like the parser, but I’m not seeing it. It could be that when I’m disabling the logging, that I’m removing memory portions that we doing the over-writes, or being over-written. The problem is: it simply works without the logging enabled… and I can’t see why. I’m fine pulling the plug on the logging, but I’m afraid that may not be it, and this may happen again later.