Re: failing T810-tsan on ppc64el

Subject: Re: failing T810-tsan on ppc64el

Date: Sun, 27 Aug 2023 10:31:40 +0000

To: notmuch@notmuchmail.org

Cc:

From: David Bremner


Kevin Boulain <kevin@boula.in> writes:

> On 2023-08-25 at 08:07 -03, David Bremner <david@tethera.net> wrote:
>> Does this failure make any sense to you?
>>
>>      https://buildd.debian.org/status/fetch.php?pkg=notmuch&arch=ppc64el&ver=0.38%7Erc0-1&stamp=1692959868&raw=0
>
> It doesn't ring any bell. Do you happen to know if this is reproducible
> or if we could get a better stack trace?

It seems to be reproducible. I couldn't figure out how to get a
meaningful stack trace, but I did run with TSAN_OPTIONS verbosity=2, and
here is what I got

line 12: 19
==================
WARNING: ThreadSanitizer: data race (pid=1922026)
  Read of size 8 at 0x7ffff4000ae0 by thread T2:
    #0 strlen ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:458 (libtsan.so.2+0x4be2c) (BuildId: f73f09a6be7c39b64e5181d8bff5d6428a26fb06)
    #1 strlen ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:450 (libtsan.so.2+0x4be2c)
    #2 g_strdup <null> (libglib-2.0.so.0+0xac71c) (BuildId: a7cf71e4a2880e9668a36d104e5ba37ce43fcca7)

  Previous write of size 8 at 0x7ffff4000ae0 by thread T1:
    #0 iconv ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:5515 (libtsan.so.2+0x65dd4) (BuildId: f73f09a6be7c39b64e5181d8bff5d6428a26fb06)
    #1 g_iconv <null> (libglib-2.0.so.0+0x42694) (BuildId: a7cf71e4a2880e9668a36d104e5ba37ce43fcca7)

  Location is heap block of size 20 at 0x7ffff4000ae0 allocated by thread T1:
    #0 malloc ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:681 (libtsan.so.2+0x43d6c) (BuildId: f73f09a6be7c39b64e5181d8bff5d6428a26fb06)
    #1 g_malloc <null> (libglib-2.0.so.0+0x82f40) (BuildId: a7cf71e4a2880e9668a36d104e5ba37ce43fcca7)

  Thread T2 (tid=1922029, running) created by main thread at:
    #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x45084) (BuildId: f73f09a6be7c39b64e5181d8bff5d6428a26fb06)
    #1 main /home/bremner/notmuch-0.38~rc1/test/tmp.foo/test0.c:24 (test0+0xef0) (BuildId: 3ccb421a18018bc8c9014a7dcb9d821c7dc288bf)

  Thread T1 (tid=1922028, running) created by main thread at:
    #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x45084) (BuildId: f73f09a6be7c39b64e5181d8bff5d6428a26fb06)
    #1 main /home/bremner/notmuch-0.38~rc1/test/tmp.foo/test0.c:23 (test0+0xea0) (BuildId: 3ccb421a18018bc8c9014a7dcb9d821c7dc288bf)

SUMMARY: ThreadSanitizer: data race (/usr/lib/powerpc64le-linux-gnu/libglib-2.0.so.0+0xac71c) (BuildId: a7cf71e4a2880e9668a36d104e5ba37ce43fcca7) in g_strdup
==================
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: