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. Tracking application crashes in 'C'

Tracking application crashes in 'C'

Scheduled Pinned Locked Moved C / C++ / MFC
questiondatabaseperformancehelp
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.
  • C Offline
    C Offline
    coder21k
    wrote on last edited by
    #1

    I am working on a database application, developed in 'C' programming language, which talks to database through the odbc drivers. What is the best way to track/troubleshoot the 'crash' errors like NULL pointers, memory crashes, etc? As the application is a huge code base, I am looking for one smart way to track the application crashes. Please suggest, if any?

    C M 2 Replies Last reply
    0
    • C coder21k

      I am working on a database application, developed in 'C' programming language, which talks to database through the odbc drivers. What is the best way to track/troubleshoot the 'crash' errors like NULL pointers, memory crashes, etc? As the application is a huge code base, I am looking for one smart way to track the application crashes. Please suggest, if any?

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      If you are not already using it, then the best first step is to use your debugger. You cannot do any advanced debugging without a debugger.

      Cédric Moonen Software developer
      Charting control [v3.0] OpenGL game tutorial in C++

      1 Reply Last reply
      0
      • C coder21k

        I am working on a database application, developed in 'C' programming language, which talks to database through the odbc drivers. What is the best way to track/troubleshoot the 'crash' errors like NULL pointers, memory crashes, etc? As the application is a huge code base, I am looking for one smart way to track the application crashes. Please suggest, if any?

        M Offline
        M Offline
        Moak
        wrote on last edited by
        #3

        coder21k wrote:

        What is the best way to track/troubleshoot the 'crash' errors like NULL pointers, memory crashes, etc? As the application is a huge code base, I am looking for one smart way to track the application crashes.

        Write a crash report to identify application version, environment, registers, calling stack etc. Then assign each maintainer time to investigate and fix crashes, for a huge code base you probably have multiple teams/maintainers. If you have a ticket systems for defects the teams can create individual bug tickets after investigation and narrowing down the cause of a crash, marked as important. Application crashes are not only annoying for end users, they should be handled with high priority because they could be a sign for quality/security/development weaknesses. As an alternative you could add stress and penetration tests to your test strategy. Hope it helps :) /M

        Chat in Europe :java: Now with 24% more Twitter

        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