in reply to [maybe OT] What kind of bug was that? Non-deterministic result with C integer overflow?
My money is on this being an array bounds error in PDL's connected-component labeling routine. That's an interesting topic, check out the link.