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


dacav at teknik.io
Mon May 14 13:34:13 UTC 2018

On 2018-05-14, Trevor Hemsley
<trevor.hemsley at ntlworld.com> wrote:
>> 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
>> (gdb)
> It's not a problem that I have seen reported before. If you have a
> Redhat Developer Subscription then you can use the included RHEL license
> to download a RHEL iso and test there to see if it an upstream bug or a
> CentOS one.

Without a subscription, I can tell it's probably upstream: I
compiled from scratch the same version (2.27) and it crashes in
the same way.

I'm trying to see if upstream has some bug report open for this.

I will send updates to this thread if I find out :)


More information about the CentOS-devel mailing list