Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1702

Segfault in test suite

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.0
    • Affects Version/s: 1.5.0
    • Component/s: Testing
    • None
    • Environment:
      Fedora 23
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Using 1.5.0-rc2 or git master.

      Without options test suite pass.

      When build with:--enable-debug-symbols --enable-shm-counters --disable-automatic-init-and-cleanup --enable-crypto-system-profile --enable-tests --enable-sasl --enable-ssl --with-libbson=bundled --disable-html-docs --enable-man-pages

      $ make check
      ...

      { "status": "PASS", "test_file": "/MongoDB/handshake/appname_frozen_pooled", "seed": "989029086", "start": 8948.452855240, "end": 8948.452866507, "elapsed": 0.000011267 }

      ,
      lt-test-libmongoc: tests/test-mongoc-handshake.c:260: test_mongoc_handshake_data_append_success: Assertion `strstr (val, platform) != ((void *)0)' failed.
      /bin/sh : ligne 1 : 24969 Abandon (core dumped)./$TEST_PROG "--no-fork" -F test-results.json
      Makefile:6070: recipe for target 'test' failed

      (gdb) bt
      #0 0x00007f3dc463fa28 in raise () from /lib64/libc.so.6
      #1 0x00007f3dc464162a in abort () from /lib64/libc.so.6
      #2 0x00007f3dc4638227 in __assert_fail_base () from /lib64/libc.so.6
      #3 0x00007f3dc46382d2 in __assert_fail () from /lib64/libc.so.6
      #4 0x000055941454ee2a in test_mongoc_handshake_data_append_success () at tests/test-mongoc-handshake.c:260
      #5 0x0000559414567aa6 in TestSuite_RunTest (suite=suite@entry=0x7ffff3a88450, test=test@entry=0x559416794570, count=count@entry=0x7ffff3a8837c) at tests/TestSuite.c:602
      #6 0x00005594145689ee in TestSuite_RunSerial (suite=<optimized out>) at tests/TestSuite.c:868
      #7 TestSuite_Run (suite=0x7ffff3a88450) at tests/TestSuite.c:949
      #8 0x000055941450bf6f in main (argc=4, argv=0x7ffff3a88598) at tests/test-libmongoc.c:1844

            Assignee:
            bjori Hannes Magnusson (Inactive)
            Reporter:
            remi Remi Collet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None