https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98669
Andreas Schneider <asn at samba dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asn at samba dot org --- Comment #14 from Andreas Schneider <asn at samba dot org> --- I've run into this with a python script: ==9542==AddressSanitizer: failed to intercept 'crypt' ==9542==AddressSanitizer: failed to intercept 'crypt_r' [..] AddressSanitizer:DEADLYSIGNAL ================================================================= ==29768==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x000000000000 bp 0x7ffcec4bf3c0 sp 0x7ffcec4beb58 T0) ==29768==Hint: pc points to the zero page. ==29768==The signal is caused by a READ memory access. ==29768==Hint: address points to the zero page. #0 0x0 (<unknown module>) #1 0x7f052cca4129 in crypt_crypt_impl /usr/src/debug/python310-core-3.10.6-3.1.x86_64/Modules/_cryptmodule.c:44 In case someone runs into this as well. You can fix it by preloading libcrypt.so.1!