Re: problem??

From: Date: Fri, 26 May 2000 12:37:18 +0000
Subject: Re: problem??
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-19496@lists.php.net to get a copy of this message
Hi. Here is the output... > please configure your php4 using --enable-debug +your > options. > ok. did that. > > than start php withing gdb run your script and send us a > stacktrace. > > csh> gdb /where/is/php > GNU gdb 19991004 > Copyright 1998 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public > License, and you are > welcome to change it and/or distribute copies of it under > certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show > warranty" for details. > This GDB was configured as "i386-redhat-linux"... > (gdb) b php_message_handler_for_zend > Breakpoint 2 at 0x8097475: file /dot/dc4/zend/php-dev/php4/main.c, line 572. > (gdb) r /your/script/here > > .... ok, done that... the script runs .. outputs same stuff... > > once it says: > Breakpoint 1, php_message_handler_for_zend .... > Well... I't doesn't say that. It just keeps on outputting the error mesg. So I pressed ctrl-c and stopped it ... > > (gdb) where > This is the output where gave me.. -- OUTPUT FROM GDB: #0 0x40225574 in __libc_write () #1 0x4026d1b4 in __DTOR_END__ () #2 0x401d7eb4 in new_do_write (fp=0x4026b1a0, data=0x40014000 "<br>\n<b>Fatal error</b>: ht=08130e44 is already destroyed in zend_hash.c:519 in <b>Unknown</b> on line <b>0</b><br>\ne <b>0</b><br>\n/b>< br>\n", to_do=117) at fileops.c:328 #3 0x401d7970 in _IO_new_do_write (fp=0x4026b1a0, data=0x40014000 "<br>\n<b>Fatal error</b>: ht=08130e44 is already destroyed in zend_hash.c:519 in <b>Unknown</b> on line <b>0</b><br>\ne <b>0</b><br>\n/b>< br>\n", to_do=117) at fileops.c:301 #4 0x401d702e in _IO_new_file_overflow (f=0x4026b1a0, ch=-1) at fileops.c:440 #5 0x401d87b7 in __overflow (f=0x4026b1a0, ch=-1) at genops.c:197 #6 0x401d76b0 in _IO_new_file_xsputn (f=0x4026b1a0, data=0xbfffe274, n=117) at fileops.c:802 #7 0x401d43bb in _IO_fwrite (buf=0xbfffe274, size=1, count=117, fp=0x4026b1a0) at iofwrite.c:44 #8 0x805e936 in sapi_cgibin_ub_write ( str=0xbfffe274 "<br>\n<b>Fatal error</b>: ht=08130e44 is already destroyed in zend_hash.c:519 in <b>Unknown</b> on line <b>0</b><br>\n", str_length=117) at cgi_main.c:89 #9 0x8087989 in php_ub_body_write_no_header ( str=0xbfffe274 "<br>\n<b>Fatal error</b>: ht=08130e44 is already destroyed in zend_hash.c:519 in <b>Unknown</b> on line <b>0</b><br>\n", str_length=117) ---Type <return> to continue, or q <return> to quit--- at output.c:291 #10 0x808775c in php_body_write ( str=0xbfffe274 "<br>\n<b>Fatal error</b>: ht=08130e44 is already destroyed in zend_hash.c:519 in <b>Unknown</b> on line <b>0</b><br>\n", str_length=117) at output.c:105 #11 0x8088985 in php_printf ( format=0x80f4ea0 "<br>\n<b>%s</b>: %s in <b>%s</b> on line <b>%d</b><br>\n" ) at main.c:298 #12 0x8088c0d in php_error_cb (type=16, format=0x80f81c0 "ht=%08x is already destroyed in %s:%d") at main.c:415 #13 0x809c6d1 in _zend_is_inconsistent (ht=0x8130e44, file=0x80f8200 "zend_hash.c", line=519) at zend_hash.c:96 #14 0x809d581 in zend_hash_destroy (ht=0x8130e44) at zend_hash.c:519 #15 0x805f96d in php_rshutdown_basic (type=1, module_number=2) at basic_functions.c:702 #16 0x809b10e in module_registry_cleanup (module=0x815afe0) at zend_API.c:852 #17 0x809d8cf in zend_hash_apply (ht=0x8133400, apply_func=0x809b0e8 <module_registry_cleanup>) at zend_hash.c:655 #18 0x809ab30 in zend_deactivate_modules () at zend.c:468 #19 0x8089ae3 in php_execute_script (primary_file=0x0) at main.c:1202 #20 0x805f262 in main (argc=2, argv=0xbffffc54) at cgi_main.c:665 #21 0x4019acb3 in __libc_start_main (main=0x805ec94 <main>, argc=2, argv=0xbffffc54, init=0x805d4f4 <_init>, fini=0x80ede0c <_fini>, ---Type <return> to continue, or q <return> to quit--- rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffc4c) at ../sysdeps/generic/libc-start.c:78 (gdb) where #0 0x40225574 in __libc_write () #1 0x4026d1b4 in __DTOR_END__ () #2 0x401d7eb4 in new_do_write (fp=0x4026b1a0, data=0x40014000 "<br>\n<b>Fatal error</b>: ht=08130e44 is already destroyed in zend_hash.c:519 in <b>Unknown</b> on line <b>0</b><br>\ne <b>0</b><br>\n/b><br>\n", to_do=117) at fileops.c:328 #3 0x401d7970 in _IO_new_do_write (fp=0x4026b1a0, data=0x40014000 "<br>\n<b>Fatal error</b>: ht=08130e44 is already destroyed in zend_hash.c:519 in <b>Unknown</b> on line <b>0</b><br>\ne <b>0</b><br>\n/b><br>\n", to_do=117) at fileops.c:301 #4 0x401d702e in _IO_new_file_overflow (f=0x4026b1a0, ch=-1) at fileops.c:440 #5 0x401d87b7 in __overflow (f=0x4026b1a0, ch=-1) at genops.c:197 #6 0x401d76b0 in _IO_new_file_xsputn (f=0x4026b1a0, data=0xbfffe274, n=117) at fileops.c:802 #7 0x401d43bb in _IO_fwrite (buf=0xbfffe274, size=1, count=117, fp=0x4026b1a0) at iofwrite.c:44 #8 0x805e936 in sapi_cgibin_ub_write ( str=0xbfffe274 "<br>\n<b>Fatal error</b>: ht=08130e44 is already destroyed in zend_hash.c:519 in <b>Unknown</b> on line <b>0</b><br>\n", str_length=117) at cgi_main.c:89 #9 0x8087989 in php_ub_body_write_no_header ( str=0xbfffe274 "<br>\n<b>Fatal error</b>: ht=08130e44 is already destroyed in zend_hash.c:519 in <b>Unknown</b> on line <b>0</b><br>\n", str_length=117) ---Type <return> to continue, or q <return> to quit--- at output.c:291 #10 0x808775c in php_body_write ( str=0xbfffe274 "<br>\n<b>Fatal error</b>: ht=08130e44 is already destroyed in zend_hash.c:519 in <b>Unknown</b> on line <b>0</b><br>\n", str_length=117) at output.c:105 #11 0x8088985 in php_printf ( format=0x80f4ea0 "<br>\n<b>%s</b>: %s in <b>%s</b> on line <b>%d</b><br>\n") at main.c:298 #12 0x8088c0d in php_error_cb (type=16, format=0x80f81c0 "ht=%08x is already destroyed in %s:%d") at main.c:415 #13 0x809c6d1 in _zend_is_inconsistent (ht=0x8130e44, file=0x80f8200 "zend_hash.c", line=519) at zend_hash.c:96 #14 0x809d581 in zend_hash_destroy (ht=0x8130e44) at zend_hash.c:519 #15 0x805f96d in php_rshutdown_basic (type=1, module_number=2) at basic_functions.c:702 #16 0x809b10e in module_registry_cleanup (module=0x815afe0) at zend_API.c:852 #17 0x809d8cf in zend_hash_apply (ht=0x8133400, apply_func=0x809b0e8 <module_registry_cleanup>) at zend_hash.c:655 #18 0x809ab30 in zend_deactivate_modules () at zend.c:468 #19 0x8089ae3 in php_execute_script (primary_file=0x0) at main.c:1202 #20 0x805f262 in main (argc=2, argv=0xbffffc54) at cgi_main.c:665 #21 0x4019acb3 in __libc_start_main (main=0x805ec94 <main>, argc=2, argv=0xbffffc54, init=0x805d4f4 <_init>, fini=0x80ede0c <_fini>, ---Type <return> to continue, or q <return> to quit--- rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffc4c) at ../sysdeps/generic/libc-start.c:78 --- END of output

« previous php.dev (#19496) next »