|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-11-11 16:50 UTC] jitudavda at hotmail dot com
Description:
------------
Steps Done by me: [more than one time :-( ]
Step 1] Install PHP with windows installer.
Step 2] Run index.php with only code <?php phpinfo();
Behaviour: No output in browser, it's loading... for long time.
Step 3] open cmd and run "php -i"
Behaviour: After long output of .ini config, at last it gives the windows dialog with information "'CLI has encountered a problem and needs to close' and on details part, ModName:php5ts.dll"
Event Log: Dr.Watson, information as below.
===========================================
The application, D:\PHP\php.exe, generated an application error The error occurred on 11/11/2006 @ 21:24:31.089 The exception generated was c0000005 at address 100974CD (php5ts!zend_hash_destroy)
===========================================
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 03:00:01 2025 UTC |
Here is the Stack: 1] zend_hash_destroy(_hashtable * 0x100076cc) line 517 + 7 bytes 2] module_registry_cleanup(_zend_module_entry * 0x013b7788, void * * * 0x00282900) line 1945 + 17 bytes 3] zend_hash_apply(_hashtable * 0x10002562, int (void *, void * * *)* 0x102cc8a0 _module_registry, void * * * 0x100076b0 module_registry_cleanup(_zend_module_entry *, void * * *)) line 668 + 9 bytes 4] zend_deactivate_modules(void * * * 0x0000078c) line 819 + 16 bytes Below is the "Locals" values ======================================= - ht->pListHead 0x04244c8b h CXX0030: Error: expression cannot be evaluated nKeyLength CXX0030: Error: expression cannot be evaluated pData CXX0030: Error: expression cannot be evaluated pDataPtr CXX0030: Error: expression cannot be evaluated pListNext CXX0030: Error: expression cannot be evaluated pListLast CXX0030: Error: expression cannot be evaluated pNext CXX0030: Error: expression cannot be evaluated pLast CXX0030: Error: expression cannot be evaluated - arKey 0x04244cab "" [0] CXX0030: Error: expression cannot be evaluated If you need anymore information, please let me know. I've setup to build from source of PHP, using "php5.2-200611160730.tar.gz" Thank you. JitendraPlease review three points below. ==1] ================================= The problem is raised while executing the following function as start point. File: sapi\cli\php_cli.c LINE: 1258 CODE-SNAP: ========================================================= if (request_started) { php_request_shutdown((void *) 0); } ========================================================= ==2] ================================== Deadlock situation is created in the code as detailed below. File Name: \Zend\zend_hash.c Function: ZEND_API void zend_hash_destroy(HashTable *ht) Place: while(p != NULL) Exception: Access Denied. ====================================== ==3] ==================================== Below is the content of "Auto" of the module_registry_cleanup function call. ====================================================== - module 0x013b7788 size 88 zend_api 20060613 zend_debug 0 '' zts 1 '' + ini_entry 0x00000000 + deps 0x00000000 + name 0x01b22100 "threads" - functions 0x01b23010 + fname 0x01b22188 "thread_start" handler 0x01b21670 + arg_info 0x00000000 num_args 4294967295 flags 0 module_startup_func 0x01b21240 module_shutdown_func 0x01b21270 request_startup_func 0x01b21280 request_shutdown_func 0x01b212f0 info_func 0x01b21350 + version 0x01b220fc "0.1" globals_size 0 + globals_id_ptr 0x00000000 globals_ctor 0x00000000 globals_dtor 0x00000000 post_deactivate_func 0x00000000 module_started 1 type 1 '' handle 0x01b20000 module_number 41 module->module_number 41 + module->name 0x01b22100 "threads" module->request_shutdown_func 0x01b212f0 module->type 1 '' zend_printf 0x100b4bb0 php_printf(const char *, <no type>) ======================================================