NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-evbarm/53752 - crash in ld.elf_so test case

The following reply was made to PR port-evbarm/53752; it has been noted by GNATS.

From: Martin Husemann <>
Subject: Re: port-evbarm/53752 - crash in ld.elf_so test case
Date: Thu, 29 Nov 2018 13:43:49 +0100

 I have Nick's recent swapcontext fix already installed, and here
 is some additional output from gdb:
 (gdb) info frame
 Stack level 0, frame at 0xf6d5edbfffc0:
  pc = 0xf6d5ee025934 in __cxa_thread_run_atexit
     saved pc = 0xf6d5ee0dc448
  called by frame at 0xf6d5edbfffe0
  source language c.
  Arglist at 0xf6d5edbfffa0, args: 
  Locals at 0xf6d5edbfffa0, Previous frame's sp is 0xf6d5edbfffc0
  Saved registers:
   x19 at 0xf6d5edbfffa0, x20 at 0xf6d5edbfffa8, x30 at 0xf6d5edbfffb0
 (gdb) x/16i 0xf6d5ee025900
    0xf6d5ee025900 <exit+48>:    mov     w0, w19
    0xf6d5ee025904 <exit+52>:    bl      0xf6d5edf6e8b0 <_exit@plt>
    0xf6d5ee025908 <exit+56>:    
     bl  0xf6d5edf72340 <__cxa_thread_run_atexit@plt>
    0xf6d5ee02590c <exit+60>:    b       0xf6d5ee0258e4 <exit+20>
    0xf6d5ee025910 <__cxa_thread_run_atexit>:    stp     x19, x20, [sp, #-32]!
    0xf6d5ee025914 <__cxa_thread_run_atexit+4>:  mrs     x20, tpidr_el0
    0xf6d5ee025918 <__cxa_thread_run_atexit+8>:  str     x30, [sp, #16]
    0xf6d5ee02591c <__cxa_thread_run_atexit+12>: adrp    x0, 0xf6d5ee0b0000
    0xf6d5ee025920 <__cxa_thread_run_atexit+16>: ldr     x1, [x0, #2048]
    0xf6d5ee025924 <__cxa_thread_run_atexit+20>: add     x0, x0, #0x800
    0xf6d5ee025928 <__cxa_thread_run_atexit+24>: blr     x1
    0xf6d5ee02592c <__cxa_thread_run_atexit+28>: ldr     x19, [x20, x0]
    0xf6d5ee025930 <__cxa_thread_run_atexit+32>: 
     cbz x19, 0xf6d5ee02598c <__cxa_thread_run_atexit+124>
 => 0xf6d5ee025934 <__cxa_thread_run_atexit+36>: ldr     x2, [x19]
    0xf6d5ee025938 <__cxa_thread_run_atexit+40>: adrp    x0, 0xf6d5ee0b0000
    0xf6d5ee02593c <__cxa_thread_run_atexit+44>: ldr     x1, [x0, #2048]

Home | Main Index | Thread Index | Old Index