rtadams89 Posted June 2, 2009 Share Posted June 2, 2009 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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.