Skip to content

Instantly share code, notes, and snippets.

@mizhka
Created April 28, 2016 23:17
Show Gist options
  • Save mizhka/4bff2ac489833551c0517c2514904c7b to your computer and use it in GitHub Desktop.
Save mizhka/4bff2ac489833551c0517c2514904c7b to your computer and use it in GitHub Desktop.
FreeBSD mips attempt to debug rtld
BAD_PAGE_FAULT: pid 20 tid 100032 (sh), uid 0: pc 0x15a60 got a read fault (type 0x2) at 0x15a60
Trapframe Register Dump (0xc2b81e98):
zero: 0 at: 0 v0: 0x4046c8d0 v1: 0x2
a0: 0x2 a1: 0x7ffeec18 a2: 0x33 a3: 0
t0: 0 t1: 0 t2: 0 t3: 0
t4: 0 t5: 0 t6: 0 t7: 0
t8: 0 t9: 0x15a60 s0: 0x7ffeee18 s1: 0x7ffeee18
s2: 0x4043c000 s3: 0x16088 s4: 0x1 s5: 0x4043c73c
s6: 0x4043cfec s7: 0x18 k0: 0 k1: 0
gp: 0x40474960 sp: 0x7ffeebc0 s8: 0x7ffeee80 ra: 0x404515f8
sr: 0x8013 mullo: 0 mulhi: 0 badvaddr: 0x15a60
cause: 0x8 pc: 0x15a60
sp: 0x7ffeebc0 pc: 0x404515f8 ra: 0x00000000
404515dc+1c 155D0+28: ld-elf:write (?,?,?,?) ra 207ffeebc0 sp 0 sz 0
4044a46c+38 0E460+44: ld-elf:printf_out (?,?,?,?) ra 207ffeebe0 sp 0 sz 0
4044b30c+78 0f300+84: ld-elf:rtld_vfdprintf (2,?,?,?) ra 2407ffeec00 sp 1 sz 0
4044d230+40 11224+4c: ld-elf:debug_printf (?,4046c49c,16088,40452088) ra 287ffeee40 sp 100000000 sz 1
4043d3cc+320 013c0+32c: ld-elf:_rtld_relocate_nonplt_self (?,?,?,?) ra 507ffeee68 sp 0 sz 0
4043cffc+34 00ff0+40: ld-elf:rtld_start (?,?,?,?) ra 107ffeeeb8 sp 0 sz 0
pid 20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment