Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26778 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76434 invoked by uid 1010); 3 Dec 2006 18:31:01 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 76419 invoked from network); 3 Dec 2006 18:31:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Dec 2006 18:31:01 -0000 Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass; domainkeys=good Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 66.249.92.170 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 66.249.92.170 ug-out-1314.google.com Linux 2.4/2.6 Received: from [66.249.92.170] ([66.249.92.170:47446] helo=ug-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D0/47-22260-E9713754 for ; Sun, 03 Dec 2006 13:30:26 -0500 Received: by ug-out-1314.google.com with SMTP id 71so2593738ugh for ; Sun, 03 Dec 2006 10:29:48 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tqI5YdbuPu+2re2qm5zs3TvuKZn3lXLmPDOYe91VZsEWoAGk2INej6JrMgtWIXdcG6XP4iPfjsFxjO4DCGka2LIfWITtO96blVdGyVzds3NITXQWJAABHPrr8rCiuq78NClVLJlyziwRiAlVXiAkcs9jSgA9PcPQNiH1h4wvBQc= Received: by 10.78.180.16 with SMTP id c16mr6939982huf.1165170587851; Sun, 03 Dec 2006 10:29:47 -0800 (PST) Received: by 10.78.162.2 with HTTP; Sun, 3 Dec 2006 10:29:47 -0800 (PST) Message-ID: Date: Sun, 3 Dec 2006 21:29:47 +0300 To: internals@lists.php.net In-Reply-To: <45729769.1080205@hristov.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45729769.1080205@hristov.com> Subject: Re: [PHP-DEV] persistent memory management From: indeyets@gmail.com ("Alexey Zakhlestin") Here is valgrind output. It definitely shows that there is a problem, but I still can't guess where it is. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ==25913== Invalid read of size 4 ==25913== at 0x82AC068: zend_hash_exists (in /usr/bin/php5) ==25913== by 0x404EE42: zif_loc_isset (loccache.c:147) ==25913== by 0x82CF6CE: (within /usr/bin/php5) ==25913== by 0x82BF0C7: execute (in /usr/bin/php5) ==25913== by 0x82A029B: zend_execute_scripts (in /usr/bin/php5) ==25913== by 0x825B6E1: php_execute_script (in /usr/bin/php5) ==25913== by 0x832F43D: main (in /usr/bin/php5) ==25913== Address 0x4B00B90 is 0 bytes after a block of size 40 alloc'd ==25913== at 0x401C38B: malloc (vg_replace_malloc.c:149) ==25913== by 0x82AB82A: _zend_hash_add_or_update (in /usr/bin/php5) ==25913== by 0x404EDB0: zif_loc_set (loccache.c:86) ==25913== by 0x82CF6CE: (within /usr/bin/php5) ==25913== by 0x82BF0C7: execute (in /usr/bin/php5) ==25913== by 0x82A029B: zend_execute_scripts (in /usr/bin/php5) ==25913== by 0x825B6E1: php_execute_script (in /usr/bin/php5) ==25913== by 0x832F43D: main (in /usr/bin/php5) ==25913== ==25913== Invalid read of size 4 ==25913== at 0x82AC06D: zend_hash_exists (in /usr/bin/php5) ==25913== by 0x404EE42: zif_loc_isset (loccache.c:147) ==25913== by 0x82CF6CE: (within /usr/bin/php5) ==25913== by 0x82BF0C7: execute (in /usr/bin/php5) ==25913== by 0x82A029B: zend_execute_scripts (in /usr/bin/php5) ==25913== by 0x825B6E1: php_execute_script (in /usr/bin/php5) ==25913== by 0x832F43D: main (in /usr/bin/php5) ==25913== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==25913== ==25913== Process terminating with default action of signal 11 (SIGSEGV) ==25913== Access not within mapped region at address 0x0 ==25913== at 0x82AC06D: zend_hash_exists (in /usr/bin/php5) ==25913== by 0x404EE42: zif_loc_isset (loccache.c:147) ==25913== by 0x82CF6CE: (within /usr/bin/php5) ==25913== by 0x82BF0C7: execute (in /usr/bin/php5) ==25913== by 0x82A029B: zend_execute_scripts (in /usr/bin/php5) ==25913== by 0x825B6E1: php_execute_script (in /usr/bin/php5) ==25913== by 0x832F43D: main (in /usr/bin/php5) =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -- Alexey Zakhlestin http://blog.milkfarmsoft.com/