Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11186 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17824 invoked by uid 1010); 13 Jul 2004 16:23:06 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 17800 invoked from network); 13 Jul 2004 16:23:06 -0000 Received: from unknown (HELO amber.vis-av.com) (66.92.75.243) by pb1.pair.com with SMTP; 13 Jul 2004 16:23:06 -0000 Received: (qmail 9293 invoked from network); 13 Jul 2004 16:23:06 -0000 Received: from unknown (HELO random.?none?) (192.168.1.9) by amber.internal with SMTP; 13 Jul 2004 16:23:06 -0000 Received: (nullmailer pid 30126 invoked by uid 0); Tue, 13 Jul 2004 16:23:06 -0000 To: Rob Richards Cc: Sebastian Bergmann , , Andi Gutmans References: <5.1.0.14.2.20040712141042.03166120@127.0.0.1> <5.1.0.14.2.20040712141042.03166120@127.0.0.1> <5.1.0.14.2.20040713083212.01db8b10@127.0.0.1> <000e01c468f2$035baad0$f7dea8c0@cyberware.local> Reply-To: Derrell.Lipman@UnwiredUniverse.com Date: Tue, 13 Jul 2004 12:23:05 -0400 In-Reply-To: <000e01c468f2$035baad0$f7dea8c0@cyberware.local> ("Rob Richards"'s message of "Tue, 13 Jul 2004 11:56:40 -0400") Message-ID: Lines: 37 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Common Lisp, i386-debian-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [PHP-DEV] PHP 5.0.0 Test roll From: Derrell.Lipman@UnwiredUniverse.com "Rob Richards" writes: > php5ts_debug.dll!_zend_is_inconsistent(_hashtable * ht=0xcdcdcdcd, char * > file=0x1053aaf0, int line=510) Line 53 + 0x3 C > php5ts_debug.dll!zend_hash_destroy(_hashtable * ht=0xcdcdcdcd) Line 510 + > 0x19 C > php5ts_debug.dll!php_shutdown_stream_wrappers(int module_number=0, void * * > * tsrm_ls=0x00954278) Line 1379 + 0x12 C > php5ts_debug.dll!php_module_shutdown(void * * * tsrm_ls=0x00954278) Line > 1516 + 0xd C > php5ts_debug.dll!php_module_shutdown(void * * * tsrm_ls=0x00954278) Line > 1516 + 0xd C > php-cli.exe!main() Line 1052 + 0xd C > php-cli.exe!mainCRTStartup() Line 338 + 0x11 C I don't know the internals of PHP, but a hash table parameter of 0xcdcdcdcd looks an awful lot to me like there's a debug malloc library of some sort that fills freed memory with '\xcd', meaning that zend_hash_destroy() is being called with previously freed memory. Since php_shutdown_stream_wrappers() calls zend_hash_destroy() three times, but the first and third call (directly or indirectly) pass a parameter which is simply the address of a variable, my first guess would be that this call: zend_hash_destroy(php_get_stream_filters_hash()) is the culprit, which implicates the variable 'stream_filters" in some way, shape or form (via the function _php_get_stream_filters_hash() in filters.c:41. I hope maybe this helps someone who knows the code determine the problem. I did a cursory search for something pertaining to 0xcd and could not find it, but maybe someone more familiar with the code will recognize 0xcdcdcdcd... Cheers, Derrell