gdb reports a segfault in ld-linux.so.3 on armhf
Bug #1841006 reported by
Michael Hudson-Doyle
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
binutils (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
gdb (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
In an eoan armhf container on a disco arm64 vm:
root@helped-
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-
It happens in a disco container too.
To post a comment you must log in.
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 . oyster: ~# objcopy -R .note.stapsdt ld-linux-armhf.so.3 ld-linux- armhf.so. 3-nostap oyster: ~# gdb --args ./ld-linux- armhf.so. 3-nostap /bin/true
root@helped-
root@helped-
Everything behaves as expected. I can't find a command line option to disable systemtap probes, which seems a bit of a strange choice...