I don't really know what is happening here but I suspect pretty strongly it's related to systemtap static probes, because if I do this:
root@helped-oyster:~# cp /lib/ld-linux-armhf.so.3 . root@helped-oyster:~# objcopy -R .note.stapsdt ld-linux-armhf.so.3 ld-linux-armhf.so.3-nostap root@helped-oyster:~# gdb --args ./ld-linux-armhf.so.3-nostap /bin/true Everything behaves as expected. I can't find a command line option to disable systemtap probes, which seems a bit of a strange choice... -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to binutils in Ubuntu. https://bugs.launchpad.net/bugs/1841006 Title: gdb reports a segfault in ld-linux.so.3 on armhf Status in binutils package in Ubuntu: New Bug description: In an eoan armhf container on a disco arm64 vm: root@helped-oyster:~# gdb /bin/true GNU gdb (Ubuntu 8.3-0ubuntu1) 8.3 ... (gdb) r Starting program: /usr/bin/true Program received signal SIGSEGV, Segmentation fault. 0xf7fc8ee0 in ?? () from /lib/ld-linux-armhf.so.3 It happens in a disco container too. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1841006/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp