Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-10843

example tutorial (valgrind memleak checkable ) memory leak

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.4.0
    • Component/s: Internal Client
    • Environment:
      CentOS release 6.4 (Final)
    • Linux
    • Hide

      1 complile mongo-cxx-2.4 driver
      2 valgrind --leak-check=full --show-reachable=yes --log-file=valgind_l_r.log ./tutorial

      Show
      1 complile mongo-cxx-2.4 driver 2 valgrind --leak-check=full --show-reachable=yes --log-file=valgind_l_r.log ./tutorial

      1 when tutotial exit,heap memleak.

      2 some leak information.
      ==2254== HEAP SUMMARY:
      ==2254== in use at exit: 744 bytes in 19 blocks
      ==2254== total heap usage: 483 allocs, 464 frees, 137,635 bytes allocated

      3 I have appended the valgrind detail information file.

        1. tutorial.cpp
          3 kB
        2. val2.4.6_no-show-reachable.log
          2 kB
        3. valgind_l_r_2.4.6_10-20.log
          2 kB
        4. valgind_l_r_2.4.6.log
          14 kB
        5. valgind_l_r.log
          16 kB
        6. valgind_master_11_16.log
          11 kB

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            guoxue.duan duanguoxue
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: