Bug 476333 - helgrind/tests/getaddrinfo.vgtest fails randomly
Summary: helgrind/tests/getaddrinfo.vgtest fails randomly
Status: REPORTED
Alias: None
Product: valgrind
Classification: Developer tools
Component: helgrind (other bugs)
Version First Reported In: 3.22 GIT
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-30 18:20 UTC by Mark Wielaard
Modified: 2023-10-30 19:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Wielaard 2023-10-30 18:20:39 UTC
Running perl tests/vg_regtest helgrind/tests/getaddrinfo.vgtest seems to randomly fail on various arches/distros.

I now also got it to fail on x86_64 (RHEL8). I am on a bad wifi network at the moment, which might impact this. I suspect there really is a datarace in at least some versions of glibc when dns lookups are retried.
Comment 1 Paul Floyd 2023-10-30 19:24:34 UTC
From what I've seen there are a load of glibc private locks associated with getaddrinfo. ASAN seems to just filter anything with getaddrinfo in the callastack. Those locks are likely to change with different versions.