ID:               37127
 User updated by:  tomed at tledwards dot com
 Reported By:      tomed at tledwards dot com
 Status:           Bogus
 Bug Type:         Apache related
 Operating System: Windows Server 2003
 PHP Version:      5.1.2
 New Comment:

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()


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

[2006-04-19 11:48:04] tomed at tledwards dot com

This appears to be the backtrace you need.

>       php5apache.dll!zif_apache_get_modules(int ht=22222040, _zval_struct *
return_value=0x006df315, _zval_struct * * return_value_ptr=0x0174fac0,
_zval_struct * this_ptr=0x0153c038, int return_value_used=93769108,
void * * * tsrm_ls=0x0153c038)  Line 529 + 0x8  C
        php5ts.dll!ZEND_DO_FCALL_SPEC_CONST_HANDLER(_zend_execute_data *
execute_data=0x059b8e68, void * * * tsrm_ls=0x00764430)  Line 1635 +
0x28    C
        php5ts.dll!_efree(void * ptr=0x0596ccb8)  Line 275 + 0xc        C
        php5ts.dll!zend_execute_scripts(int type=8, void * * *
tsrm_ls=0x0153c038, _zval_struct * * retval=0x00000000, int
file_count=3, ...)  Line 1110   C
        php5ts.dll!php_execute_script(_zend_file_handle *
primary_file=0x05960178, void * * * tsrm_ls=0x0000686f)  Line 1732 +
0x12    C
        msvcrt.dll!77bc5a8e()   
        ntdll.dll!7c82fb23()    
        php5ts.dll!_emalloc(unsigned int size=6625712)  Line 182 + 0x1d C
        php_msql.dll!0108119b()         
        php5ts.dll!module_registry_request_startup(_zend_module_entry *
module=0x0174ffa8, void * * * tsrm_ls=0x00000000)  Line 1835 + 0x11     C
        php5apache.dll!send_php(request_rec * r=0x0174fddc, int
display_source_mode=22265912, char * filename=0x00000000)  Line 597 +
0x5b    C
        php5apache.dll!apache_php_module_main(request_rec * r=0x01452e08, int
display_source_mode=0, void * * * tsrm_ls=0x0153c038)  Line 53 + 0x1b   C
        php5apache.dll!send_php(request_rec * r=0x01452e08, int
display_source_mode=0, char * filename=0x01454ac8)  Line 661 + 0xb      C
        php5apache.dll!send_parsed_php(request_rec * r=0x01452e08)  Line 675
+ 0xe   C
        ApacheCore.dll!6ff64be7()       
        ApacheCore.dll!6ff746a4()       
        ApacheCore.dll!6ff74416()       
        ApacheCore.dll!6ff6be2b()       
        msvcrt.dll!77bcb530()   
        kernel32.dll!77e66063()

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

[2006-04-19 11:09:43] [EMAIL PROTECTED]

I've replied by mail, but it looks like you don't get my mails at all.

You don't need to compile it yourself, just get a snapshot at
http://php.emini.dk/snaps/win32/
The only thing you need is debug pack. which is currently available at
http://php.emini.dk/snaps/win32/ either.
All further instructions are here
http://bugs.php.net/bugs-generating-backtrace-win32.php

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

[2006-04-19 11:06:13] tomed at tledwards dot com

Could you send me instructions on how to compile PHP? That appears to
be my only option as I have Microsoft Visual Studio .NET 2003, not
6.0.

This would be extremely helpful. Thx

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

[2006-04-19 10:49:08] [EMAIL PROTECTED]

.

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

[2006-04-19 10:43:39] tomed at tledwards dot com

Not a problem. Do you have instructions to compile PHP that you could
sendor post as I have Microsoft Visual Studio .NET 2003, not 6.0?

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

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/37127

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

Reply via email to