[CentOS-devel] Segfault on /usr/bin/strip


dacav at teknik.io
Mon May 14 12:43:35 UTC 2018

Hello Centos developers,

After upgrading a Centos7 builder, I started to get a segmentation fault
when using `install -s`.

As it turned out, this is related tu /usr/bin/strip, which indeed goes

I wasn't able to find this in the redhat bugzilla. Is it a known problem or
should I report it?

Follows stack trace:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7afcc55 in section_match (a=0x0, b=b at entry=0x639f18) at elf.c:1236
1236	    && a->sh_entsize   == b->sh_entsize
(gdb) bt
#0  0x00007ffff7afcc55 in section_match (a=0x0, b=b at entry=0x639f18) at elf.c:1236
#1  0x00007ffff7afd1ae in find_link (iheader=0x639f18, hint=36, obfd=0x63c030) at elf.c:1252
#2  0x00007ffff7afd2ca in copy_special_section_fields (ibfd=ibfd at entry=0x639c90, obfd=obfd at entry=0x63c030, iheader=0x63c1f0,
    oheader=oheader at entry=0x642c70, secnum=secnum at entry=1) at elf.c:1321
#3  0x00007ffff7afefa6 in _bfd_elf_copy_private_bfd_data (ibfd=0x639c90, obfd=0x63c030) at elf.c:1441
#4  0x0000000000409d55 in copy_object (ibfd=<optimized out>, obfd=<optimized out>, input_arch=<optimized out>) at objcopy.c:2495
#5  0x000000000040af6a in copy_file (
    input_filename=0x7fffffffe51a "esb3008-http-request-router/lib/python2.7/site-packages/_cffi_backend.so",
    output_filename=output_filename at entry=0x639c40 "esb3008-http-request-router/lib/python2.7/site-packages/stnLASGM",
    input_target=input_target at entry=0x0, output_target=<optimized out>, output_target at entry=0x0, input_arch=input_arch at entry=0x0)
    at objcopy.c:2857
#6  0x0000000000406730 in strip_main (argv=<optimized out>, argc=<optimized out>) at objcopy.c:3719
#7  main (argc=2, argv=0x7fffffffe288) at objcopy.c:4816

More information about the CentOS-devel mailing list