<div dir="ltr">Kurt,<div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>With a 2 week old baby, my brain has been soggy. </div>
</div></blockquote><div><br></div><div>Congrats!</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>I do see the 3 threads here: <a href="http://lists.osgeo.org/pipermail/gdal-dev/2014-August/thread.html" target="_blank">http://lists.osgeo.org/pipermail/gdal-dev/2014-August/thread.html</a></div>
<div><br></div><div>The asan/msan/tsan tools are </div><div><br></div><div>asan - address sanitizer - <a href="https://code.google.com/p/address-sanitizer/" target="_blank">https://code.google.com/p/address-sanitizer/</a></div>
<div>msan - memory sanitizer - <a href="https://code.google.com/p/memory-sanitizer/" target="_blank">https://code.google.com/p/memory-sanitizer/</a></div>
<div>tsan - thread sanitizer - <a href="https://code.google.com/p/thread-sanitizer/" target="_blank">https://code.google.com/p/thread-sanitizer/</a></div><div><br></div><div><a href="http://llvm.org/devmtg/2012-11/Serebryany-ASAN-TSAN-Poster.pdf" target="_blank">http://llvm.org/devmtg/2012-11/Serebryany-ASAN-TSAN-Poster.pdf</a><br>
</div><div><a href="http://llvm.org/devmtg/2012-11/Serebryany_TSan-MSan.pdf" target="_blank">http://llvm.org/devmtg/2012-11/Serebryany_TSan-MSan.pdf</a><br></div><div><a href="http://llvm.org/devmtg/2013-11/slides/Serebryany-ASAN.pdf" target="_blank">http://llvm.org/devmtg/2013-11/slides/Serebryany-ASAN.pdf</a><br>
</div><div><br></div><div>I've been writing C++ tests for gdal/ports for the last year that use Google's gunit test framework and running the sanitizers on it. I've got it high on my todo list to get the tests that I've written pushed to github in Sept. It's taken me a lot longer to get done than I expected because of some internal changes to the CSV file handling (that I've never really figured out) between 1.10.0 and 1.11.0. I was hoping to have the tests working with 1.11.0 before I push them out to the world. And I need to create an RFC to get discussion on if / how to put the new test setup into gdal or refactor the whole deal to be a useful addition to gdal.</div>
<div><br></div><div>I haven't gotten the testing up to a level that would likely be useful to you, but I can try in a couple weeks when I'm back to normal work.</div><div><br></div><div>-kurt</div><div><br></div>
</div></blockquote><div> <br></div><div>Using some of these tools/tests would definitely make it easier to perhaps find issues with multi-threading with all the drivers. </div><div><br></div><div>Thanks,</div><div><br></div>
<div>Blake</div></div><br></div></div>