[Bug 272992] Calling dl_iterate_phdr via dlopen/dlsym causes failure: ld-elf.so.1: Can't find module with TLS index 1

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 07 Aug 2023 06:40:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272992

            Bug ID: 272992
           Summary: Calling dl_iterate_phdr via dlopen/dlsym causes
                    failure: ld-elf.so.1: Can't find module with TLS index
                    1
           Product: Base System
           Version: 13.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org
 Attachment #243919 text/plain
         mime type:

Created attachment 243919
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243919&action=edit
dl_iterate_phdr-via-dlsym.c

Please see the attached testcase.

Author: GitHub user ptrajdos, see
https://github.com/python/cpython/issues/92828#issuecomment-1666779016

-- 
You are receiving this mail because:
You are the assignee for the bug.