3 ms·
I've once spent quite a few hours debugging a dangling pointer that wasn't zeroed after delete and was written to which might or might not have corrupted a piec
by baq 9y ago
I've once spent quite a few hours debugging a dangling pointer that wasn't zeroed after delete and was written to which might or might not have corrupted a piece of lua interpreter's state.
fixing that felt good. the preceding 24 hours, not so much.
- vvanders 9y agoYup. Data races are particularly nasty because any print statements or debug tracing can trigger a memory fence/reorder and make the problem disappear. Nothing more frustrating then adding a printf only to see the issue no longer manifest.