Program crashes on start randomly

Preethi Ravi 55 Reputation points
2024-04-11T10:19:56.5+00:00

I have an application that streams audio over a websocket connection which records/renders it from the device. When the application launches, Windows closes it with the following error message displayed in the event viewer.

Faulting application name: ZAAudioClient.exe, version: 1.0.0.6, time stamp: 0x654b75be
Faulting module name: ZAAudioClient.exe, version: 1.0.0.6, time stamp: 0x654b75be
Exception code: 0xc000001d
Fault offset: 0x000d042d
Faulting process id: 0x2684
Faulting application start time: 0x01da1bd5fccdbe9e
Faulting application path: C:\Program Files (x86)\ZAAudioClient.exe
Faulting module path: C:\Program Files (x86)\ZAAudioClient.exe
Report Id: 72dee3cc-e5ac-476d-bb0e-a5a383f164e7
Faulting package full name: 
Faulting package-relative application ID: 
Windows cannot access the file  for one of the following reasons: there is a problem with the network connection, the disk that the file is stored on, or the storage drivers installed on this computer; or the disk is missing. Windows closed the program because of this error.
File: 
The error value is listed in the Additional Data section.
User Action
Open the file again. This situation might be a temporary problem that corrects itself when the program runs again.
If the file still cannot be accessed and
It is on the network, your network administrator should verify that there is not a problem with the network and that the server can be contacted.
It is on a removable disk, for example, a floppy disk or CD-ROM, verify that the disk is fully inserted into the computer.
Check and repair the file system by running CHKDSK. To run CHKDSK, click Start, click Run, type CMD, and then click OK. At the command prompt, type CHKDSK /F, and then press ENTER.
If the problem persists, restore the file from a backup copy.
Determine whether other files on the same disk can be opened. If not, the disk might be damaged. If it is a hard disk, contact your administrator or computer hardware vendor for further assistance.
Additional Data
Error value: 00000000
Disk type: 0

This does not occur in all devices or specific OS. It occurs randomly in different environmental setups. The program is written in C++. The application does not get closed after execution of any specific line of code. Tried the steps mentioned in the above error, it din't work. When does this happen and how to debug this.

Thanks in advance.

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,758 questions
{count} vote

Accepted answer
  1. Karlie Weng 14,106 Reputation points Microsoft Vendor
    2024-04-15T23:30:16.9166667+00:00

    Hello,

    You can follow this link to config a crash dump trigger in your PC.

    https://learn.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps

    Be aware that it will only trigger when you have application ID 1000 (WER crash) in your event log. Subsequently, a dump will be created in your specified location, where you can locate the error stack within your program.


    If the Answer is helpful, please click "Accept Answer" and upvote it.


0 additional answers

Sort by: Most helpful