Bug 1315745 - Program linked to gperftools SIGSEGV
Program linked to gperftools SIGSEGV
Status: CLOSED DUPLICATE of bug 1312462
Product: Fedora
Classification: Fedora
Component: gperftools (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Tom "spot" Callaway
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2016-03-08 09:03 EST by Marek Skalický
Modified: 2016-03-08 09:20 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-03-08 09:20:18 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Marek Skalický 2016-03-08 09:03:56 EST
Description of problem:
C++ unit tests of MongoDB are failing with SIGSEGV before they start.

Example output:
    (gdb) run
    Starting program: /mnt/disk/mongodb/mongodb-src-r3.2.3/build/opt/mongo/base/base_test
    Program received signal SIGSEGV, Segmentation fault.
    0x0000000000000000 in ?? ()
    (gdb) backtrace
    #0  0x0000000000000000 in ?? ()
    #1  0x00007ffff77019d0 in ?? ()
    #2  0x00007fffffffddd0 in ?? ()
    #3  0x00007ffff7703455 in ?? ()
    #4  0x0000000000000001 in ?? ()
    #5  0x00007ffff7de5670 in elf_machine_rela (skip_ifunc=<optimized out>, reloc_addr_arg=<optimized out>, version=<optimized out>, sym=<optimized out>, reloc=0x
    7ffff7480c98, map=0x7ffff7fdb4e0) at ../sysdeps/x86_64/dl-machine.h:310
    #6  elf_dynamic_do_Rela (skip_ifunc=<optimized out>, lazy=<optimized out>, nrelative=<optimized out>, relsize=<optimized out>, reladdr=<optimized out>, map=0x
    7ffff7fdb4e0) at do-rel.h:137
    #7  _dl_relocate_object (scope=<optimized out>, reloc_mode=<optimized out>, consider_profiling=<optimized out>, consider_profiling@entry=0) at dl-reloc.c:258
    #8  0x00007ffff7ddc9ef in dl_main (phdr=<optimized out>, phnum=<optimized out>, user_entry=<optimized out>, auxv=<optimized out>) at rtld.c:2066
    #9  0x00007ffff7df1c0c in _dl_sysdep_start (start_argptr=start_argptr@entry=0x7fffffffdfe0, dl_main=dl_main@entry=0x7ffff7dda950 <dl_main>) at ../elf/dl-sysde
    #10 0x00007ffff7dddcb1 in _dl_start_final (arg=0x7fffffffdfe0) at rtld.c:305
    #11 _dl_start (arg=0x7fffffffdfe0) at rtld.c:411
    #12 0x00007ffff7dd9c88 in _start () from /lib64/ld-linux-x86-64.so.2
    #13 0x0000000000000001 in ?? ()
    #14 0x00007fffffffe2ec in ?? ()
    #15 0x0000000000000000 in ?? ()

When these tests are building with bundled version of gperftools-2.2 everything is OK.

Does someone know if this is fixed in 2.4.91 which is not in fedora yet?

Version-Release number of selected component (if applicable):

How reproducible:
Build MongoDB unit tests in fedora 24.

Actual results:
Unit test binary exit with SIGSEGV.

Expected results:
Unit test binary starts to run and test.

Additional info:
Comment 1 Carlos O'Donell 2016-03-08 09:20:18 EST

*** This bug has been marked as a duplicate of bug 1312462 ***

Note You need to log in before you can comment on or make changes to this bug.