www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ronald Bernhardt <Ronald.Bernha...@de.bosch.com>
Subject mod_isapi/8563: Apache crashes when using precached isapi-dll (ISAPICacheFile)
Date Wed, 17 Oct 2001 11:03:51 GMT

>Number:         8563
>Category:       mod_isapi
>Synopsis:       Apache crashes when using precached isapi-dll (ISAPICacheFile)
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Oct 17 04:10:01 PDT 2001
>Originator:     Ronald.Bernhardt@de.bosch.com
>Release:        2.016 (beta)
Windows 2000, sp2; VC++ 6.0
Apache crashes when an isapi exention dll that exports the cleanup method TerminateExtension
is precached by means of ISAPICacheFile statement in the config-file. This is because Apache
read and executes the config file twice. When cleaning up the isapi-dll is first unloaded
and than Apache tries to execute TerminateExtension, which clearly fails.
Precache an Isapi-Extension dll e.g. IIS-Sample "Simple" included in Plattform SDK Samples
(Plattform SDK\samples\web\iis\isapi\extension\simple). 

In httpd.conf:
AddHandler isapi-isa .dll
ISAPICacheFile C:\Apache2.0\cgi-bin\simple.dll

the cleanup handlers (dll unload / TerminateExtension) for isapi-dll should be inserted in
different order in the cleanup list und therefore executed in different order
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message