Jump to content

Analyzing minidumps via PHP Website


rtadams89

Recommended Posts

I'm trying to create a PHP website that will analyze Windows minidump files. I am using the Microsoft Debugger Tools, and specifically kd.exe, to analyze minidumps. If I'm interacting with the computer PHP/Apache is running on, I can open a command prompt and type:

"c:\program files\debugging tools for windows (x86)\kd.exe" -y srv*c:\symbols*http://msdl.microsoft.com/download/symbols -i c:\windows\i386 -z c:\test.dmp

This will tell me what file caused the crash recorded in the test.dmp minidump file.

 

I'm trying to run this same command in a PHP web page using:

 

passthru("\"c:\program files\debugging tools for windows (x86)\kd.exe\" -y srv*c:\symbols*http://msdl.microsoft.com/download/symbols -i c:\windows\i386 -z c:\test.dmp")

 

Unfortunately, this causes PHP and the web server to hang. I suspect this happens because kd.exe doesn't automatically quit after running. Instead, it goes to a kd.exe debugger prompt.

 

Any ideas about how to go about getting the output of kd.exe using PHP?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.