 
            
            
            
            
                11 Nov
                
                    2014
                
            
            
                11 Nov
                
                '14
                
            
            
            
        
    
                10:40 p.m.
            
        On Tue, Nov 11, 2014 at 11:37 AM, Niklas Hambüchen 
Took me over a day to find, and it was just a 500 lines application.
More than a year, maybe two in my case, and was probably around 50k lines at the time, though only 1k in the FFI. It wouldn't show up in tests, except when it did, so I wrote all manner of special test frameworks to try to reproduce it reliably, nothing did. valgrind doesn't help with this kind of problem. I must have looked straight at the bad code a hundred times at least. Anyway it's a lesson I won't soon forget.