VG_(thread_get_stack_max) does not always report the correct stack boundary. This cases race detectors (helgrind, ThreadSanitizer, potentially drd) to report false warnings on thread-local variabels and on stack memory. The detailed discussion is here: http://sourceforge.net/mailarchive/message.php?msg_name=59e975c10903300617l35309eb2vfda1e3a95e7132fb%40mail.gmail.com