21
Fast-Nop
11d

Uh-oh shit went wrong with umpteen thousand jobs in a pointer heavy, multi-threaded application in raw C. Fuck, some pointer gone wild?!

30 minutes later, after trying to find out how many jobs it takes to start failing. Noticed that it's about the default settings. Wait what? That's where the realloc'ing should kick in, check that.

Aahhhh. Maybe I shouldn't zero the whole buffer after realloc, just the new part. D'uh!

Comments
Add Comment