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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1841006

Title:
  gdb reports a segfault in ld-linux.so.3 on armhf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1841006/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to