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

/Socket/sendv testfailure on FreeBSD

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • TBD
    • Affects Version/s: None
    • Component/s: None
    • None

      make debug TEST_ARGS="-l /Socket/sendv --no-fork"
      

      consistently fails on FreeBSD 10.3 with the following backtrace

      Assertion failed: (r == gFourMB), function sendv_test_client, file tests/test-mongoc-socket.c, line 318.
      [New Thread 80200f800 (LWP 100862/test-libmongoc)]
      
      Program received signal SIGABRT, Aborted.
      [Switching to Thread 80200f800 (LWP 100862/test-libmongoc)]
      0x00000008016dd35a in thr_kill () from /lib/libc.so.7
      (gdb) bt
      #0  0x00000008016dd35a in thr_kill () from /lib/libc.so.7
      #1  0x00000008016dd346 in raise () from /lib/libc.so.7
      #2  0x00000008016dd2c9 in abort () from /lib/libc.so.7
      #3  0x0000000801743f91 in __assert () from /lib/libc.so.7
      #4  0x0000000000467e04 in sendv_test_client (data_=0x7fffffffe038) at tests/test-mongoc-socket.c:318
      #5  0x0000000801401855 in pthread_create () from /lib/libthr.so.3
      #6  0x0000000000000000 in ?? ()
      (gdb) f 4
      #4  0x0000000000467e04 in sendv_test_client (data_=0x7fffffffe038) at tests/test-mongoc-socket.c:318
      318                assert (r == gFourMB);
      Current language:  auto; currently minimal
      (gdb) p r
      $1 = 130708
      (gdb) p gFourMB
      $2 = 4194304
      

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: