From: David Bremner <bremner@unb.ca>
To: "notmuch@notmuchmail.org" <notmuch@notmuchmail.org>
Subject: Re: failing T810-tsan on ppc64el
Date: Sun, 27 Aug 2023 10:31:40 +0000 [thread overview]
Message-ID: <87wmxgsrn8.fsf@motzkin.cs.unb.ca> (raw)
In-Reply-To: <87bkeukjvv.fsf@boula.in>
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
==================
next prev parent reply other threads:[~2023-08-27 10:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-25 11:07 failing T810-tsan on ppc64el David Bremner
2023-08-26 13:34 ` Kevin Boulain
2023-08-27 10:31 ` David Bremner [this message]
2023-08-30 12:52 ` [PATCH 1/1] test: suppress all interceptors in glib Kevin Boulain
2023-09-02 10:51 ` David Bremner
2023-08-30 13:07 ` failing T810-tsan on ppc64el Kevin Boulain
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wmxgsrn8.fsf@motzkin.cs.unb.ca \
--to=bremner@unb.ca \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).