ID:               41864
 Updated by:       [EMAIL PROTECTED]
 Reported By:      deepermm at web dot de
-Status:           Open
+Status:           Bogus
 Bug Type:         CGI related
 Operating System: Windows Vista
 PHP Version:      5CVS-2007-07-01 (snap)
 New Comment:

This is wrong place to report bugs in PECL extensions.


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

[2007-07-01 13:15:51] deepermm at web dot de

not loading php_threads.dll works around that

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

[2007-07-01 13:07:30] deepermm at web dot de

Rechecked: It also crashes upon die() and exit(), this time apache
suffers as well.

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

[2007-07-01 13:02:32] deepermm at web dot de

Description:
------------
When running the 5.2.4-dev (5.2.2.4) php.exe, php-win.exe or
php-cgi.exe from either the command line or the explorer, using any
command line options, windows will generate an "CLI does not work
anymore" error as soon as the applications exits.

When viewing pages through the Apache 2.2 php module, everything works
fine.

Reproduce code:
---------------
just run the CLI and exit witth CTRL-Z or run with any command line
options

Expected result:
----------------
clean exit

Actual result:
--------------
Visual Studio quotes an "Unhandled exception at 0x10099c2d in php.exe:
0xC0000005: Access violation reading location 0x00000014.", the call
stack shows that the call comes from php5ts.dll!10099c2d() in an earlier
stage.

Windows Event log gives

Application Error, Event-ID: 1000, Level: 2, Task category: 100,
Keyword: 0x80000000000000 (classic), Protocol channel: Application
Error in php.exe (5.2.4.4), failing module: php5ts.dll (5.2.4.4)
Timestamp 0x4687981e, Exception code 0xc0000005, Error offset 00099c2d
Process ID b98, Application start time 01c7bbddaf3efa82.

Visual Studio backtrace:

>       php5ts.dll!zend_hash_destroy(_hashtable * ht=0x00000001)  Line 522 +
0x7 bytes       C
        php5ts.dll!module_registry_cleanup(_zend_module_entry *
module=0x01a5de98, void * * * tsrm_ls=0x0015f860)  Line 1946 + 0x11
bytes   C
        php5ts.dll!zend_hash_apply(_hashtable * ht=0x104b0fc0, int (void *,
void * * *)* apply_func=0x100078b0, void * * * tsrm_ls=0x0015f860)  Line
673 + 0x9 bytes C
        php5ts.dll!zend_deactivate_modules(void * * * tsrm_ls=0x0015f860) 
Line 838 + 0x10 bytes   C
        php5ts.dll!php_request_shutdown(void * dummy=0x00000000)  Line
1317    C
        php.exe!main(int argc=1, char * * argv=0x0015f838)  Line 1332 + 0x8
bytes   C
        php.exe!_mainCRTStartup()  + 0xe3 bytes 
        kernel32.dll!77343833()         
        [Frames below may be incorrect and/or missing, no symbols loaded for
kernel32.dll]   
        ntdll.dll!77a1a9bd()    



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


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

Reply via email to