Bug 39930

Summary: Application Popup hangs the Server
Product: Apache httpd-2 Reporter: Christian Verdelli <christian.verdelli>
Component: AllAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: RESOLVED INVALID    
Severity: major Keywords: ErrorMessage
Priority: P2    
Version: 2.0.55   
Target Milestone: ---   
Hardware: Other   
OS: Windows Server 2003   

Description Christian Verdelli 2006-06-29 09:40:39 UTC
I'm running two Apache 2.0.55 SSL, reverse proxy configuration.
Once per day(at least) one request generates the error:

Application popup: Apache.exe - Application Error :
The instruction at "0x008279c6" referenced memory at "0x5e639389".
The memory could not be "written".

Click on OK to terminate the program


And it waits for the click! The system is unattended being production
system, so no one is phisycally there to press ok.

Looking on the Microsoft site i've found an article saying to modify
the parameter ErrorMode in the registry to get rid of the Popups.
It didn't help me, so i looked in the code, dso.c and i've found this :

/* Prevent ugly popups from killing our app */
        em = SetErrorMode(SEM_FAILCRITICALERRORS);
        os_handle = LoadLibraryEx(path, NULL, LOAD_WITH_ALTERED_SEARCH_PATH);
        if (!os_handle)
            os_handle = LoadLibraryEx(path, NULL, 0);
        if (!os_handle)
            rv = apr_get_os_error();
        else
            rv = APR_SUCCESS;
        SetErrorMode(em);
    }


Well, it looks like its fixed, but im going on getting these nagging 
errors. 

Any suggestion guys?
Comment 1 William A. Rowe Jr. 2006-06-29 12:14:58 UTC
Don't use bugzilla for user support questions, please.  If you identify the
solution, feel free to ammend this as a doc enhancement report/patch.

Have you taken a look at your Dr. Watson or other installed debugger settings?

Comment 2 Christian Verdelli 2006-08-17 08:20:25 UTC
Since your reply i've enabled Dr.Watson debugger on the system and they didn't 
crash anymore!!