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

/BulkOperation/error/unordered failure

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None

      Observed here: https://evergreen.mongodb.com/task/mongo_c_driver_asan_ubuntu_ubuntu1404_debug_compile_asan_clang_openssl_f56a51535e08692ccd10d8ae1c3f68826176f9c6_20_05_27_16_08_07

      ASAN:SIGSEGV
       [2020/05/28 11:47:48.986] =================================================================
       [2020/05/28 11:47:48.986] ==8612==ERROR: AddressSanitizer: SEGV on unknown address 0x0000000000a0 (pc 0x0000006944a4 sp 0x7fff4c9f0760 bp 0x7fff4c9f0910 T0)
       [2020/05/28 11:47:49.414]     #0 0x6944a3 in request_destroy /data/mci/a9ea0d25ec7dfb8e1a403ef2bc183132/mongoc/src/libmongoc/tests/mock_server/request.c:702
       [2020/05/28 11:47:49.419]     #1 0x6ecce2 in test_bulk_error_unordered /data/mci/a9ea0d25ec7dfb8e1a403ef2bc183132/mongoc/src/libmongoc/tests/test-mongoc-bulk.c:341
       [2020/05/28 11:47:49.421]     #2 0xbcf2e8 in TestSuite_RunTest /data/mci/a9ea0d25ec7dfb8e1a403ef2bc183132/mongoc/src/libmongoc/tests/TestSuite.c:597
       [2020/05/28 11:47:49.422]     #3 0xbcbb26 in TestSuite_RunNamed /data/mci/a9ea0d25ec7dfb8e1a403ef2bc183132/mongoc/src/libmongoc/tests/TestSuite.c:924
       [2020/05/28 11:47:49.422]     #4 0xbc9c30 in TestSuite_Run /data/mci/a9ea0d25ec7dfb8e1a403ef2bc183132/mongoc/src/libmongoc/tests/TestSuite.c:968
       [2020/05/28 11:47:49.426]     #5 0x6cfa3d in main /data/mci/a9ea0d25ec7dfb8e1a403ef2bc183132/mongoc/src/libmongoc/tests/test-libmongoc.c:2636
       [2020/05/28 11:47:51.322]     #6 0x7fbd2bb39f44 in __libc_start_main /build/eglibc-xkFqqE/eglibc-2.19/csu/libc-start.c:287
       [2020/05/28 11:47:51.322]     #7 0x4a0c4c in _start (/data/mci/a9ea0d25ec7dfb8e1a403ef2bc183132/mongoc/src/libmongoc/test-libmongoc+0x4a0c4c)
       [2020/05/28 11:47:51.323] AddressSanitizer can not provide additional info.
       [2020/05/28 11:47:51.323] SUMMARY: AddressSanitizer: SEGV /data/mci/a9ea0d25ec7dfb8e1a403ef2bc183132/mongoc/src/libmongoc/tests/mock_server/request.c:702 request_destroy
       [2020/05/28 11:47:51.323] ==8612==ABORTING
       [2020/05/28 11:47:51.348]     { "status": "fail", "test_file": "/BulkOperation/error/unordered", "seed": "1389885282", "start": 903.411806, "end": 939.539880, "elapsed": 36.128074  },
      

      Hypothesis: Though the logs indicate a segfault, I suspect request is just NULL here because no command was sent. The test sets sockettimeoutms to 500. I suspect that is causing a network timeout error if the test is slow. I am not sure if a small sockettimeoutms is necessary for this test.

            Assignee:
            kevin.albertson@mongodb.com Kevin Albertson
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: