ID:               33118
 User updated by:  T dot Hauck at janaserver dot de
 Reported By:      T dot Hauck at janaserver dot de
 Status:           Open
 Bug Type:         IIS related
 Operating System: Windows 2000 / XP / All
 PHP Version:      5.0.4, 4.3.11
 New Comment:

i don't know if bug #32475 is relatet!

But when is the function "openlog" in the file "wsyslog" is called? Not
as far as i know! This function makes the handle that later will be used
in the function "closelog". As far as i can see this, this handle is
never be initalised, and by calling the "closelog" function this "wild"
handle is used to call the "DeregisterEventSource" handle, what
generates than the Exeption. If i step with the debugger over the
"DeregisterEventSource" function everything works fine !


Previous Comments:
------------------------------------------------------------------------

[2005-05-27 09:03:27] [EMAIL PROTECTED]

See also bug #32475


------------------------------------------------------------------------

[2005-05-24 11:51:01] [EMAIL PROTECTED]

Yes, but it does exist in 5.0.4 too..


------------------------------------------------------------------------

[2005-05-24 11:48:33] T dot Hauck at janaserver dot de

Memeory leak still exist in the Snap Shot of Version 5.0.5 dev.

The Bugreport was original reported for Version 4.3.11 and not for
Version 5.0.4 !

------------------------------------------------------------------------

[2005-05-24 10:00:56] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.0-win32-latest.zip



------------------------------------------------------------------------

[2005-05-24 09:40:32] T dot Hauck at janaserver dot de

Description:
------------
In each call to the HttpExtensionProc in the ISAPI Modul of PHP a
Windows exception 0x000006A6 is raised. I debuged it back to the that
line of sourcecode: DeregisterEventSource(PW32G(log_source));
Line 64 in file wsyslog.c

After stepping into that line the exception 0x000006A6 is raised.

The Stackframe looks like that:
php4ts_debug.dll!closelog() Line 64
php4ts_debug.dll!zm_deactivate_syslog (....) Line 125
php4ts_debug.dll!zm_deactivate_basic (....) Line 1243
php4ts_debug.dll!modul_registry_cleanup (....) Line 1168
php4ts_debug.dll!zend_hash_apply (....) Line 701
php4ts_debug.dll!zend_deactivate_moduls (....) Line 678
php4ts_debug.dll!php_request_shutdown (....) Line 982
php4isapi.dll!HttpExtensionProc (....) Line 899

I have a screenshot avalible with all the details of the stackframe.

In normal operation mode, the only sign will be only a memory leak. 

The problem was NOT pressent in version 4.3.10.
But PHP version 5.0.4 has the same problem.




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=33118&edit=1

Reply via email to