ID:               27747
 User updated by:  T dot Hauck at janaserver dot de
 Reported By:      T dot Hauck at janaserver dot de
 Status:           Open
 Bug Type:         *General Issues
 Operating System: W2k
 PHP Version:      4.3.5
 New Comment:

Hallo,



i compiled the php source and run it in debugger of the webserver. I'am
not sure if i'am right but i found a few strange things.



1.) If the thread on the server exist how called the
"HttpExtensionProc" the DLLMain function in the "php4isapi.dll" is
called and runs this code.

    case DLL_THREAD_DETACH:

        ts_free_thread();

        break;



after that the thread exit procedure in windows it self crashes. I have
to tell you the webserver runs every call to the "HttpExtensionProc" in
his own thread, so that DLL_THREAD_DETACH: is called after evry php
call.

Because the same "php4isapi.dll" with older "php4ts.dll" version work,
i think the error must be somewhere "ts_free_thread();" funktion.





To other messager showed in the debugterminal up:

c:\work\php-4.3.5\zend\zend_hash.c(544) : ht=0x014f0820 is already
destroyed

c:\work\php-4.3.5\zend\zend_hash.c(108) : Bailed out without a bailout
address!



I don't now if they have something todo with it.



If you need mor information or what every, "i'll be back" on monday
morning GMT+0200



Thomas


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

[2004-04-02 02:42:10] T dot Hauck at janaserver dot de

No still crashes. and it still is in the "php4ts.dll". Useing the ISAPI
DLL with a older "php4ts.dll" is works.



I would spend the time and help you find the error, but i can't compile
the source code with my VS 6.0 SP4 or VS.NET 2003 It looks for some
Header files i don't have.



#include "arp/inet.h"

#include "zlib.h"

#include "sys/cdefs.h"

#include "netdb.h"

...

...

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

[2004-04-01 17:10:17] [EMAIL PROTECTED]

Could you please try
http://downloads.php.net/ilia/php-4.3.6RC1-Win32.zip

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

[2004-03-30 11:17:54] T dot Hauck at janaserver dot de

No, i do not have the Zend extensions loaded, i don't have any
extension loaded right now.

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

[2004-03-30 10:35:44] [EMAIL PROTECTED]

Do you have any Zend extensions being loaded in php.ini? 

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

[2004-03-30 10:08:03] T dot Hauck at janaserver dot de

With the isapi dll from version 4.3.4 is now diffrent, php crashes. 

Useing the "php4isapi.dll" from version 4.3.5 and the "php4ts.dll" from
version 4.3.4 does NOT crash, and everything works fine. So the error
must be in the "php4ts.dll"



So i think the "php4ts.dll" raises some kind of exeption, what is
catched in the "php4isapi.dll", how is than terminating the thread (on
the server) how called the "HttpExtensionProc" function.



Thomas

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/27747

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

Reply via email to