NetBSD-Bugs archive

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

toolchain/52736: t_ifunc crahshes

>Number:         52736
>Category:       toolchain
>Synopsis:       libexec/ld.elf_so/t_ifunc test program crashes on sparc64
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 18 16:45:00 +0000 2017
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.7
The NetBSD Foundation, Inc.
System: NetBSD 8.99.7 NetBSD 8.99.7 (MODULAR) #30: Sat Nov 18 08:52:09 CET 2017 sparc64
Architecture: sparc64
Machine: sparc64

Starting with the test run on Nov 15, (that is most likely: after gcc
5.5 import) the ifunc test program started crashing.


cd /usr/test/libexec/ld.elf_so
atf-run t_ifunc


gdb ./t_ifunc

(gdb) run -l
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/tests/libexec/ld.elf_so/t_ifunc -l

Program received signal SIGSEGV, Segmentation fault.
0x00000000409677c4 in strlen () from /usr/lib/
(gdb) bt
#0  0x00000000409677c4 in strlen () from /usr/lib/
#1  0x000000004070f7dc in atf_dynstr_init_ap (ad=ad@entry=0xffffffffffffd478, 
    fmt=fmt@entry=0x0, ap=ap@entry=0xffffffffffffd5e8)
    at /usr/src/external/bsd/atf/dist/atf-c/detail/dynstr.c:147
#2  0x000000004070b5b8 in atf_text_format_ap (
    dest=dest@entry=0xffffffffffffd540, fmt=fmt@entry=0x0, 
    at /usr/src/external/bsd/atf/dist/atf-c/detail/text.c:88
#3  0x0000000040709608 in atf_tc_set_md_var (tc=0x403059c0 <_rtld_exit>, 
    name=0x0, fmt=0x0) at /usr/src/external/bsd/atf/dist/atf-c/tc.c:778
#4  0x00000000001012a4 in ___start ()
#5  0x00000000403018cc in _rtld_start () from /usr/libexec/ld.elf_so

Note the "fmt" pointer is NULL.


Home | Main Index | Thread Index | Old Index