Arun, This commit:
commit 32202619c42f58a9dac6eee3b9a4c231f1ce394a Author: Arun Sharma <[email protected]> Date: Sat Aug 4 17:58:24 2012 -0700 Fix a test failure The test contains hints to users of unw_backtrace() and friends on how to ensure correctness in a multi-threaded program is (IMHO) misguided. The original intent of the test was to prove that unw_backtrace() currently calls calloc under certain conditions, and thus isn't safe if used from e.g. tcmalloc. Above change simply hid the brokenness, without actually fixing the problem, which still exists today. The hint to call unw_backtrace early in thread creation is not very useful to tcmalloc users, as they have little control over exactly when calloc is called during thread creation, or when tcmalloc decides to record a stack trace. I would prefer the test to fail while unw_backtrace() remains calloc-unsafe. If the flood of "Ltest-nocalloc is failing" messages from end-users is too distracting, perhaps there should be a "currently known to fail" set of tests that only maintainers would know how to run? Alternatively, just deleting the test is (IMHO) better than the false security it currently provides. Thanks, -- Paul Pluzhnikov _______________________________________________ Libunwind-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/libunwind-devel
