From:             zizka at seznam dot cz
Operating system: All
PHP version:      4.3.10
PHP Bug Type:     Reproducible crash
Bug description:  PHP crashes when executing certain code

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 bug report at http://bugs.php.net/?id=31765&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31765&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=31765&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=31765&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31765&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31765&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31765&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31765&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31765&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31765&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31765&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=31765&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=31765&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31765&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31765&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31765&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31765&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31765&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31765&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=31765&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31765&r=mysqlcfg

Reply via email to