#31765 [Com]: PHP crashes when executing certain code

From: Date: Mon, 31 Jan 2005 13:19:04 +0000
Subject: #31765 [Com]: PHP crashes when executing certain code
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-73117@lists.php.net to get a copy of this message
ID: 31765 Comment by: ondra at dynawest dot cz Reported By: zizka at seznam dot cz Status: Open Bug Type: Reproducible crash Operating System: All PHP Version: 4.3.10 New Comment: Don't use zizka at seznam. cz - it doesn't work properly... Use ondra ta dynawest. cz Previous Comments: ------------------------------------------------------------------------ [2005-01-30 18:42:24] zizka at seznam dot cz Description: ------------ PHP crashes on my code. Reproduced on: Windows 2000 / Apache 1.3.29 / PHP 4.3.6 (Apache mod) Windows 2000 / Apache 1.3.29 / PHP 4.3.10 (Apache mod) Windows 2000 / Apache 2.0.52 / PHP 4.3.10 (Apache mod) Linux hercules 2.4.25 / Apache 1.3.33 / PHP 4.3.10 (Apache mod) Windows NT 5.2 / Microsoft-IIS 6.0 / PHP Version 4.3.1 (CGI) Windows 2000's report (transl. from Czech): Event type: Chyba Event source: Service Control Manager Kategorie události: Není k dispozici Event ID: 7024 Date: 29.1.2005 Time: 14:44:00 User: N/A Computer: WDN Description: Service Apache2 was terminated with specific error 1. I have reduced the code into two files, but I'm sorry I have no time to create minimal test case. One file is a lib with 450 lines, second just creates the object and calls the methods. The bug appears when I do certain wild operations with tree made of arrays of objects. I know which block of code to comment out to get it work. Also I have found the line where it crashes, although it tells nothing (to me): if($oTreeSub->sTag == 'text'){ Reproduce code: --------------- I can not put the files here publicly because of security reasons, but I can send them to someone who will shorten it to the bug's core and put it here. Please contact me at ondra x dynawest. cz zizka x seznam. cz http://ondra.zizka.cz Expected result: ---------------- Not to crash :) Actual result: -------------- Crashes. And at last, I would like to bring attention to my feat.req. -> http://bugs.php.net/bug.php?id=30228 . The answer is insufficient, I would really like to know the reason why PHP4 cant run along with PHP5 on a single apache, or, more specifically, why PHP team does not want it to. Please put there some link to that "forums", thanks. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31765&edit=1

« previous php.bugs (#73117) next »