Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. VS 2008 Team Edition and the object dump.

VS 2008 Team Edition and the object dump.

Scheduled Pinned Locked Moved C / C++ / MFC
c++visual-studiocollaborationperformancequestion
7 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Like2Byte
    wrote on last edited by
    #1

    Hi, I'm maintaining an app that when I exit the application I get row after row of this: f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {33671} normal block at 0x02A2EA78, 21 bytes long. Data: <<N¤x > 3C 4E A4 78 04 00 00 00 04 00 00 00 01 00 00 00 d:\development\AppName\ProjectName\SomeFile.cpp(5716) : {33670} client block at 0x03897278, subtype c0, 2118 bytes long. a CNSFlexPropertyPage object at $03897278, 2118 bytes long Object dump complete. The program '[0xC90] AppName.exe: Native' has exited with code 0 (0x0). Are these memory leaks? My fear is that they are memory leaks. :(( :wtf: X| Thanks!

    M S H 3 Replies Last reply
    0
    • L Like2Byte

      Hi, I'm maintaining an app that when I exit the application I get row after row of this: f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {33671} normal block at 0x02A2EA78, 21 bytes long. Data: <<N¤x > 3C 4E A4 78 04 00 00 00 04 00 00 00 01 00 00 00 d:\development\AppName\ProjectName\SomeFile.cpp(5716) : {33670} client block at 0x03897278, subtype c0, 2118 bytes long. a CNSFlexPropertyPage object at $03897278, 2118 bytes long Object dump complete. The program '[0xC90] AppName.exe: Native' has exited with code 0 (0x0). Are these memory leaks? My fear is that they are memory leaks. :(( :wtf: X| Thanks!

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      Like2Byte wrote:

      Are these memory leaks? My fear is that they are memory leaks.

      Yes. :) On the plus side, the dump tells you what line of code did the allocation that wasn't freed...way easier than trying to find it blindly.

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      L 1 Reply Last reply
      0
      • M Mark Salsbery

        Like2Byte wrote:

        Are these memory leaks? My fear is that they are memory leaks.

        Yes. :) On the plus side, the dump tells you what line of code did the allocation that wasn't freed...way easier than trying to find it blindly.

        Mark Salsbery Microsoft MVP - Visual C++ :java:

        L Offline
        L Offline
        Like2Byte
        wrote on last edited by
        #3

        Thank you very much for your swift response. In the interim, I located this magic gem: Detected memory leaks! Dumping objects -> my list ensues. Subtracting the 6900 lines of front matter preceding the memory leak dump I'm left with 39011 lines of memory leak reports(or 19505 individual memory leak detections). That being said, I think I'm going to be sick. X|

        M 1 Reply Last reply
        0
        • L Like2Byte

          Thank you very much for your swift response. In the interim, I located this magic gem: Detected memory leaks! Dumping objects -> my list ensues. Subtracting the 6900 lines of front matter preceding the memory leak dump I'm left with 39011 lines of memory leak reports(or 19505 individual memory leak detections). That being said, I think I'm going to be sick. X|

          M Offline
          M Offline
          Mark Salsbery
          wrote on last edited by
          #4

          Like2Byte wrote:

          I'm left with 39011 lines of memory leak reports(or 19505 individual memory leak detections).

          Ouch. X|

          Mark Salsbery Microsoft MVP - Visual C++ :java:

          1 Reply Last reply
          0
          • L Like2Byte

            Hi, I'm maintaining an app that when I exit the application I get row after row of this: f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {33671} normal block at 0x02A2EA78, 21 bytes long. Data: <<N¤x > 3C 4E A4 78 04 00 00 00 04 00 00 00 01 00 00 00 d:\development\AppName\ProjectName\SomeFile.cpp(5716) : {33670} client block at 0x03897278, subtype c0, 2118 bytes long. a CNSFlexPropertyPage object at $03897278, 2118 bytes long Object dump complete. The program '[0xC90] AppName.exe: Native' has exited with code 0 (0x0). Are these memory leaks? My fear is that they are memory leaks. :(( :wtf: X| Thanks!

            S Offline
            S Offline
            Saurabh Garg
            wrote on last edited by
            #5

            I will suggest you use http://www.codeproject.com/KB/applications/visualleakdetector.aspx[^] to pin point the leaks. -Saurabh

            L 1 Reply Last reply
            0
            • S Saurabh Garg

              I will suggest you use http://www.codeproject.com/KB/applications/visualleakdetector.aspx[^] to pin point the leaks. -Saurabh

              L Offline
              L Offline
              Like2Byte
              wrote on last edited by
              #6

              Thank you for pointing this out to me. I will give this try. I haven't read the entire link in detail but it looks very promising. I've looked through a few of the memory leaks and some are as simple as double* d = new double[nRecords*MAX_RECS]; ...stuff delete d; // where it should be delete[] d;

              1 Reply Last reply
              0
              • L Like2Byte

                Hi, I'm maintaining an app that when I exit the application I get row after row of this: f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {33671} normal block at 0x02A2EA78, 21 bytes long. Data: <<N¤x > 3C 4E A4 78 04 00 00 00 04 00 00 00 01 00 00 00 d:\development\AppName\ProjectName\SomeFile.cpp(5716) : {33670} client block at 0x03897278, subtype c0, 2118 bytes long. a CNSFlexPropertyPage object at $03897278, 2118 bytes long Object dump complete. The program '[0xC90] AppName.exe: Native' has exited with code 0 (0x0). Are these memory leaks? My fear is that they are memory leaks. :(( :wtf: X| Thanks!

                H Offline
                H Offline
                Hamid Taebi
                wrote on last edited by
                #7

                A memory leak like pointers but see Memory(-Leak) and Exception Trace (CRT and COM Leaks)[^]. ;)

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups