|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-04-18 19:12 UTC] tomed at tledwards dot com
Description: ------------ Apache is crashing and the only trace is found in the Windows eventlog with the type=error, source=application error. The actual error is: Faulting application Apache.exe, version 0.0.0.0, faulting module php5apache.dll, version 0.0.0.0, fault address 0x0002ed38. I've searched hi and low on this crash and have found tons of people with this problem, and there is no resolution. The bug seems to have been around since early 2004. Reproduce code: --------------- <?php print_r(apache_get_modules()); ?> Expected result: ---------------- I expect there not to be a webserver crash Actual result: -------------- Apache crashes: Faulting application Apache.exe, version 0.0.0.0, faulting module php5apache.dll, version 0.0.0.0, fault address 0x0002ed38. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 16:00:01 2025 UTC |
When I produce the crash here's what happens: 1. VS.Net opens and I point it to php_apache.c. 2. Then I get a dialog with Break and Continue buttons. 3. It won't continue and is stuck on Line 529 of php_apache.c which is: if ((p = strchr(s, '.'))) { and the error in the MSDE dialog says: Unhandled exception at 0x10002ec4 (php5apache.dll) in Apache.exe: 0xC0000005: Access violation reading location 0x400c25ff 4. When I click Break, the Call Stack window has a yellow error pointing to the following line: > php5apache.dll!zif_apache_get_modules(int ht=21758312, _zval_struct * return_value=0x006df315, _zval_struct * * return_value_ptr=0x0164fac0, _zval_struct * this_ptr=0x014ceac8, int return_value_used=84987284, void * * * tsrm_ls=0x014ceac8) Line 529 + 0x8 C 5. When I highlight the entire callstack window and copy below are the contents: php5apache.dll!zif_apache_get_modules(int ht=21758312, _zval_struct * return_value=0x006df315, _zval_struct * * return_value_ptr=0x0164fac0, _zval_struct * this_ptr=0x014ceac8, int return_value_used=84987284, void * * * tsrm_ls=0x014ceac8) Line 529 + 0x8 C > php5ts.dll!ZEND_DO_FCALL_SPEC_CONST_HANDLER(_zend_execute_data * execute_data=0x014fc3d0, void * * * tsrm_ls=0x00764430) Line 1635 + 0x28 C php5ts.dll!_efree(void * ptr=0x0510ccb8) Line 275 + 0xc C php5ts.dll!zend_execute_scripts(int type=8, void * * * tsrm_ls=0x014ceac8, _zval_struct * * retval=0x00000000, int file_count=3, ...) Line 1110 C php5ts.dll!php_execute_script(_zend_file_handle * primary_file=0x05100178, void * * * tsrm_ls=0x0000686f) Line 1732 + 0x12 C msvcrt.dll!77bc5a8e() ntdll.dll!7c82fb23() php5ts.dll!_emalloc(unsigned int size=6625792) Line 182 + 0x1d C php_msql.dll!0108119b() php5ts.dll!module_registry_request_startup(_zend_module_entry * module=0x0164ffa8, void * * * tsrm_ls=0x00000000) Line 1835 + 0x11 C php5apache.dll!send_php(request_rec * r=0x0164fddc, int display_source_mode=21818056, char * filename=0x00000000) Line 597 + 0x5b C php5apache.dll!apache_php_module_main(request_rec * r=0x01453308, int display_source_mode=0, void * * * tsrm_ls=0x014ceac8) Line 53 + 0x1b C php5apache.dll!send_php(request_rec * r=0x01453308, int display_source_mode=0, char * filename=0x01454fc8) Line 661 + 0xb C php5apache.dll!send_parsed_php(request_rec * r=0x01453308) Line 675 + 0xe C ApacheCore.dll!6ff64be7() ApacheCore.dll!6ff746a4() ApacheCore.dll!6ff74416() ApacheCore.dll!6ff6be2b() msvcrt.dll!77bcb530() kernel32.dll!77e66063()