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. ATL / WTL / STL
  4. find crash location in the code

find crash location in the code

Scheduled Pinned Locked Moved ATL / WTL / STL
questioncsharpc++visual-studiocom
3 Posts 2 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.
  • B Offline
    B Offline
    bkelly13
    wrote on last edited by
    #1

    Windows 7, Visual Studio 2010, C++ An application I wrote that has been running for over a year has just started getting an unhandled exception. It is _com_error and the exact return value if E_FAIL, an unspecified error. That is unhelpful. The crash window specifies an address where the crash occurred. Question: How does one take that address and find the place in the code where the program was executing when the exception was first thrown?

    Thank you for your time If you work with telemetry, please check this bulletin board: www.irigbb.com

    Richard Andrew x64R 2 Replies Last reply
    0
    • B bkelly13

      Windows 7, Visual Studio 2010, C++ An application I wrote that has been running for over a year has just started getting an unhandled exception. It is _com_error and the exact return value if E_FAIL, an unspecified error. That is unhelpful. The crash window specifies an address where the crash occurred. Question: How does one take that address and find the place in the code where the program was executing when the exception was first thrown?

      Thank you for your time If you work with telemetry, please check this bulletin board: www.irigbb.com

      Richard Andrew x64R Offline
      Richard Andrew x64R Offline
      Richard Andrew x64
      wrote on last edited by
      #2

      This is an old article, but I believe it still applies: Post-Mortem Debugging Your Application with Minidumps and Visual Studio .NET[^]

      The difficult we do right away... ...the impossible takes slightly longer.

      1 Reply Last reply
      0
      • B bkelly13

        Windows 7, Visual Studio 2010, C++ An application I wrote that has been running for over a year has just started getting an unhandled exception. It is _com_error and the exact return value if E_FAIL, an unspecified error. That is unhelpful. The crash window specifies an address where the crash occurred. Question: How does one take that address and find the place in the code where the program was executing when the exception was first thrown?

        Thank you for your time If you work with telemetry, please check this bulletin board: www.irigbb.com

        Richard Andrew x64R Offline
        Richard Andrew x64R Offline
        Richard Andrew x64
        wrote on last edited by
        #3

        Here's another much more recent article about what you can do to find the error: Investigate crashes: c stack trace and dumps[^]

        The difficult we do right away... ...the impossible takes slightly longer.

        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