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. Visual Basic
  4. memory corruption detection tool needed

memory corruption detection tool needed

Scheduled Pinned Locked Moved Visual Basic
questioncsharpvisual-studiodata-structures
3 Posts 3 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.
  • I Offline
    I Offline
    in9mar
    wrote on last edited by
    #1

    State: We are developing desktop applications in VB.NET with .NET 2.0 and Visual Studio 2005. We use some 3rd party .NET and Win32 DLLs that are well tested. Nonetheless we sometimes encounter non-reproducible errors that look very much like memory corruption. (I.e. elements of a strongly typed array changing type in the middle of the array on their own, variables containing nothing even though a few lines of code earlier they are initialized). We are not sure if the memory problems originate from our code of from the libraries we use, but we lack any tool to validate that it is not our code. Question: What is a good VB.NET memory corruption detection tool? Integration into Visual Studio would be nice, but is not a must. Commercial or open source is both fine. Thanks, Ingmar

    D L 2 Replies Last reply
    0
    • I in9mar

      State: We are developing desktop applications in VB.NET with .NET 2.0 and Visual Studio 2005. We use some 3rd party .NET and Win32 DLLs that are well tested. Nonetheless we sometimes encounter non-reproducible errors that look very much like memory corruption. (I.e. elements of a strongly typed array changing type in the middle of the array on their own, variables containing nothing even though a few lines of code earlier they are initialized). We are not sure if the memory problems originate from our code of from the libraries we use, but we lack any tool to validate that it is not our code. Question: What is a good VB.NET memory corruption detection tool? Integration into Visual Studio would be nice, but is not a must. Commercial or open source is both fine. Thanks, Ingmar

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      The only tool I've ever heard of for that is IBM's Rational Purify. I've never used, nor seen it, so I can't vouch for it's effectiveness.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007

      1 Reply Last reply
      0
      • I in9mar

        State: We are developing desktop applications in VB.NET with .NET 2.0 and Visual Studio 2005. We use some 3rd party .NET and Win32 DLLs that are well tested. Nonetheless we sometimes encounter non-reproducible errors that look very much like memory corruption. (I.e. elements of a strongly typed array changing type in the middle of the array on their own, variables containing nothing even though a few lines of code earlier they are initialized). We are not sure if the memory problems originate from our code of from the libraries we use, but we lack any tool to validate that it is not our code. Question: What is a good VB.NET memory corruption detection tool? Integration into Visual Studio would be nice, but is not a must. Commercial or open source is both fine. Thanks, Ingmar

        L Offline
        L Offline
        Luc Pattyn
        wrote on last edited by
        #3

        Hi, not really an answer to your question, but here it goes: you can do two tests without any specialized tools: 1. run other software on the same machine 2. run your app on another machine if 1. seems OK and 2. fails, you probably have bugs (such as thread synchronization problems); if 1. fails and 2. seems OK, your machine most likely has a problem. :)

        Luc Pattyn [Forum Guidelines] [My Articles]


        this months tips: - use PRE tags to preserve formatting when showing multi-line code snippets - before you ask a question here, search CodeProject, then Google


        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