NetBSD-Bugs archive

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

Re: port-arm/50087: all threaded programs crash on arm



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

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: port-arm/50087: all threaded programs crash on arm
Date: Sat, 25 Jul 2015 16:20:42 +0200

 Here is the surrounding code from objdump:
 
     ad48:       24319fe5        ldr     r3, [pc, #292]  ; ae74 <pthread__add_spe
 cific+0x170>
     ad4c:       033096e7        ldr     r3, [r6, r3]
     ad50:       003093e5        ldr     r3, [r3]
     ad54:       043193e7        ldr     r3, [r3, r4, lsl #2]
     ad58:       000053e3        cmp     r3, #0
     ad5c:       3800000a        beq     ae44 <pthread__add_specific+0x140>
 [..]
     ae44:       40209fe5        ldr     r2, [pc, #64]   ; ae8c <pthread__add_spe
 cific+0x188>
     ae48:       b310a0e3        mov     r1, #179        ; 0xb3
     ae4c:       3c009fe5        ldr     r0, [pc, #60]   ; ae90 <pthread__add_specific+0x18c>
     ae50:       3c309fe5        ldr     r3, [pc, #60]   ; ae94 <pthread__add_specific+0x190>
     ae54:       02208fe0        add     r2, pc, r2
     ae58:       00008fe0        add     r0, pc, r0
     ae5c:       142082e2        add     r2, r2, #20
     ae60:       03308fe0        add     r3, pc, r3
     ae64:       4beaffeb        bl      5798 <pthread__assertfunc>
 
 so unfortunately the non NULL value in r3 has already been overwritten at
 the time of the core dump.
 
 Martin
 


Home | Main Index | Thread Index | Old Index