Note that there are some explanatory texts on larger screens.

plurals
  1. POCommit Hook Failure
    text
    copied!<p>I'm trying to implement some hooks, both pre and post fail however. I get the same error message for both when I try to commit:</p> <pre> '*-commit' hook failed (did not exit cleanly: apr_exit_why_e was 2, exitcode was -1073741515). with no output. </pre> <p>Exitcode -1073741515 looks to be an odd one, and a quick bit of google-fu got me this:</p> <blockquote> <p>Treated as a hex DWORD, the error code you are seeing is 0xC0000135.</p> <p>That is Sev=11, C=0, R=0, Facility=0, Code=0x0135.</p> <p>The value 0xC0000135 can be found in NtStatus.h with the following definition</p> </blockquote> <pre><code>// // MessageId: STATUS_DLL_NOT_FOUND // // MessageText: // // {Unable To Locate Component} // This application has failed to start because %hs was not found. // Re-installing the application may fix this problem. // #define STATUS_DLL_NOT_FOUND ((NTSTATUS)0xC0000135L) </code></pre> <p>Ok, dll not found, shouldn't be too difficult right? I have a VM with svn on it that's being peaceful with these hooks. So I run Filemon.exe and Depends.exe on both machines. </p> <p>I'm still slogging through the filemon logs for both servers, and depends isn't giving me any unique problems with any executable that I can think of being hit by a Commit Hook.</p> <p>I decided to take a quick peek in the event logs, and Oh Boy!</p> <blockquote> <p>'pre-commit' hook failed (did not exit cleanly: apr_exit_why_e was 2, exitcode was -1073741515). with no output. [409, #165001]</p> </blockquote> <p>Extra smidgens of information, this [409, #165001] is all over google, but I'm not really picking up anything helpful.</p> <p>The hook is explicitly calling an executable with three parameters.</p> <blockquote> <p>C:\SubversionNotify\SubversionNotify.exe %1 %2 -pre</p> </blockquote> <p>I've even tried to use variables as well.</p> <pre><code>SET REPOS=%1 SET REV=%2 C:\SubversionNotify\SubversionNotify.exe %REPOS% %REV% -pre </code></pre> <p>Looking in the filemon logs shows me that it never makes it to SubversionNotify.exe</p> <p>It's getting to the point where I can't really spend much more time trying to implement this, help me SO, you're my only hope.</p> <p>Server Specs:</p> <blockquote> <p>Windows XP, running VisualSVN Server, latest release.</p> </blockquote> <p>Edit: It seems as though SubversionNotify is throwing the exception, back to Depends.exe to check to see what dll is failing.</p> <p>Error is as follows:</p> <blockquote> <p>The application failed to initialize properly (0xc0000135).</p> </blockquote> <p>That 0xC0000135 was seen earlier, dll hunt ahoy!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload