Re: PHP 4.0 Bug #4939: Unhandled Exception inPHP4TS.DLL - Access Violation
| From: | Fred Merritt | Date: | Fri, 09 Jun 2000 19:54:41 +0000 |
| Subject: | Re: PHP 4.0 Bug #4939: Unhandled Exception inPHP4TS.DLL - Access Violation | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-20834@lists.php.net to get a copy of this message | ||
Nice try Andi,
but unfortunately, it falls over with exactly the same problem.
I don't know how much the following list of local variables in
main.c mean to you, perhaps I was wrong in my assumption that we
had already fouled up at this time.
This is the state of the variables in main.c from the backtrace:
argc 0
+ argv 0x00000000
free_path_translated 1701602674
- core_globals 0x007c0c30
magic_quotes_gpc 96 '`'
magic_quotes_runtime 214 'Ö'
magic_quotes_sybase 125 '}'
allow_call_time_pass_reference 0 ''
zend_set_utility_values 19 ''
output_buffering 0 ''
implicit_flush 0 ''
safe_mode 0 ''
sql_safe_mode 136 ''
enable_dl 0 ''
+ safe_mode_exec_dir 0x00000000 ""
memory_limit 8129616
track_errors 240 'ð'
display_errors 12 ''
log_errors 124 '|'
+ error_log 0x007c0d20 "ðþ"
+ doc_root 0x00000000 ""
+ user_dir 0x00000001 ""
+ include_path 0x007c06df "GET"
- open_basedir 0x007c06fd ""
0 ''
+ extension_dir 0x00000000 ""
+ upload_tmp_dir 0x00000000 ""
upload_max_filesize 0
+ error_append_string 0x00000000 ""
- error_prepend_string 0x007c0770 "d:\argus\maint\phpinfo.php3"
100 'd'
+ auto_prepend_file 0x007c074a "/maint/phpinfo.php3"
+ auto_append_file 0x00000000 ""
+ arg_separator 0x00000000 ""
+ gpc_order 0x00000000 ""
+ variables_order 0x00000000 ""
connection_status 0
ignore_user_abort 0
max_execution_time 0
header_is_being_sent 0 ''
- tick_functions {...}
+ head 0x00000000
+ tail 0x00000000
size 0
dtor 0x00000000
persistent 8 ''
- traverse_ptr 0x1000a230
+ next 0x0424448b
+ prev 0xe851088b
+ data 0x1000a238 "´G"
- http_globals {...}
+ post 0x00000000
+ get 0x00000000
+ cookie 0x000000c8
+ server 0x00000001
+ environment 0x00000000
+ post_files 0x00000000
expose_php 0 ''
track_vars 0 ''
register_globals 0 ''
register_argc_argv 0 ''
y2k_compliance 0 ''
modules_activated 0 ''
+ sapi_globals 0x2f347068
+ executor_globals 0x00000000
cgi 0
orig_optind 1882143332
no_headers 0
i 25976
behavior 1600484193
+ global_vars {...}
- file_handle {...}
type 0 ''
+ filename 0x00000000 ""
+ opened_path 0x00000000 ""
- handle {...}
fd 0
+ fp 0x00000000
free_filename 0 ''
cgi_started 0
+ compiler_globals 0x00000000
+ s 0x702f7374 ""
+ orig_optarg 0x00000000 ""
+ argv0 0x00000000 ""
+ arg 0x702f7374 ""
- syntax_highlighter_ini {...}
+ highlight_html 0x00000000 ""
+ highlight_comment 0x00000000 ""
+ highlight_default 0x00000000 ""
+ highlight_string 0x00000000 ""
+ highlight_keyword 0x00000000 ""
By the time we get into php_fopen_primary_script, the local variables
definitely look overwritten to me.
- core_globals 0x007c074a
magic_quotes_gpc 47 '/'
magic_quotes_runtime 109 'm'
magic_quotes_sybase 97 'a'
allow_call_time_pass_reference 105 'i'
zend_set_utility_values 110 'n'
output_buffering 116 't'
implicit_flush 47 '/'
safe_mode 112 'p'
sql_safe_mode 104 'h'
enable_dl 112 'p'
+ safe_mode_exec_dir 0x702e6f66 ""
memory_limit 3371112
track_errors 0 ''
display_errors 0 ''
log_errors 80 'P'
+ error_log 0x545f4854 ""
+ doc_root 0x534e4152 ""
+ user_dir 0x4554414c ""
+ include_path 0x3a643d44 ""
+ open_basedir 0x6772615c ""
+ extension_dir 0x6d5c7375 ""
+ upload_tmp_dir 0x746e6961 ""
upload_max_filesize 1885892700
+ error_append_string 0x6f666e69 ""
+ error_prepend_string 0x7068702e ""
+ auto_prepend_file 0x00000033 ""
+ auto_append_file 0x00000000 ""
+ arg_separator 0x00000000 ""
+ gpc_order 0x00000000 ""
+ variables_order 0x00000000 ""
connection_status 0
ignore_user_abort 0
max_execution_time 0
header_is_being_sent 0 ''
+ tick_functions {...}
+ http_globals {...}
expose_php 0 ''
track_vars 0 ''
register_globals 0 ''
register_argc_argv 0 ''
y2k_compliance 0 ''
modules_activated 0 ''
+ sapi_globals 0x007c0c50
+ st {...}
+ path_info 0x007c0c50 ""
+ user 0x0012fe98 " -|"
At the moment, I am trying to step through the debug_ts version, which
works, to try and spot any differences in behaviour.
Best regards. . . Fred