The answer is: yes! If you modify step 3) to
3a) create an empty library libNODELETE.so, set NODELETE flag (linked with "-z nodelete") 3b) create an empty library libA.so, linked to libNODELETE.so, set DT_RUNPATH to '$ORIGIN' the test shows exactly the same behaviour (relocation of libNODELETE while loading libMAIN.so, SIGSEGV in elf_machine_rela). ** Attachment added: "glibc-dl-test-nodelete.sh" https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1842730/+attachment/5286916/+files/glibc-dl-test-nodelete.sh -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1842730 Title: glibc: dlopen crash after a previously failed call to dlopen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1842730/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
