stephenfewer / grinder

Grinder is a system to automate the fuzzing of web browsers and the management of a large number of crashes.
BSD 3-Clause "New" or "Revised" License
414 stars 131 forks source link

posting to status.php, not writing log file #12

Closed alienatorZ closed 11 years ago

alienatorZ commented 11 years ago

On a Windows 7 32bit with IE 8 inside Virtualbox I have this problem....

[-D-] Failed to post crash to '127.0.0.1/grinder/status.php

I also see this:

-D-] Error, unable to save the log file 'C:\Users\Adam\AppData\Local\Temp\Low\l ogger_3752.xml' (File doesnt exist) [-D-] Failed to save the log file.

I dont know if they have the same cause but I cant figure out how to fix. here is a full dump:

[+G+] Starting at 2013-08-15 07:33:19 [+G+] Using the config file 'config'... [+G+] Bringing up Grinder node 'localIE'... [+G+] Started the Grinder continue process 3532 [+S+] Starting at 2013-08-15 07:33:20 [+S+] Adding fuzzer 'SimpleExample' to the testcase server [+S+] Testcase server running on 127.0.0.1:8080 [+G+] Started the Grinder server process 3508 [+G+] Started the Grinder debugger process 3584 [+D+] Starting at 2013-08-15 07:33:23 [+D+] Using the symbol path 'SRV_C:\Users\Adam\symbols_http://msdl.microsoft.co m/download/symbols' [+D+] Running 'C:\Program Files\Internet Explorer\iexplore.exe' [+D+] Attached debugger to new process 3600 [+D+] Logger DLL loaded into process 3600 @ 0x74A40000 [+D+] Logging process 3600 to log file 'C:\Users\Adam\AppData\Local\Temp\Low\log ger_3600.xml' [+D+] Attached debugger to new process 3752 [+D+] Logger DLL loaded into process 3752 @ 0x74A40000 [+D+] Logging process 3752 to log file 'C:\Users\Adam\AppData\Local\Temp\Low\log ger_3752.xml' [+D+] jscript.dll DLL loaded into process 3752 at address 0x6B8C0000 [+D+] Resolved jscript!StrToDbl @ 0x6B8D7C37 [+D+] Hooked JavaScript parseFloat() to grinder_logger.dll via proxy @ 0x02C0000 0 [-D-] Error, unable to save the log file 'C:\Users\Adam\AppData\Local\Temp\Low\l ogger_3752.xml' (File doesnt exist) [-D-] Failed to save the log file. [D] [D] Caught a Read Access Violation in IE8 process 3752 at 2013-08-15 07:33:33 with a crash hash of 6AD5B069.D9D65F1C [-D-] Failed to post crash to '127.0.0.1/grinder/status.php' [D] [+D+] Finished at 2013-08-15 07:33:33 [+G+] Started the Grinder debugger process 3168 [+D+] Starting at 2013-08-15 07:33:34 [+D+] Using the symbol path 'SRV_C:\Users\Adam\symbols_http://msdl.microsoft.co m/download/symbols' [+D+] Running 'C:\Program Files\Internet Explorer\iexplore.exe' [+D+] Attached debugger to new process 2288 [+D+] Logger DLL loaded into process 2288 @ 0x749E0000 [+D+] Logging process 2288 to log file 'C:\Users\Adam\AppData\Local\Temp\Low\log ger_2288.xml' [+D+] Attached debugger to new process 2888 [+D+] Logger DLL loaded into process 2888 @ 0x749E0000 [+D+] Logging process 2888 to log file 'C:\Users\Adam\AppData\Local\Temp\Low\log ger_2888.xml' [+D+] jscript.dll DLL loaded into process 2888 at address 0x6B890000 [+D+] Resolved jscript!StrToDbl @ 0x6B8A7C37 [+D+] Hooked JavaScript parseFloat() to grinder_logger.dll via proxy @ 0x0260000 .........

Any ideas?

Thanks

stephenfewer commented 11 years ago

Hi looks like two different problems here:

  1. Is the Grinder server installed correctly at http://127.0.0.1:80/ (e.g. can you browse to this address and log in? If not you need to install the Grinder server correctly (https://github.com/stephenfewer/grinder#installing-a-grinder-server) or alternatively just don't use a Grinder server (edit the config.rg and nil out the $webstats_baseurl variable). This way the Grinder node wont try to post the results when a crash is generated.
  2. Are any log file being created in the temp directory? If you edited the SimpleExample fuzzer, perhaps double check the logger.starting() and logger.finished() calls are preserved as they are important. One edge case can be when you crash the broker process instead of a tab process (logging occurs in the tab process where you JS runs) and then no log file can be created, however this is rare.
alienatorZ commented 11 years ago

Thank you for your response.

I believe the server is set up correctly. I installed and the tests were sucessful. The index.php page shows my node as active but shows 0 crashes reported even though I can get it to crash a bunch of times.

No crashes are showing in the temp directory. I set permissions to let any user write to the directory and still nothing. I am using the unedited example fuzzer from the latest .zip posted here.