 <p>These problems have always been caused by:</p> <ol> <li>Memory Problems</li> <li>Threading Problems</li> </ol> <p>To solve the problem, you should:</p> <ul> <li>Instrument your code (Add log statements)</li> <li>Code Review threading</li> <li>Code Review memory allocation / dereferencing</li> </ul> <p>The code reviews will most likely only happen if it is a priority, or if you have a strong suspicion about which code is shared by the multiple bug reports. If it's a threading issue, then check your thread safety - make sure variables accessable by both threads are protected. If it's a memory issue, then check your allocations and dereferences and especially be suspicious of code that allocates and returns memory, or code that uses memory allocation by someone else who may be releasing it.</p>