Back to shenjoku's profile
Dem bugs
Posted on: September 20, 2013, at 01:33:49am

Wasted over an hour today tracking down a stupid bug. We thought it was something wrong with the multi-threaded print code that I recently wrote, but it turns out it's something weird with ImageMagick. Apparently it's generating some exception when you don't have enough space on your hard drive to write out some image data, and then stomping all over some random memory causing a heap corruption that crashes in random locations later on in the program execution.

The more you know~