PHP 4.0 Bug #7902: anyfunction("$very_long_string") -> SEGFAULT

From: Date: Tue, 21 Nov 2000 12:04:23 +0000
Subject: PHP 4.0 Bug #7902: anyfunction("$very_long_string") -> SEGFAULT
Groups: php.dev 
Request: Send a blank email to php-dev+get-38803@lists.php.net to get a copy of this message
From: nicoletti@nns.ch Operating system: GNU Linux (Debian slink) PHP version: 4.0 Latest CVS (21/11/2000) PHP Bug Type: Scripting Engine problem Bug description: anyfunction("$very_long_string") -&gt; SEGFAULT Script: <? $t = str_repeat('test', 10240); trim("$t"); Result: Segmentation fault Bt: #0 0x80d19bc in _efree (ptr=0x81a42c4, __zend_filename=0x813e3cb "zend_execute_API.c", __zend_lineno=261, __zend_orig_filename=0x813e727 "zend_variables.c", __zend_orig_lineno=62) at zend_alloc.c:232 #1 0x80e3f1f in _zval_dtor (zvalue=0x8170694, __zend_filename=0x813e3cb "zend_execute_API.c", __zend_lineno=261) at zend_variables.c:62 #2 0x80d936d in _zval_ptr_dtor (zval_ptr=0x8194d6c, __zend_filename=0x815244d "zend_execute.h", __zend_lineno=114) at zend_execute_API.c:261 #3 0x812e524 in zend_ptr_stack_clear_multiple () at zend_execute.h:114 #4 0x812b436 in execute (op_array=0x819524c) at ./zend_execute.c:1593 #5 0x80e563b in zend_execute_scripts (type=8, file_count=3) at zend.c:729 #6 0x805d10c in php_execute_script (primary_file=0xbffffd70) at main.c:1220 #7 0x805adb9 in main (argc=2, argv=0xbffffdb4) at cgi_main.c:745 -- Edit Bug report at: http://bugs.php.net/?id=7902&edit=1

« previous php.dev (#38803) next »