[compiler-rt] r177647 - tsan: better reporting of thread leaks

Dmitry Vyukov dvyukov at google.com
Fri Mar 22 01:50:23 PDT 2013


Other people reported the same issue.
Should be fixed by r177715.



On Fri, Mar 22, 2013 at 12:17 PM, Dmitry Vyukov <dvyukov at google.com> wrote:

> On Fri, Mar 22, 2013 at 12:16 AM, David Blaikie <dblaikie at gmail.com>wrote:
>
>> On Thu, Mar 21, 2013 at 9:55 AM, Dmitry Vyukov <dvyukov at google.com>
>> wrote:
>> > Author: dvyukov
>> > Date: Thu Mar 21 11:55:17 2013
>> > New Revision: 177647
>> >
>> > URL: http://llvm.org/viewvc/llvm-project?rev=177647&view=rev
>> > Log:
>> > tsan: better reporting of thread leaks
>> > 1. do not report running threads as leaks
>> > 2. aggregate leaked threads by creation stack
>> >
>> >
>> > Added:
>> >     compiler-rt/trunk/lib/tsan/lit_tests/thread_leak4.c
>>
>> This seems to be failing:
>>
>> Failing Tests (1):
>>     ThreadSanitizer :: thread_leak4.c
>>
>
>
>
> Hi,
>
> Checked on clean tip several times, and it does not fail for me.
> Does it fail reliably? Does increasing sleep(10) to sleep(10000) in the
> test help?
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130322/0a8b60c3/attachment.html>


More information about the llvm-commits mailing list