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

Superfluous "still reachable" blocks from the test suite

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

      Running the test suite under valgrind will report endless of "still reachable" blocks.

      These are caused by not cleaning up the test suite upon forked child exit.

      There are also some warnings from sasl that we can't do anything about and should just ignore:

      ==17989== 32 bytes in 1 blocks are still reachable in loss record 515 of 581         
      ==17989==    at 0x4C2DC90: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==17989==    by 0x632769E: _dlerror_run (dlerror.c:141)                              
      ==17989==    by 0x6327060: dlopen@@GLIBC_2.2.5 (dlopen.c:87)                         
      ==17989==    by 0x611D333: _sasl_get_plugin (in /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25)
      ==17989==    by 0x611D611: _sasl_load_plugins (in /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25)
      ==17989==    by 0x6112030: sasl_client_init (in /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25)
      ==17989==    by 0x4E607EE: _mongoc_do_init (mongoc-init.c:91)                        
      ==17989==    by 0x58D036A: __pthread_once_slow (pthread_once.c:114)                  
      ==17989==    by 0x4E6080D: mongoc_init (mongoc-init.c:119)                           
      ==17989==    by 0x4E60847: _mongoc_init_ctor (mongoc-init.c:162)                     
      ==17989==    by 0x40105B9: call_init.part.0 (dl-init.c:72)                           
      ==17989==    by 0x40106CA: call_init (dl-init.c:30)                                  
      ==17989==    by 0x40106CA: _dl_init (dl-init.c:120)   
      

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: