{
  "changes": [],
  "conditions": [
    {
      "code": "app_crash_recurring",
      "consider": [
        "Whether the program, or an add-in it loads, was updated or changed around when the crashes began.",
        "The individual Application crashed events: whether the faulting module and exception are the same each time.",
        "Update, repair or reinstall the program, or remove the add-in the faulting module belongs to."
      ],
      "ends": "Ends when the program has gone 7 days without a crash, and the machine has spent at least 2 days of that time awake with its Application log read without a gap.",
      "explanation": "The agent counts crashes per program, by executable file name, over the last several days, so a crash every day or two adds up even when no single crash looks serious. It names the newest crash's exception, faulting module and program version. The same faulting module and exception each time point at one bug, often in an add-in, a plugin or a recent update of the program. Programs SparkLogs marks as not worth reporting, and SparkLogs' own programs, do not raise it; their crashes still arrive as Application crashed events.",
      "impact": "Each crash closes the program: its users lose unsaved work and start again, and a service or background job it runs stops each time.",
      "label": "Application crashing repeatedly",
      "scenario": "A vendor's helper program on a reception PC crashes three times in five days.",
      "severity": {
        "from": "Display",
        "to": "Serious"
      },
      "severityText": "Starts at 3 crashes in 5 days, or 5 in 10 days. A program SparkLogs lists by name becomes more severe as the crashes come faster, up to the level SparkLogs sets for it, at most Serious. Any other program goes no higher than Notice, at 10 crashes in a day.",
      "summary": "One program on this machine keeps crashing."
    }
  ],
  "fieldGroups": [
    {
      "id": "application",
      "title": "Application"
    },
    {
      "id": "newest_crash",
      "title": "Newest crash"
    },
    {
      "id": "history",
      "title": "Crash history"
    }
  ],
  "fieldPrefix": "sparklogs.data.app_crashes.",
  "fields": [
    {
      "doc": "The crashed program's file name, lowercase: what the row counts.",
      "group": "application",
      "name": "app_name",
      "type": "string"
    },
    {
      "doc": "Whether SparkLogs classifies this program. A crash of an unclassified program is at most Notice; a classified one can reach its class's higher severity.",
      "group": "application",
      "name": "process_classified",
      "type": "bool",
      "usedBy": [
        "app_crash_recurring"
      ]
    },
    {
      "doc": "The full path of the program in its newest crash.",
      "group": "application",
      "name": "app_path",
      "type": "string"
    },
    {
      "doc": "The program's file version in its newest crash.",
      "group": "application",
      "name": "app_version",
      "type": "string"
    },
    {
      "doc": "What ended the newest crash: the .NET exception type when the runtime reported one, otherwise the name of the exception code, such as `STATUS_ACCESS_VIOLATION`. Absent when no name is known.",
      "group": "newest_crash",
      "name": "failure_name",
      "type": "string"
    },
    {
      "doc": "The code table the exception code belongs to: always `ntstatus`. A .NET exception type in `failure_name` is not from that table. Present whenever the code is.",
      "group": "newest_crash",
      "name": "failure_space",
      "type": "string"
    },
    {
      "doc": "The newest crash's exception code, as `0x` and 8 hex digits.",
      "group": "newest_crash",
      "name": "failure_code",
      "type": "string"
    },
    {
      "doc": "The module the newest crash record names as faulting. Windows reports it; it is not proof of the cause.",
      "group": "newest_crash",
      "name": "fault_module",
      "type": "string"
    },
    {
      "doc": "The faulting module's file version.",
      "group": "newest_crash",
      "name": "fault_module_version",
      "type": "string"
    },
    {
      "doc": "The module the newest analyzed dump blamed: the first on the crashing stack outside the Windows folder. Where to look first in a debugger, not proof of the cause.",
      "group": "newest_crash",
      "name": "blame_module",
      "type": "string"
    },
    {
      "doc": "Where in the blamed module the crashing frame was, in hex.",
      "group": "newest_crash",
      "name": "blame_offset",
      "type": "string"
    },
    {
      "doc": "The top line of the .NET stack for the newest crash: the first `at` line of the `.NET Runtime` event 1026. Text from the crashed program, so treat it as untrusted.",
      "group": "newest_crash",
      "name": "managed_frame",
      "type": "string"
    },
    {
      "doc": "The newest crash of this program.",
      "group": "newest_crash",
      "name": "last_crash_ts",
      "type": "string",
      "unit": "timestamp"
    },
    {
      "doc": "How the newest crash's dump analysis went, with the same values as the crash event's `analysis`. Absent for a crash recorded by an agent that did not yet keep it.",
      "group": "newest_crash",
      "name": "last_analysis",
      "type": "string"
    },
    {
      "counts": {
        "lastTsField": "last_crash_ts",
        "perInstance": true,
        "reasons": [
          "process_crash"
        ]
      },
      "doc": "Crashes of this program in the last day. A crash near the start of the day can be left out.",
      "group": "history",
      "name": "count_1d",
      "type": "integer",
      "unit": "count",
      "usedBy": [
        "app_crash_recurring"
      ]
    },
    {
      "counts": {
        "lastTsField": "last_crash_ts",
        "perInstance": true,
        "reasons": [
          "process_crash"
        ]
      },
      "doc": "Crashes of this program in the last five days. A crash on the first of the five days can be left out.",
      "group": "history",
      "name": "count_5d",
      "type": "integer",
      "unit": "count",
      "usedBy": [
        "app_crash_recurring"
      ]
    },
    {
      "counts": {
        "lastTsField": "last_crash_ts",
        "perInstance": true,
        "reasons": [
          "process_crash"
        ]
      },
      "doc": "Crashes of this program in the last ten days. A crash on the first of the ten days can be left out. Only the 64 programs with the most crashes get rows.",
      "group": "history",
      "name": "count_10d",
      "type": "integer",
      "unit": "count",
      "usedBy": [
        "app_crash_recurring"
      ]
    },
    {
      "doc": "How long since this program's newest crash.",
      "group": "history",
      "name": "days_since_last",
      "type": "float",
      "unit": "days",
      "usedBy": [
        "app_crash_recurring"
      ]
    },
    {
      "doc": "How many days the machine has been awake without this program crashing, counted from its newest crash or from when the agent last started reading the Application log without a break, whichever is later. Sleep and low-power idle do not count. Absent when the agent cannot account for the machine's awake time.",
      "group": "history",
      "name": "quiet_awake_days",
      "type": "float",
      "unit": "days",
      "usedBy": [
        "app_crash_recurring"
      ]
    },
    {
      "doc": "The oldest crash of this program in the last thirty days.",
      "group": "history",
      "name": "first_seen_ts",
      "type": "string",
      "unit": "timestamp"
    },
    {
      "doc": "Crashes of this program in the last thirty days whose dump analysis completed.",
      "group": "history",
      "name": "analyzed_count",
      "type": "integer",
      "unit": "count"
    }
  ],
  "name": "Application crash recurrence",
  "occurrences": [],
  "page": "/docs/it-fleet-intelligence/reference/topics/app-crashes",
  "status": "live",
  "summary": "Per-executable crash recurrence: which applications keep crashing on a host, and how often.",
  "topic": "app_crashes"
}
