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

Bug #1841006 reported by Michael Hudson-Doyle
6
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-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.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

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...

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

And the VM in question has an arm64 kernel right? Have you tried an armhf kernel?

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

No.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

I finally got around to reporting this upstream as https://sourceware.org/bugzilla/show_bug.cgi?id=25215

Revision history for this message
Steve Langasek (vorlon) wrote :

Adding a task on gdb so I can find this bug again in 2 months the next time I need to remember how to work around it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.