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

example tutorial (valgrind memleak checkable ) memory leak

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Works as Designed
    • Affects Version/s: 2.4.0
    • Fix Version/s: None
    • Component/s: Internal Client
    • Environment:
      CentOS release 6.4 (Final)
    • Operating System:
      Linux
    • Steps To Reproduce:
      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

      Description

      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.

        Attachments

        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

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: