Created attachment 16630
_dl_relocate_static_pie disassemble

Here's the gdb register on segfault:

Program received signal SIGSEGV, Segmentation fault.
0x0000000000008e60 in ?? ()
(gdb) info registers 
ra             0x7ffff7f8035a   0x7ffff7f8035a <_dl_relocate_static_pie+598>
sp             0x7ffffffff240   0x7ffffffff240
gp             0x7ffff7ffa110   0x7ffff7ffa110 <_dl_static_dtv+848>
tp             0x7ffff7e0b760   0x7ffff7e0b760
t0             0x0      0
t1             0x7ffff7f5be8c   140737353465484
t2             0x7ffff7ff8972   140737354107250
fp             0x0      0x0
s1             0x7ffff7ff7a90   140737354103440
a0             0x7ffffffff270   140737488351856
a1             0x0      0
a2             0x40     64
a3             0x7ffff7fa2a20   140737353755168
a4             0x0      0
a5             0x7ffff7ff7ff0   140737354104816
a6             0xf      15
a7             0x70000025       1879048229
s2             0x7ffff7f53000   140737353428992
s3             0x7ffff7ff90e0   140737354109152
s4             0x7ffff7ffe8a0   140737354131616
s5             0x0      0
s6             0x7ffff7f5c5ee   140737353467374
s7             0x0      0
s8             0x0      0
s9             0x0      0
s10            0x0      0
s11            0x0      0
t3             0x8e60   36448
t4             0x35     53
t5             0xb      11
t6             0x6ffffdff       1879047679
pc             0x8e60   0x8e60
(gdb) bt
#0  0x0000000000008e60 in ?? ()


And here's the last line I can step through before gdb loses track of thing
(gdb) bt
#0  _dl_relocate_static_pie () at dl-reloc-static-pie.c:80
#1  0x00007ffff7f60cf6 in __libc_start_main_impl (main=0x7ffff7f5c5ee 
<__wrap_main>, argc=2, argv=0x7ffffffff398, init=<optimized out>, 
fini=<optimized out>, rtld_fini=0x0, 
    stack_end=<optimized out>) at libc-start.c:274
#2  0x00007ffff7f5c5ec in _start () at ../sysdeps/riscv/start.S:67
(gdb) info registers 
ra             0x7ffff7f80124   0x7ffff7f80124 <_dl_relocate_static_pie+32>
sp             0x7ffffffff240   0x7ffffffff240
gp             0x7ffff7ffa110   0x7ffff7ffa110 <_dl_static_dtv+848>
tp             0x7ffff7e0b760   0x7ffff7e0b760
t0             0x0      0
t1             0xfffffffffffffffc       -4
t2             0x7ffff7ff8972   140737354107250
fp             0x0      0x0
s1             0x7ffff7ff7a90   140737354103440
a0             0x6fffffff       1879048191
a1             0x6      6
a2             0x0      0
a3             0x7ffff7fa2a20   140737353755168
a4             0x0      0
a5             0x7ffff7ff7ff0   140737354104816
a6             0xf      15
a7             0x70000025       1879048229
s2             0x7ffff7f53000   140737353428992
s3             0x7ffff7ff90e0   140737354109152
s4             0x7ffff7ffe8a0   140737354131616
s5             0x0      0
s6             0x7ffff7f5c5ee   140737353467374
s7             0x0      0
s8             0x0      0
s9             0x0      0
s10            0x0      0
s11            0x0      0
t3             0xa      10
t4             0x35     53
t5             0xb      11
t6             0x6ffffdff       1879047679
pc             0x7ffff7f802b8   0x7ffff7f802b8 <_dl_relocate_static_pie+436>

See attachment for _dl_relocate_static_pie disasm

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2142067

Title:
  static-pie binaries crash on riscv64 with glibc 2.43 on resolute.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glibc/+bug/2142067/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to