https://bugs.kde.org/show_bug.cgi?id=492549
--- Comment #6 from martin.lu...@ohb.de --- (In reply to Mark Wielaard from comment #4) > 3.19.0 is a pretty old version, have you tried with 3.23.0? > It seems to work fine here (Fedora 40 on x86_64). Can reproduce the issue with 3.20.0: #include <iostream> int main() { char sample[] = { 'h', 'a', 'y', 's', 't', 'a', 'c', 'k', 0 }; std::cout << (void*) __builtin_memchr(sample, 'x', 1) << std::endl; } ~ $ ./a.out 0 ~ $ valgrind -q --tool=massif ./a.out 0x1fff000147 ~ $ valgrind --version valgrind-3.20.0 Versions 3.21+ I cannot easily try because I don't have GLIBC 2.38. I would need to setup a virtual machine first. -- You are receiving this mail because: You are watching all bug changes.