Day: July 16, 2004

  • The Memory-Allocating Power of Prayer

    Nick’s 12-Step Guide to Fixing Mysterious Memory Errors Write some code and run it. Fail. Add a bunch of debug statements and rerun the code. Fail. Use GDB to find segmentation faults, bus errors, and bad access errors. Fail. Try to determine why GDB is setting breakpoints in functions that don’t exist. Fail. Curse GDB…