I don't understand how this is possible, but here it is.
I added some debug statements to each function in this file that just tells me when a function gets called.
In main(), right after some variables are defined, I have a DTRACE call that should print "In main()". However, when I run the program, "In main()" isn't printed first. What actually gets printed first is coming from a function that is called about 30-40 lines below my DTRACE statement.
I even added fflush( stdout ); to the end of my DTRACE() function just to see if that was the problem, but no luck.
This program really hates me...