Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5063 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1344 invoked by uid 1010); 29 Oct 2003 14:56:24 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 1286 invoked from network); 29 Oct 2003 14:56:24 -0000 Received: from unknown (HELO vckyb1.nw.wakwak.com) (211.9.230.144) by pb1.pair.com with SMTP; 29 Oct 2003 14:56:24 -0000 Received: from at.wakwak.com (at.wakwak.com [211.9.230.135]) by vckyb1.nw.wakwak.com (Postfix) with ESMTP id 16C1C3FE2B; Wed, 29 Oct 2003 23:56:23 +0900 (JST) Received: from at.wakwak.com (fw.infodeliver.com [61.125.27.206]) by at.wakwak.com (8.12.10/8.12.10/2003-09-30) with SMTP/inet id h9TEuMng020593; Wed, 29 Oct 2003 23:56:22 +0900 (JST) (envelope-from moriyoshi@at.wakwak.com) Message-ID: <200310291456.h9TEuMng020593@at.wakwak.com> Date: Wed, 29 Oct 2003 23:55:17 +0900 X-Mailer: EdMax Ver2.85.2F MIME-Version: 1.0 To: Wojtek Meler Cc: internals@lists.php.net Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit In-Reply-To: <3F9FD042.2090004@wp-sa.pl> References: <3F9FD042.2090004@wp-sa.pl> Subject: Re: [PHP-DEV] Zend Engine question From: moriyoshi@at.wakwak.com (Moriyoshi Koizumi) Hi, First, maybe you want to see bug #22836 (http://bugs.php.net/22836), that appears to describe the very problem you have. Secondly, you can use various custom gdb macros like printzv, printzn which are defined in .gdbinit on top of the php source tree. Moriyoshi Wojtek Meler wrote: > Are there any tools for debugging ZE? I've got a problem with huge script that > at some point behave like all variables were reference to single variable. > I suspect that there is something wrong with EG(uninitialized_zval). > Any hints how to fight it? > I've compiled it with ZEND_INTENSIVE_DEBUGGING and it found nothing. When I > debug it with simple debugger I can see that all ZEND_FETCH_W opcodes receives > the same zval address and ZEND_ASSIGN doesn't change it. I don't know how it > should work yet, but I'll learn it soon. Maybe someone could give me a piece of > advice? > > Regards, > Wojtek > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >