[PHP-BUG] Bug #64529 [NEW]: Ran out of opcode space
From: hannes dot magnusson at gmail dot com Operating system: MacOSX PHP version: 5.4Git-2013-03-27 (Git) Package: Scripting Engine problem Bug Type: Bug Bug description:Ran out of opcode space Description: Interactive mode seems completely broken Test script: --- $ php -v PHP 5.4.14-dev (cli) (built: Mar 18 2013 17:25:33) (DEBUG) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies bjori@anden:~/$ php -n -m [PHP Modules] Core date ereg json libxml openssl pcntl pcre posix Reflection SPL standard xml zlib [Zend Modules] bjori@anden:~/ $ php -n -a Interactive mode enabled echo hello world; C-decho hello world; Ran out of opcode space! You should probably consider writing this huge script into a file! -- Edit bug report at https://bugs.php.net/bug.php?id=64529edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64529r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64529r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64529r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=64529r=fixed Fixed in release: https://bugs.php.net/fix.php?id=64529r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=64529r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=64529r=needscript Try newer version: https://bugs.php.net/fix.php?id=64529r=oldversion Not developer issue:https://bugs.php.net/fix.php?id=64529r=support Expected behavior: https://bugs.php.net/fix.php?id=64529r=notwrong Not enough info: https://bugs.php.net/fix.php?id=64529r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=64529r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=64529r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64529r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=64529r=dst IIS Stability: https://bugs.php.net/fix.php?id=64529r=isapi Install GNU Sed:https://bugs.php.net/fix.php?id=64529r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=64529r=float No Zend Extensions: https://bugs.php.net/fix.php?id=64529r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=64529r=mysqlcfg
[PHP-BUG] Bug #64515 [NEW]: Memoryleak when using the same variablename 2times in function declaration
From: hannes dot magnusson at gmail dot com Operating system: MacOSX PHP version: 5.4Git-2013-03-25 (Git) Package: Scripting Engine problem Bug Type: Bug Bug description:Memoryleak when using the same variablename 2times in function declaration Description: There is a memory leak when the same argument name is used 2 times in a function declaration. Test script: --- ?php function foo($unused = null, $unused = null, $bar = array()) { return 1; } foo(); Actual result: -- ==67447== 32 bytes in 1 blocks are definitely lost in loss record 17 of 94 ==67447==at 0x4DC7: malloc (vg_replace_malloc.c:266) ==67447==by 0x1002800CE: _emalloc (zend_alloc.c:2423) ==67447==by 0x100318565: ZEND_RECV_INIT_SPEC_CONST_HANDLER (zend_vm_execute.h:1358) ==67447==by 0x100300796: execute (zend_vm_execute.h:410) ==67447==by 0x1002BFCBA: zend_execute_scripts (zend.c:1315) ==67447==by 0x1002108AF: php_execute_script (main.c:2492) ==67447==by 0x10037E106: do_cli (php_cli.c:988) ==67447==by 0x10037CE3A: main (php_cli.c:1364) -- Edit bug report at https://bugs.php.net/bug.php?id=64515edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64515r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64515r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64515r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=64515r=fixed Fixed in release: https://bugs.php.net/fix.php?id=64515r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=64515r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=64515r=needscript Try newer version: https://bugs.php.net/fix.php?id=64515r=oldversion Not developer issue:https://bugs.php.net/fix.php?id=64515r=support Expected behavior: https://bugs.php.net/fix.php?id=64515r=notwrong Not enough info: https://bugs.php.net/fix.php?id=64515r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=64515r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=64515r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64515r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=64515r=dst IIS Stability: https://bugs.php.net/fix.php?id=64515r=isapi Install GNU Sed:https://bugs.php.net/fix.php?id=64515r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=64515r=float No Zend Extensions: https://bugs.php.net/fix.php?id=64515r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=64515r=mysqlcfg
[PHP-BUG] Bug #55150 [NEW]: php -a segfaults
From: Operating system: Linux PHP version: 5.4SVN-2011-07-06 (SVN) Package: Reproducible crash Bug Type: Bug Bug description:php -a segfaults Description: Running the following under interactive php shell segfaults :] ?php header(foobar: baz); flush(); ? Test script: --- bjori@mini:~/Work/php/5.4$ gdb ./sapi/cli/php GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2 [..] Reading symbols from /home/bjori/Work/src/php/php/php-src/branches/PHP_5_4/sapi/cli/php...done. (gdb) run -a Starting program: /home/bjori/Work/src/php/php/php-src/branches/PHP_5_4/sapi/cli/php -a [Thread debugging using libthread_db enabled] Interactive mode enabled ?php header(foobar: baz); flush(); Actual result: -- Program received signal SIGSEGV, Segmentation fault. 0x0072e088 in zend_do_fcall_common_helper_SPEC (execute_data=0x77f910e8) at /home/bjori/Work/php/5.4/Zend/zend_vm_execute.h:580 580 if (UNEXPECTED((fbc-common.fn_flags (ZEND_ACC_ABSTRACT|ZEND_ACC_DEPRECATED)) != 0)) { (gdb) bt #0 0x0072e088 in zend_do_fcall_common_helper_SPEC (execute_data=0x77f910e8) at /home/bjori/Work/php/5.4/Zend/zend_vm_execute.h:580 #1 0x00735921 in ZEND_DO_FCALL_SPEC_CONST_HANDLER (execute_data=0x77f910e8) at /home/bjori/Work/php/5.4/Zend/zend_vm_execute.h:2209 #2 0x0072d1eb in execute (op_array=0x77fc84f0) at /home/bjori/Work/php/5.4/Zend/zend_vm_execute.h:410 #3 0x006df3b9 in execute_new_code () at /home/bjori/Work/php/5.4/Zend/zend_execute_API.c:1314 #4 0x00699b7e in zendparse () at /home/bjori/Work/php/5.4/Zend/zend_language_parser.y:161 #5 0x006a0cbe in compile_file (file_handle=0x7fffddb0, type=8) at Zend/zend_language_scanner.l:576 #6 0x006f09da in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /home/bjori/Work/php/5.4/Zend/zend.c:1213 #7 0x00669f16 in php_execute_script (primary_file=0x7fffddb0) at /home/bjori/Work/php/5.4/main/main.c:2382 #8 0x0083098e in do_cli (argc=2, argv=0x7fffe168) at /home/bjori/Work/php/5.4/sapi/cli/php_cli.c:990 #9 0x00831856 in main (argc=2, argv=0x7fffe168) at /home/bjori/Work/php/5.4/sapi/cli/php_cli.c:1358 (gdb) -- Edit bug report at https://bugs.php.net/bug.php?id=55150edit=1 -- Try a snapshot (PHP 5.2): https://bugs.php.net/fix.php?id=55150r=trysnapshot52 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55150r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55150r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=55150r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55150r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=55150r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=55150r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=55150r=needscript Try newer version: https://bugs.php.net/fix.php?id=55150r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=55150r=support Expected behavior: https://bugs.php.net/fix.php?id=55150r=notwrong Not enough info: https://bugs.php.net/fix.php?id=55150r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=55150r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=55150r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55150r=php4 Daylight Savings:https://bugs.php.net/fix.php?id=55150r=dst IIS Stability: https://bugs.php.net/fix.php?id=55150r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=55150r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=55150r=float No Zend Extensions: https://bugs.php.net/fix.php?id=55150r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=55150r=mysqlcfg Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55150r=trysnapshot54
Bug #54601 [Fbk-Asn]: Removing the doctype node segfaults
Edit report at http://bugs.php.net/bug.php?id=54601edit=1 ID: 54601 User updated by:hannes dot magnusson at gmail dot com Reported by:hannes dot magnusson at gmail dot com Summary:Removing the doctype node segfaults -Status: Feedback +Status: Assigned Type: Bug Package:Reproducible crash Operating System: Linux PHP Version:5.3SVN-2011-04-25 (SVN) Assigned To:rrichards Block user comment: N Private report: N New Comment: I've already committed the patch, but Richard believed there could maybe be other issues - hence leaving the report open until he can verify the fix properly. Previous Comments: [2011-06-02 20:06:16] il...@php.net With latest SVN on Linux I am unable to reproduce the crash. Can you still reproduce it? [2011-05-29 13:39:51] bj...@php.net Automatic comment from SVN on behalf of bjori Revision: http://svn.php.net/viewvc/?view=revisionamp;revision=311544 Log: Fixed bug #54601 (Removing the doctype node segfaults) [2011-04-25 23:14:37] bj...@php.net The attached patch does seem to fix the issue and makes valgrind stop bleeding.. If it is however proper, I don't know :) [2011-04-25 13:07:40] bj...@php.net Another one from phpdoc :) [2011-04-25 13:06:08] hannes dot magnusson at gmail dot com Description: ext/dom segfaults during shutdown when removing the doctype node :] The resulting document appears fine. Test script: --- --TEST-- Segfault when removing the Doctype node --SKIPIF-- ?php require_once('skipif.inc'); ? --FILE-- ?php $xml = XML ?xml version='1.0' encoding='utf-8' ? !DOCTYPE set PUBLIC -//OASIS//DTD DocBook XML V5.0//EN http://www.docbook.org/xml/5.0/dtd/docbook.dtd; [ !ENTITY foo 'foofootext/foo' !ENTITY bar 'barbartext/bar' ] setfoo;bar;/set XML; $doc = new DOMDocument(); $doc-loadXML($xml, LIBXML_NOENT); $n = $doc-doctype; $doc-removeChild($n); var_dump($n); ? ===DONE=== ?php exit(0); ? --EXPECTF-- object(DOMDocumentType)#%d (0) { } ===DONE=== Actual result: -- 0x00481cbf in php_libxml_decrement_node_ptr (object=0x14a1750) at /home/bjori/Work/OSS/svn-php/php/php- src/branches/PHP_5_3/ext/libxml/libxml.c:956 956 ret_refcount = --obj_node-refcount; (gdb) bt #0 0x00481cbf in php_libxml_decrement_node_ptr (object=0x14a1750) at /home/bjori/Work/OSS/svn-php/php/php- src/branches/PHP_5_3/ext/libxml/libxml.c:956 #1 0x0047fae5 in php_libxml_clear_object (object=0x14a1750) at /home/bjori/Work/OSS/svn-php/php/php- src/branches/PHP_5_3/ext/libxml/libxml.c:150 #2 0x0047fb30 in php_libxml_unregister_node (nodep=0x14a1b90) at /home/bjori/Work/OSS/svn-php/php/php- src/branches/PHP_5_3/ext/libxml/libxml.c:163 #3 0x0047fda0 in php_libxml_node_free_list (node=0x14a1b90) at /home/bjori/Work/OSS/svn-php/php/php- src/branches/PHP_5_3/ext/libxml/libxml.c:248 #4 0x0047fd57 in php_libxml_node_free_list (node=0x149e190) at /home/bjori/Work/OSS/svn-php/php/php- src/branches/PHP_5_3/ext/libxml/libxml.c:239 #5 0x00481f7c in php_libxml_node_free_resource (node=0x149df90) at /home/bjori/Work/OSS/svn-php/php/php- src/branches/PHP_5_3/ext/libxml/libxml.c:1024 #6 0x00482060 in php_libxml_node_decrement_resource (object=0x147fb90) at /home/bjori/Work/OSS/svn-php/php/php- src/branches/PHP_5_3/ext/libxml/libxml.c:1059 #7 0x00599b02 in dom_objects_free_storage (object=0x147fb90) at /home/bjori/Work/OSS/php/php5.3/ext/dom/php_dom.c:1017 #8 0x009c5c92 in zend_objects_store_del_ref_by_handle_ex (handle=2, handlers=0x1233100) at /home/bjori/Work/OSS/php/php5.3/Zend/zend_objects_API.c:220 #9 0x009c598b in zend_objects_store_del_ref (zobject=0x147d5a0) at /home/bjori/Work/OSS/php/php5.3/Zend/zend_objects_API.c:172 #10 0x009931ef in _zval_dtor_func (zvalue=0x147d5a0, __zend_filename=0xf09128 /home/bjori/Work/OSS/php/php5.3/Zend/zend_execute_API.c, __zend_lineno=445) at /home/bjori/Work/OSS/php/php5.3/Zend/zend_variables.c:52 #11 0x00981fe9 in _zval_dtor (zvalue=0x147d5a0, __zend_filename=0xf09128 /home/bjori/Work/OSS/php/php5.3/Zend/zend_execute_API.c, __zend_lineno=445) at /home/bjori/Work/OSS/php/php5.3/Zend/zend_variables.h:35 #12 0x0098341a in _zval_ptr_dtor (zval_ptr=0x147fde0, __zend_filename=0xf0a230 /home/bjori/Work/OSS/php/php5.3/Zend/zend_variables.c, __zend_lineno=189) at /home/bjori/Work/OSS/php/php5.3/Zend
[PHP-BUG] Bug #54601 [NEW]: Removing the doctype node segfaults
From: Operating system: Linux PHP version: 5.3SVN-2011-04-25 (SVN) Package: Reproducible crash Bug Type: Bug Bug description:Removing the doctype node segfaults Description: ext/dom segfaults during shutdown when removing the doctype node :] The resulting document appears fine. Test script: --- --TEST-- Segfault when removing the Doctype node --SKIPIF-- ?php require_once('skipif.inc'); ? --FILE-- ?php $xml = XML ?xml version='1.0' encoding='utf-8' ? !DOCTYPE set PUBLIC -//OASIS//DTD DocBook XML V5.0//EN http://www.docbook.org/xml/5.0/dtd/docbook.dtd; [ !ENTITY foo 'foofootext/foo' !ENTITY bar 'barbartext/bar' ] setfoo;bar;/set XML; $doc = new DOMDocument(); $doc-loadXML($xml, LIBXML_NOENT); $n = $doc-doctype; $doc-removeChild($n); var_dump($n); ? ===DONE=== ?php exit(0); ? --EXPECTF-- object(DOMDocumentType)#%d (0) { } ===DONE=== Actual result: -- 0x00481cbf in php_libxml_decrement_node_ptr (object=0x14a1750) at /home/bjori/Work/OSS/svn-php/php/php- src/branches/PHP_5_3/ext/libxml/libxml.c:956 956 ret_refcount = --obj_node-refcount; (gdb) bt #0 0x00481cbf in php_libxml_decrement_node_ptr (object=0x14a1750) at /home/bjori/Work/OSS/svn-php/php/php- src/branches/PHP_5_3/ext/libxml/libxml.c:956 #1 0x0047fae5 in php_libxml_clear_object (object=0x14a1750) at /home/bjori/Work/OSS/svn-php/php/php- src/branches/PHP_5_3/ext/libxml/libxml.c:150 #2 0x0047fb30 in php_libxml_unregister_node (nodep=0x14a1b90) at /home/bjori/Work/OSS/svn-php/php/php- src/branches/PHP_5_3/ext/libxml/libxml.c:163 #3 0x0047fda0 in php_libxml_node_free_list (node=0x14a1b90) at /home/bjori/Work/OSS/svn-php/php/php- src/branches/PHP_5_3/ext/libxml/libxml.c:248 #4 0x0047fd57 in php_libxml_node_free_list (node=0x149e190) at /home/bjori/Work/OSS/svn-php/php/php- src/branches/PHP_5_3/ext/libxml/libxml.c:239 #5 0x00481f7c in php_libxml_node_free_resource (node=0x149df90) at /home/bjori/Work/OSS/svn-php/php/php- src/branches/PHP_5_3/ext/libxml/libxml.c:1024 #6 0x00482060 in php_libxml_node_decrement_resource (object=0x147fb90) at /home/bjori/Work/OSS/svn-php/php/php- src/branches/PHP_5_3/ext/libxml/libxml.c:1059 #7 0x00599b02 in dom_objects_free_storage (object=0x147fb90) at /home/bjori/Work/OSS/php/php5.3/ext/dom/php_dom.c:1017 #8 0x009c5c92 in zend_objects_store_del_ref_by_handle_ex (handle=2, handlers=0x1233100) at /home/bjori/Work/OSS/php/php5.3/Zend/zend_objects_API.c:220 #9 0x009c598b in zend_objects_store_del_ref (zobject=0x147d5a0) at /home/bjori/Work/OSS/php/php5.3/Zend/zend_objects_API.c:172 #10 0x009931ef in _zval_dtor_func (zvalue=0x147d5a0, __zend_filename=0xf09128 /home/bjori/Work/OSS/php/php5.3/Zend/zend_execute_API.c, __zend_lineno=445) at /home/bjori/Work/OSS/php/php5.3/Zend/zend_variables.c:52 #11 0x00981fe9 in _zval_dtor (zvalue=0x147d5a0, __zend_filename=0xf09128 /home/bjori/Work/OSS/php/php5.3/Zend/zend_execute_API.c, __zend_lineno=445) at /home/bjori/Work/OSS/php/php5.3/Zend/zend_variables.h:35 #12 0x0098341a in _zval_ptr_dtor (zval_ptr=0x147fde0, __zend_filename=0xf0a230 /home/bjori/Work/OSS/php/php5.3/Zend/zend_variables.c, __zend_lineno=189) at /home/bjori/Work/OSS/php/php5.3/Zend/zend_execute_API.c:445 #13 0x00993668 in _zval_ptr_dtor_wrapper (zval_ptr=0x147fde0) at /home/bjori/Work/OSS/php/php5.3/Zend/zend_variables.c:189 #14 0x009a6ad7 in zend_hash_apply_deleter (ht=0x12395c8, p=0x147fdc8) at /home/bjori/Work/OSS/php/php5.3/Zend/zend_hash.c:612 #15 0x009a717e in zend_hash_reverse_apply (ht=0x12395c8, apply_func=0x9829e0 zval_call_destructor) at /home/bjori/Work/OSS/php/php5.3/Zend/zend_hash.c:761 #16 0x00982a94 in shutdown_destructors () at /home/bjori/Work/OSS/php/php5.3/Zend/zend_execute_API.c:226 #17 0x0099521b in zend_call_destructors () at /home/bjori/Work/OSS/php/php5.3/Zend/zend.c:874 #18 0x0091414a in php_request_shutdown (dummy=0x0) at /home/bjori/Work/OSS/php/php5.3/main/main.c:1591 #19 0x00a84304 in main (argc=2, argv=0x7fffe198) at /home/bjori/Work/OSS/php/php5.3/sapi/cli/php_cli.c:1374 (gdb) -- Edit bug report at http://bugs.php.net/bug.php?id=54601edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=54601r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=54601r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=54601r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=54601r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54601r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=54601r=alreadyfixed Need
#48578 [NEW]: Can't build 5.3 on FBSD 4.11
From: hannes dot magnusson at gmail dot com Operating system: FreeBSD 4.11 PHP version: 5.3CVS-2009-06-17 (snap) PHP Bug Type: Compile Failure Bug description: Can't build 5.3 on FBSD 4.11 Description: /bin/sh /usr/home/bjori/php5.3-200906170630/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/home/bjori/php5.3-200906170630/ext/fileinfo/libmagic -Iext/fileinfo/ -I/usr/home/bjori/php5.3-200906170630/ext/fileinfo/ -DPHP_ATOM_INC -I/usr/home/bjori/php5.3-200906170630/include -I/usr/home/bjori/php5.3-200906170630/main -I/usr/home/bjori/php5.3-200906170630 -I/usr/home/bjori/php5.3-200906170630/ext/date/lib -I/usr/home/bjori/php5.3-200906170630/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/home/bjori/php5.3-200906170630/ext/sqlite3/libsqlite -I/usr/home/bjori/php5.3-200906170630/TSRM -I/usr/home/bjori/php5.3-200906170630/Zend-I/usr/local/include -g -O2 -c /usr/home/bjori/php5.3-200906170630/ext/fileinfo/libmagic/cdf.c -o ext/fileinfo/libmagic/cdf.lo /usr/home/bjori/php5.3-200906170630/ext/fileinfo/libmagic/cdf.c:35: warning: `__used__' attribute directive ignored /usr/home/bjori/php5.3-200906170630/ext/fileinfo/libmagic/cdf.c: In function `cdf_read_sat': /usr/home/bjori/php5.3-200906170630/ext/fileinfo/libmagic/cdf.c:331: `UINT32_MAX' undeclared (first use in this function) /usr/home/bjori/php5.3-200906170630/ext/fileinfo/libmagic/cdf.c:331: (Each undeclared identifier is reported only once /usr/home/bjori/php5.3-200906170630/ext/fileinfo/libmagic/cdf.c:331: for each function it appears in.) /usr/home/bjori/php5.3-200906170630/ext/fileinfo/libmagic/cdf.c: In function `cdf_read_property_info': /usr/home/bjori/php5.3-200906170630/ext/fileinfo/libmagic/cdf.c:700: `UINT32_MAX' undeclared (first use in this function) *** Error code 1 Stop in /usr/home/bjori/php5.3-200906170630. -bash-2.05b$ uname -a FreeBSD pb11.pair.com 4.11-STABLE FreeBSD 4.11-STABLE #1: Tue May 3 13:17:19 EDT 2005 r...@pb11.pair.com:/usr/obj/usr/src/sys/NEWPB11 i386 -bash-2.05b$ gcc -v Using builtin specs. gcc version 2.95.4 20020320 [FreeBSD] Reproduce code: --- ./configure make -- Edit bug report at http://bugs.php.net/?id=48578edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48578r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48578r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48578r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48578r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48578r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48578r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48578r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48578r=needscript Try newer version: http://bugs.php.net/fix.php?id=48578r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48578r=support Expected behavior: http://bugs.php.net/fix.php?id=48578r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48578r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48578r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48578r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48578r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=48578r=dst IIS Stability: http://bugs.php.net/fix.php?id=48578r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48578r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48578r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48578r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48578r=mysqlcfg
#48579 [NEW]: Another build failure
From: hannes dot magnusson at gmail dot com Operating system: FreeBSD 4.11 PHP version: 5.3CVS-2009-06-17 (snap) PHP Bug Type: Compile Failure Bug description: Another build failure Description: -bash-2.05b$ uname -a FreeBSD pb11.pair.com 4.11-STABLE FreeBSD 4.11-STABLE #1: Tue May 3 13:17:19 EDT 2005 r...@pb11.pair.com:/usr/obj/usr/src/sys/NEWPB11 i386 -bash-2.05b$ gcc -v Using builtin specs. gcc version 2.95.4 20020320 [FreeBSD] Reproduce code: --- ./configure --disable-fileinfo Actual result: -- ext/standard/formatted_print.o: In function `php_formatted_print': /usr/home/bjori/php5.3-200906170630/ext/standard/formatted_print.c:96: undefined reference to `zend_error_noreturn' /usr/home/bjori/php5.3-200906170630/ext/standard/formatted_print.c:103: undefined reference to `zend_error_noreturn' /usr/home/bjori/php5.3-200906170630/ext/standard/formatted_print.c:96: undefined reference to `zend_error_noreturn' /usr/home/bjori/php5.3-200906170630/ext/standard/formatted_print.c:103: undefined reference to `zend_error_noreturn' /usr/home/bjori/php5.3-200906170630/ext/standard/formatted_print.c:96: undefined reference to `zend_error_noreturn' ext/standard/formatted_print.o:/usr/home/bjori/php5.3-200906170630/ext/standard/formatted_print.c:103: more undefined references to `zend_error_noreturn' follow *** Error code 1 -- Edit bug report at http://bugs.php.net/?id=48579edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48579r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48579r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48579r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48579r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48579r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48579r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48579r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48579r=needscript Try newer version: http://bugs.php.net/fix.php?id=48579r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48579r=support Expected behavior: http://bugs.php.net/fix.php?id=48579r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48579r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48579r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48579r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48579r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=48579r=dst IIS Stability: http://bugs.php.net/fix.php?id=48579r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48579r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48579r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48579r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48579r=mysqlcfg
#48043 [NEW]: 8192 bytes files crash
From: hannes dot magnusson at gmail dot com Operating system: Linux PHP version: 5.3CVS-2009-04-22 (CVS) PHP Bug Type: Reproducible crash Bug description: 8192 bytes files crash Description: Any 8192 byte file crashes under apach2. Doesn't even have to have ?php tags, just as long as the file is 8192bytes. For some reason I cannot reproduce this under CLI Reproduce code: --- - Create a file with the size of 8192 - Compile PHP as apache2 module - Hit the file Actual result: -- #0 0xb7e69211 in memchr () from /lib/tls/i686/cmov/libc.so.6 #1 0xb733c98a in lex_scan (zendlval=0xbfb628ac) at Zend/zend_language_scanner.l:1608 #2 0xb73635d9 in zendlex (zendlval=0xbfb628a8) at /usr/src/php/5.3/Zend/zend_compile.c:4880 #3 0xb7335a60 in zendparse () at /usr/src/php/5.3/Zend/zend_language_parser.c:3280 #4 0xb733bc59 in compile_file (file_handle=0xbfb62a8c, type=2) at Zend/zend_language_scanner.l:337 #5 0xb73b05bf in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER (execute_data=0xb86123d0) at /usr/src/php/5.3/Zend/zend_vm_execute.h:5166 #6 0xb73a0fdd in execute (op_array=0xb8719ba0) at /usr/src/php/5.3/Zend/zend_vm_execute.h:104 #7 0xb7376a9c in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/src/php/5.3/Zend/zend.c:1188 #8 0xb730ad4e in php_execute_script (primary_file=0xbfb64e44) at /usr/src/php/5.3/main/main.c:2157 #9 0xb743596c in php_handler (r=0xb860de78) at /usr/src/php/5.3/sapi/apache2handler/sapi_apache2.c:648 #10 0xb804330d in ap_run_handler () from /usr/sbin/apache2 #11 0xb8046f2f in ap_invoke_handler () from /usr/sbin/apache2 #12 0xb8056190 in ap_internal_redirect () from /usr/sbin/apache2 #13 0xb805620c in ap_process_request () from /usr/sbin/apache2 #14 0xb8052f78 in ?? () from /usr/sbin/apache2 #15 0xb804b6fd in ap_run_process_connection () from /usr/sbin/apache2 #16 0xb805b781 in ?? () from /usr/sbin/apache2 #17 0xb805bad9 in ?? () from /usr/sbin/apache2 #18 0xb805c830 in ap_mpm_run () from /usr/sbin/apache2 #19 0xb802e0e9 in main () from /usr/sbin/apache2 -- Edit bug report at http://bugs.php.net/?id=48043edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48043r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48043r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48043r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48043r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48043r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48043r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48043r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48043r=needscript Try newer version: http://bugs.php.net/fix.php?id=48043r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48043r=support Expected behavior: http://bugs.php.net/fix.php?id=48043r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48043r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48043r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48043r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48043r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=48043r=dst IIS Stability: http://bugs.php.net/fix.php?id=48043r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48043r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48043r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48043r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48043r=mysqlcfg
#46845 [Asn]: Test expected to fail, but pass, dont cause an error
ID: 46845 User updated by: hannes dot magnusson at gmail dot com Reported By: hannes dot magnusson at gmail dot com Status: Assigned Bug Type: *General Issues Operating System: Linux PHP Version: 5.3.0alpha3 Assigned To: zoe New Comment: WARN. I think WARN tests have their own printout section so it sounds good to me. Previous Comments: [2008-12-31 10:03:21] z...@php.net This discussion did come up when we added the XFAIL option and iirc we decided to go with the current behaviour. That said, I'm happy to change it if we can find a better solution. Currently, as you say, we have the risk that someone could change PHP, the test could start passing, the developer forgets to remove the XFAIL section and then some time later the test starts to really fail but because there is an XFAIL section the failure is ignored. I have checked through all the tests in PHP53 and found no passing test with an XFAIL section, so this hasn't been a problem yet. One solution might be to make tests always FAIL until the XFAIL section is removed. This might be annoying and confusing if you were trying to fix a bug. However it would ensure that the developer remembered to remove the XFAIL section. Another would be to introduce another state XFAILPASS? for tests which have an XFAIL section but actually pass? Or maybe WARN? Do you have a preference for any of these? On balance my view is still that it's a small enough risk that this isn't worth another hack in an already much-hacked script, on the other hand if there is a clear 'right' answer I will fix it. [2008-12-12 12:20:44] hannes dot magnusson at gmail dot com Description: When test using XFAIL start working (i.e. don't fail) run-tests.php doesn't mark them in any special manners. This means that when the fix breaks the test goes back into the Expected fail category without anyone ever noticing that something broke. -- Edit this bug report at http://bugs.php.net/?id=46845edit=1
#46845 [NEW]: Test expected to fail, but pass, dont cause an error
From: hannes dot magnusson at gmail dot com Operating system: Linux PHP version: 5.3.0alpha3 PHP Bug Type: *Configuration Issues Bug description: Test expected to fail, but pass, dont cause an error Description: When test using XFAIL start working (i.e. don't fail) run-tests.php doesn't mark them in any special manners. This means that when the fix breaks the test goes back into the Expected fail category without anyone ever noticing that something broke. -- Edit bug report at http://bugs.php.net/?id=46845edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46845r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46845r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46845r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46845r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46845r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=46845r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46845r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46845r=needscript Try newer version: http://bugs.php.net/fix.php?id=46845r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46845r=support Expected behavior: http://bugs.php.net/fix.php?id=46845r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46845r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46845r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46845r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46845r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=46845r=dst IIS Stability: http://bugs.php.net/fix.php?id=46845r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46845r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46845r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46845r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46845r=mysqlcfg
#46846 [NEW]: Regex failure in run-tests
From: hannes dot magnusson at gmail dot com Operating system: Linux PHP version: 5.3.0alpha3 PHP Bug Type: *Configuration Issues Bug description: Regex failure in run-tests Description: Running ext/standard/tests/file/tempnam_variation4.phpt via run-tests.php causes regex compile failure. Reproduce code: --- 5.3$ TEST_PHP_EXECUTABLE=auto sapi/cli/php run-tests.php ext/standard/tests/file/tempnam_variation4.phpt Actual result: -- PHP Warning: preg_match(): Compilation failed: regular expression is too large at offset 35480 in /usr/src/php/5.3/run-tests.php on line 1781 -- Edit bug report at http://bugs.php.net/?id=46846edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46846r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46846r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46846r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46846r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46846r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=46846r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46846r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46846r=needscript Try newer version: http://bugs.php.net/fix.php?id=46846r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46846r=support Expected behavior: http://bugs.php.net/fix.php?id=46846r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46846r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46846r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46846r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46846r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=46846r=dst IIS Stability: http://bugs.php.net/fix.php?id=46846r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46846r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46846r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46846r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46846r=mysqlcfg
#46849 [NEW]: Cloning DOMDocument doesn't clone the properties
From: hannes dot magnusson at gmail dot com Operating system: Linux PHP version: 5.3.0alpha3 PHP Bug Type: DOM XML related Bug description: Cloning DOMDocument doesn't clone the properties Description: Cloning and DOMDocument doesn't clone the properties Reproduce code: --- ?php $dom = new DOMDocument; $dom-formatOutput = 1; var_dump($dom-formatOutput); $dom2 = clone $dom; var_dump($dom2-formatOutput); Expected result: bool(true) bool(true) Actual result: -- bool(true) bool(false) -- Edit bug report at http://bugs.php.net/?id=46849edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46849r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46849r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46849r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46849r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46849r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=46849r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46849r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46849r=needscript Try newer version: http://bugs.php.net/fix.php?id=46849r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46849r=support Expected behavior: http://bugs.php.net/fix.php?id=46849r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46849r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46849r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46849r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46849r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=46849r=dst IIS Stability: http://bugs.php.net/fix.php?id=46849r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46849r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46849r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46849r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46849r=mysqlcfg
#46811 [NEW]: ini_set() doesn't return false on failure
From: hannes dot magnusson at gmail dot com Operating system: Linux PHP version: 5.2.8 PHP Bug Type: *Configuration Issues Bug description: ini_set() doesn't return false on failure Description: ini_set() doesn't return false when updating PHP_INI_ALL entries that can fail. Reproduce code: --- ?php var_dump(ini_set(arg_separator.output, )); var_dump(ini_get(arg_separator.output)); ? Expected result: bool(false) string(1) Actual result: -- string(1) string(1) -- Edit bug report at http://bugs.php.net/?id=46811edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46811r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46811r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46811r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46811r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46811r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=46811r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46811r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46811r=needscript Try newer version: http://bugs.php.net/fix.php?id=46811r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46811r=support Expected behavior: http://bugs.php.net/fix.php?id=46811r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46811r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46811r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46811r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46811r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=46811r=dst IIS Stability: http://bugs.php.net/fix.php?id=46811r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46811r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46811r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46811r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46811r=mysqlcfg
#46406 [NEW]: Unregistering nodeclass throws E_FATAL
From: hannes dot magnusson at gmail dot com Operating system: Irrelevant PHP version: 5.2.7RC2 PHP Bug Type: DOM XML related Bug description: Unregistering nodeclass throws E_FATAL Description: Trying to unregister already unregistered nodeclass throws E_FATAL.. Unregistering nodeclass before any nodeclass is registered works fine however. Reproduce code: --- ?php class elm extends DOMNode {} $dom = new DOMDocument; // Unregistering nothing, works fine $dom-registerNodeClass(DOMNode, null); $dom-registerNodeClass(DOMNode, elm); // Unregister elm, works fine $dom-registerNodeClass(DOMNode, null); // Unregistering nothing, E_FATAL $dom-registerNodeClass(DOMNode, null); Expected result: Nothing to happen. Actual result: -- Fatal error: DOMDocument::registerNodeClass(): Class (null) could not be registered. in /crypto/bjori/- on line 13 -- Edit bug report at http://bugs.php.net/?id=46406edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46406r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46406r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46406r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46406r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46406r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=46406r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46406r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46406r=needscript Try newer version: http://bugs.php.net/fix.php?id=46406r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46406r=support Expected behavior: http://bugs.php.net/fix.php?id=46406r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46406r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46406r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46406r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46406r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=46406r=dst IIS Stability: http://bugs.php.net/fix.php?id=46406r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46406r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46406r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46406r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46406r=mysqlcfg
#45911 [NEW]: Cannot disable ext/hash
From: hannes dot magnusson at gmail dot com Operating system: Linux PHP version: 5.3.0alpha1 PHP Bug Type: *Configuration Issues Bug description: Cannot disable ext/hash Description: --disable-all doesn't disable ext/hash Reproduce code: --- ./configure --disable-all Actual result: -- [EMAIL PROTECTED]:/usr/src/php/5.3$ sapi/cli/php -m [PHP Modules] date ereg hash pcre Reflection SPL standard -- Edit bug report at http://bugs.php.net/?id=45911edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45911r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45911r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45911r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45911r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45911r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45911r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=45911r=needscript Try newer version:http://bugs.php.net/fix.php?id=45911r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45911r=support Expected behavior:http://bugs.php.net/fix.php?id=45911r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45911r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45911r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45911r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45911r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45911r=dst IIS Stability:http://bugs.php.net/fix.php?id=45911r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45911r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45911r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45911r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=45911r=mysqlcfg
#45835 [NEW]: include_once ans symlinks
From: hannes dot magnusson at gmail dot com Operating system: Ubuntu 8.04.1 PHP version: 5.3CVS-2008-08-16 (snap) PHP Bug Type: CGI related Bug description: include_once ans symlinks Description: Looks like the new realpath() implementation is having issues with symlinks.. include_once with symlinks in the path, under lighttpd, is failing. Can't seem to reproduce this under cli. /www/bjori.php.is is a symlink to /www/local.php.net /www/local.php.net is then a symlink to /home/bjori/php/web Using the realpath of the file, or relative path, works fine. Reproduce code: --- [EMAIL PROTECTED]:~/php/5.3$ cat config.nice #! /bin/sh # # Created by configure './configure' \ '--prefix=/home/bjori/.apps' \ '--enable-debug' \ '--with-zend-vm=GOTO' \ '--disable-all' \ '--without-pear' \ [EMAIL PROTECTED]:~/php/web$ cat test.php ?php var_dump(file_exists(/www/bjori.php.is/test/inc.php)); include /www/bjori.php.is/test/inc.php; [EMAIL PROTECTED]:~/php/web$ cat test/inc.php hello world Actual result: -- bool(true) Warning: include(/www/bjori.php.is/test/inc.php) [function.include]: failed to open stream: No such file or directory in /home/bjori/php/web/test.php on line 3 Sometimes: bool(true) Warning: include(/www/bjori.php.is/test/inc.php) [function.include]: failed to open stream: Success in /home/bjori/php/web/test.php on line 3 And even the occasional: Fatal error: Unknown: Failed opening required '' (include_path='.:') in Unknown on line 0 -- Edit bug report at http://bugs.php.net/?id=45835edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45835r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45835r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45835r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45835r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45835r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45835r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=45835r=needscript Try newer version:http://bugs.php.net/fix.php?id=45835r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45835r=support Expected behavior:http://bugs.php.net/fix.php?id=45835r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45835r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45835r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45835r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45835r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45835r=dst IIS Stability:http://bugs.php.net/fix.php?id=45835r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45835r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45835r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45835r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=45835r=mysqlcfg
#45757 [NEW]: Failed include; stdint.h
From: hannes dot magnusson at gmail dot com Operating system: FreeBSD4.11 PHP version: 5.3CVS-2008-08-08 (snap) PHP Bug Type: Compile Failure Bug description: Failed include; stdint.h Description: /usr/home/bjori/php5.3-200808071630/ext/standard/crypt_freesec.h:8: stdint.h: No such file or directory FreeBSD pb11.pair.com 4.11-STABLE FreeBSD 4.11-STABLE #1: Tue May 3 13:17:19 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/NEWPB11 i386 That include seems to be redundant, as after removing it everything builds fine. Reproduce code: --- ./configure --disable-all make -- Edit bug report at http://bugs.php.net/?id=45757edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45757r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45757r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45757r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45757r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45757r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45757r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=45757r=needscript Try newer version:http://bugs.php.net/fix.php?id=45757r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45757r=support Expected behavior:http://bugs.php.net/fix.php?id=45757r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45757r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45757r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45757r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45757r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45757r=dst IIS Stability:http://bugs.php.net/fix.php?id=45757r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45757r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45757r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45757r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=45757r=mysqlcfg
#45682 [NEW]: Unable to var_dump(DateInterval)
From: hannes dot magnusson at gmail dot com Operating system: Linux PHP version: 5.3.0alpha1 PHP Bug Type: Date/time related Bug description: Unable to var_dump(DateInterval) Description: The DateInterval does not seem to expose its properties to var_dump().. Reproduce code: --- [EMAIL PROTECTED]:~$ cat test.php ?php $date = new DateTime(28-July-2008); $other = new DateTime(31-July-2008); $diff = date_diff($date, $other); var_dump($diff); echo $diff, \n; [EMAIL PROTECTED]:~$ ~/php/5.3/sapi/cli/php test.php object(DateInterval)#3 (0) { } Catchable fatal error: Object of class DateInterval could not be converted to string in /crypto/bjori/test.php on line 9 Expected result: The properties to retrieve the actual difference. -- Edit bug report at http://bugs.php.net/?id=45682edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45682r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45682r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45682r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45682r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45682r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45682r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=45682r=needscript Try newer version:http://bugs.php.net/fix.php?id=45682r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45682r=support Expected behavior:http://bugs.php.net/fix.php?id=45682r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45682r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45682r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45682r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45682r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45682r=dst IIS Stability:http://bugs.php.net/fix.php?id=45682r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45682r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45682r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45682r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=45682r=mysqlcfg
#43953 [NEW]: glob:// appends filenames to the pattern
From: hannes dot magnusson at gmail dot com Operating system: Linux PHP version: 5.3CVS-2008-01-28 (CVS) PHP Bug Type: Filesystem function related Bug description: glob:// appends filenames to the pattern Description: Looks like glob:// appends the filenames, rather than replacing the pattern with the filename.. Reproduce code: --- ?php $it = new DirectoryIterator(glob://ext/spl/examples/*.php); foreach($it as $f) { printf(%s: %.1FK\n, $f-getFilename(), $f-getSize()/1024); } Expected result: class_tree.php: 1.8K tree.php: 1.0K findregex.php: 0.6K findfile.php: 0.7K dba_dump.php: 0.9K nocvsdir.php: 1.1K phar_from_dir.php: 1.0K ini_groups.php: 0.9K directorytree.php: 0.9K dba_array.php: 1.1K Actual result: -- PHP Fatal error: Uncaught exception 'RuntimeException' with message 'SplFileInfo::getSize(): stat failed for glob://ext/spl/examples/*.php/class_tree.php' in /home/bjori/php/5.3/-:6 Stack trace: #0 /home/bjori/php/5.3/-(6): SplFileInfo-getSize() #1 {main} thrown in /home/bjori/php/5.3/- on line 6 -- Edit bug report at http://bugs.php.net/?id=43953edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43953r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43953r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43953r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43953r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43953r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43953r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43953r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=43953r=needscript Try newer version:http://bugs.php.net/fix.php?id=43953r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43953r=support Expected behavior:http://bugs.php.net/fix.php?id=43953r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43953r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43953r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43953r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43953r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43953r=dst IIS Stability:http://bugs.php.net/fix.php?id=43953r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43953r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43953r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43953r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=43953r=mysqlcfg
#43293 [NEW]: Multiple segfaults in getopt()
From: hannes dot magnusson at gmail dot com Operating system: Linux PHP version: 5.3CVS-2007-11-14 (CVS) PHP Bug Type: Reproducible crash Bug description: Multiple segfaults in getopt() Description: When $argv contains a non-string value getopt() segfaults. When $argv is not an array getopt() segfaults. When the longopts array contains non-string value getopt() segfaults. -- Edit bug report at http://bugs.php.net/?id=43293edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43293r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43293r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43293r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43293r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43293r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43293r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43293r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=43293r=needscript Try newer version:http://bugs.php.net/fix.php?id=43293r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43293r=support Expected behavior:http://bugs.php.net/fix.php?id=43293r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43293r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43293r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43293r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43293r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43293r=dst IIS Stability:http://bugs.php.net/fix.php?id=43293r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43293r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43293r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43293r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=43293r=mysqlcfg
#41115 [Fbk-Opn]: Memory leak when creating object from empty value
ID: 41115 User updated by: hannes dot magnusson at gmail dot com Reported By: hannes dot magnusson at gmail dot com -Status: Feedback +Status: Open Bug Type: Scripting Engine problem Operating System: * PHP Version: 5CVS-2007-04-17 (CVS) Assigned To: stas New Comment: PHP Notice: Indirect modification of overloaded element of foo has no effect in /home/bjori/php/- on line 16 [Mon Nov 5 22:37:52 2007] Script: '-' /home/bjori/php/5.3/Zend/zend_execute.c(453) : Freeing 0x086228D8 (16 bytes), script=- === Total 1 memory leaks detected === Previous Comments: [2007-11-05 21:24:04] [EMAIL PROTECTED] Couldn't reproduce it in neither 5.2 nor 5.3 HEAD. Does it still happen for you? [2007-08-17 23:26:52] [EMAIL PROTECTED] Stas, you seem to have added the code where the leak emits from.. :) [2007-04-17 12:08:28] hannes dot magnusson at gmail dot com Description: Creating an object from an empty value on overloaded element leaks. Reproduce code: --- ?php class foo implements ArrayAccess { private $array; public function offsetSet($key, $value) { $this-array[$key] = $value; } public function offsetGet($key) { return $this-array[$key]; } public function offsetExists($key) {} public function offsetUnset($key) {} } $foo = new foo; $foo[bar] = array(); $foo[bar][0]-std = foo; Actual result: -- Notice: Indirect modification of overloaded element of foo has no effect in /usr/home/bjori/test/memleak.php on line 16 Strict Standards: Creating default object from empty value in /usr/home/bjori/test/memleak.php on line 16 [Tue Apr 17 14:02:54 2007] Script: 'memleak.php' /usr/src/php/5.2/Zend/zend_execute.c(441) : Freeing 0x0850535C (16 bytes), script=memleak.php === Total 1 memory leaks detected === -- Edit this bug report at http://bugs.php.net/?id=41115edit=1
#42306 [NEW]: Using current/next/prev/key on the same array as foreach() is currently looping
From: hannes dot magnusson at gmail dot com Operating system: Linux/Ubuntu 7.04 PHP version: 5CVS-2007-08-15 (CVS) PHP Bug Type: Arrays related Bug description: Using current/next/prev/key on the same array as foreach() is currently looping Description: If I use current/next/prev/key() on the same array as foreach() is currently looping over the internal pointer is only increased on the first iteration. However. If I compare the value ($b) to something before using current/next/prev/key() I get the expected results: $a = range(0, 10); foreach($a as $b) { if($b == 5) { var_dump(current($a)); // int(6) } } Reproduce code: --- ?php $a = range(0, 10); foreach($a as $b) { var_dump(current($a)); if($b == 5) { var_dump(current($a)); } } Expected result: int(1) int(2) int(3) int(4) int(5) int(6) // The var_dump() inside the if() int(6) int(7) int(8) int(9) int(10) bool(false) // Since the internal pointer points beyond the end Actual result: -- int(1) int(1) int(1) int(1) int(1) int(1) int(1) int(1) int(1) int(1) int(1) int(1) -- Edit bug report at http://bugs.php.net/?id=42306edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42306r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42306r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42306r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=42306r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=42306r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=42306r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=42306r=needscript Try newer version:http://bugs.php.net/fix.php?id=42306r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=42306r=support Expected behavior:http://bugs.php.net/fix.php?id=42306r=notwrong Not enough info: http://bugs.php.net/fix.php?id=42306r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=42306r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=42306r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42306r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=42306r=dst IIS Stability:http://bugs.php.net/fix.php?id=42306r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=42306r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=42306r=float No Zend Extensions: http://bugs.php.net/fix.php?id=42306r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=42306r=mysqlcfg
#41421 [NEW]: Uncaught exception from a stream wrapper segfaults
From: hannes dot magnusson at gmail dot com Operating system: FreeBSD PHP version: 5CVS-2007-05-17 (CVS) PHP Bug Type: Reproducible crash Bug description: Uncaught exception from a stream wrapper segfaults Description: Uncaught exceptions from a stream wrapper segfaults.. Reproduce code: --- ?php class wrapper { function stream_open() { return true; } function stream_eof() { throw new exception(); } } stream_wrapper_register(wrap, wrapper); $fp = fopen(wrap://..., r); feof($fp); Expected result: Fatal error: Uncaught exception 'Exception' in %s:%d Stack trace: #0 [internal function]: wrapper-stream_eof() #1 %s(%d): feof(Resource id #%d) #2 {main} thrown in %s on line %d Actual result: -- Warning: feof(): wrapper::stream_eof is not implemented! Assuming EOF in /usr/src/php/5.2/wrapper.php on line 16 Fatal error: Uncaught exception 'Exception' in /usr/src/php/5.2/wrapper.php:7 Stack trace: #0 [internal function]: wrapper-stream_eof() #1 /usr/src/php/5.2/wrapper.php(13): feof(Resource id #6) #2 {main} thrown in /usr/src/php/5.2/wrapper.php on line 7 Segmentation fault: 11 (core dumped) #0 0x082f6191 in _zend_is_inconsistent (ht=0x5a5a5a76, file=0x8427ad4 /usr/src/php/5.2/Zend/zend_hash.c, line=868) at /usr/src/php/5.2/Zend/zend_hash.c:53 #1 0x082f8523 in zend_hash_find (ht=0x5a5a5a76, arKey=0xbfbfe000 stream_flush, nKeyLength=13, pData=0xbfbfe04c) at /usr/src/php/5.2/Zend/zend_hash.c:868 #2 0x0830aa6e in zend_std_get_method (object_ptr=0x8472440, method_name=0x8410b5b stream_flush, method_len=12) at /usr/src/php/5.2/Zend/zend_object_handlers.c:767 #3 0x082e159e in zend_call_function (fci=0xbfbfe190, fci_cache=0x0) at /usr/src/php/5.2/Zend/zend_execute_API.c:783 #4 0x082e0cf7 in call_user_function_ex (function_table=0x0, object_pp=0x8472440, function_name=0xbfbfe210, retval_ptr_ptr=0xbfbfe20c, param_count=0, params=0x0, no_separation=0, symbol_table=0x0) at /usr/src/php/5.2/Zend/zend_execute_API.c:602 #5 0x082c16ec in php_userstreamop_flush (stream=0x8471064) at /usr/src/php/5.2/main/streams/userspace.c:694 #6 0x082b7ac9 in _php_stream_flush (stream=0x8471064, closing=1) at /usr/src/php/5.2/main/streams/streams.c:1008 #7 0x082b6495 in _php_stream_free (stream=0x8471064, close_options=11) at /usr/src/php/5.2/main/streams/streams.c:321 #8 0x082b88f7 in stream_resource_regular_dtor (rsrc=0x847111c) at /usr/src/php/5.2/main/streams/streams.c:1369 #9 0x082f9b79 in list_entry_destructor (ptr=0x847111c) at /usr/src/php/5.2/Zend/zend_list.c:184 #10 0x082f78ee in zend_hash_del_key_or_index (ht=0x845da48, arKey=0x0, nKeyLength=0, h=6, flag=1) at /usr/src/php/5.2/Zend/zend_hash.c:497 #11 0x082f986b in _zend_list_delete (id=6) at /usr/src/php/5.2/Zend/zend_list.c:58 #12 0x082ebf86 in _zval_dtor_func (zvalue=0x847130c, __zend_filename=0x8425998 /usr/src/php/5.2/Zend/zend_variables.h, __zend_lineno=35) at /usr/src/php/5.2/Zend/zend_variables.c:60 #13 0x082e0067 in _zval_dtor (zvalue=0x847130c, __zend_filename=0x842593c /usr/src/php/5.2/Zend/zend_execute_API.c, __zend_lineno=414) at zend_variables.h:35 #14 0x082e0220 in _zval_ptr_dtor (zval_ptr=0x8471354, __zend_filename=0x84269a4 /usr/src/php/5.2/Zend/zend_variables.c, __zend_lineno=175) at /usr/src/php/5.2/Zend/zend_execute_API.c:414 #15 0x082ec243 in _zval_ptr_dtor_wrapper (zval_ptr=0x8471354) at /usr/src/php/5.2/Zend/zend_variables.c:175 #16 0x082f7a0c in zend_hash_destroy (ht=0x8471268) at /usr/src/php/5.2/Zend/zend_hash.c:526 #17 0x082ebf43 in _zval_dtor_func (zvalue=0x84732fc, __zend_filename=0x8425998 /usr/src/php/5.2/Zend/zend_variables.h, __zend_lineno=35) at /usr/src/php/5.2/Zend/zend_variables.c:43 #18 0x082e0067 in _zval_dtor (zvalue=0x84732fc, __zend_filename=0x842593c /usr/src/php/5.2/Zend/zend_execute_API.c, __zend_lineno=414) at zend_variables.h:35 #19 0x082e0220 in _zval_ptr_dtor (zval_ptr=0x84713a4, __zend_filename=0x84269a4 /usr/src/php/5.2/Zend/zend_variables.c, __zend_lineno=175) at /usr/src/php/5.2/Zend/zend_execute_API.c:414 #20 0x082ec243 in _zval_ptr_dtor_wrapper (zval_ptr=0x84713a4) at /usr/src/php/5.2/Zend/zend_variables.c:175 #21 0x082f7a0c in zend_hash_destroy (ht=0x8473024) at /usr/src/php/5.2/Zend/zend_hash.c:526 #22 0x082ebf43 in _zval_dtor_func (zvalue=0x8472fe8, __zend_filename=0x8425998 /usr/src/php/5.2/Zend/zend_variables.h, __zend_lineno=35) at /usr/src/php/5.2/Zend/zend_variables.c:43 #23 0x082e0067 in _zval_dtor (zvalue=0x8472fe8, __zend_filename=0x842593c /usr/src/php/5.2/Zend/zend_execute_API.c, __zend_lineno=414) at zend_variables.h:35 #24 0x082e0220 in _zval_ptr_dtor (zval_ptr=0x84713f8, __zend_filename=0x84269a4 /usr/src/php/5.2/Zend/zend_variables.c, __zend_lineno=175) at /usr/src/php/5.2/Zend/zend_execute_API.c:414 #25 0x082ec243 in _zval_ptr_dtor_wrapper (zval_ptr=0x84713f8) at /usr/src/php/5.2/Zend/zend_variables.c:175 #26 0x082f7a0c in zend_hash_destroy (ht=0x8472c54
#41116 [NEW]: Bogus indrect modification ..has no effect warning
From: hannes dot magnusson at gmail dot com Operating system: FreeBSD PHP version: 5CVS-2007-04-17 (CVS) PHP Bug Type: Scripting Engine problem Bug description: Bogus indrect modification ..has no effect warning Description: When setting value to an object returned from an overloaded array produces bogus Indirect modification of overloaded element of foo has no effect warning Reproduce code: --- ?php class foo implements ArrayAccess { private $array; public function offsetSet($key, $value) { $this-array[$key] = $value; } public function offsetGet($key) { return $this-array[$key]; } public function offsetExists($key) {} public function offsetUnset($key) {} } $foo = new foo; $std = new stdclass; $foo[bar] = array($std); $foo[bar][0]-std = foo; var_dump($foo); Actual result: -- Notice: Indirect modification of overloaded element of foo has no effect in /usr/home/bjori/test/bogus.warning.php on line 17 object(foo)#1 (1) { [array:private]= array(1) { [bar]= array(1) { [0]= object(stdClass)#2 (1) { [std]= string(3) foo } } } } -- Edit bug report at http://bugs.php.net/?id=41116edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41116r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41116r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41116r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41116r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41116r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41116r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=41116r=needscript Try newer version:http://bugs.php.net/fix.php?id=41116r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41116r=support Expected behavior:http://bugs.php.net/fix.php?id=41116r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41116r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41116r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41116r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41116r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41116r=dst IIS Stability:http://bugs.php.net/fix.php?id=41116r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41116r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41116r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41116r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=41116r=mysqlcfg
#41115 [NEW]: Memory leak when creating object from empty value
From: hannes dot magnusson at gmail dot com Operating system: FreeBSD PHP version: 5CVS-2007-04-17 (CVS) PHP Bug Type: Scripting Engine problem Bug description: Memory leak when creating object from empty value Description: Creating an object from an empty value on overloaded element leaks. Reproduce code: --- ?php class foo implements ArrayAccess { private $array; public function offsetSet($key, $value) { $this-array[$key] = $value; } public function offsetGet($key) { return $this-array[$key]; } public function offsetExists($key) {} public function offsetUnset($key) {} } $foo = new foo; $foo[bar] = array(); $foo[bar][0]-std = foo; Actual result: -- Notice: Indirect modification of overloaded element of foo has no effect in /usr/home/bjori/test/memleak.php on line 16 Strict Standards: Creating default object from empty value in /usr/home/bjori/test/memleak.php on line 16 [Tue Apr 17 14:02:54 2007] Script: 'memleak.php' /usr/src/php/5.2/Zend/zend_execute.c(441) : Freeing 0x0850535C (16 bytes), script=memleak.php === Total 1 memory leaks detected === -- Edit bug report at http://bugs.php.net/?id=41115edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41115r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41115r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41115r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41115r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41115r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41115r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=41115r=needscript Try newer version:http://bugs.php.net/fix.php?id=41115r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41115r=support Expected behavior:http://bugs.php.net/fix.php?id=41115r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41115r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41115r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41115r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41115r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41115r=dst IIS Stability:http://bugs.php.net/fix.php?id=41115r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41115r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41115r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41115r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=41115r=mysqlcfg
#41117 [NEW]: Altering $this via reference weirdness
From: hannes dot magnusson at gmail dot com Operating system: FreeBSD PHP version: 5CVS-2007-04-17 (CVS) PHP Bug Type: Scripting Engine problem Bug description: Altering $this via reference weirdness Description: Using $this as parameter is possible, but when using it (except from printing it out) $this referes to itself It is also possible to change $this via reference. The object name seems to get changed - but when using it it works fine. Reproduce code: --- ?php class foo { function __construct($this) { printf(ctor \$this parameter is: %s\n, var_export($this, 1)); self::overwrite($this); printf(Returning from self::overwrite \$this is: %s, get_class($this)); $this-hello(); } function overwrite($obj) { $obj = new stdclass; printf(self::overwrite \$this is: %s\n, get_class($this)); } function hello() { printf( ...lier! \$this is still %s\n, get_class($this)); } } $obj = new foo(Hello world); var_dump($obj); Actual result: -- ctor $this parameter is: 'Hello world' self::overwrite $this is: foo Returning from self::overwrite $this is: stdClass ...lier! $this is still foo object(foo)#1 (0) { } -- Edit bug report at http://bugs.php.net/?id=41117edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41117r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41117r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41117r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41117r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41117r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41117r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=41117r=needscript Try newer version:http://bugs.php.net/fix.php?id=41117r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41117r=support Expected behavior:http://bugs.php.net/fix.php?id=41117r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41117r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41117r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41117r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41117r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41117r=dst IIS Stability:http://bugs.php.net/fix.php?id=41117r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41117r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41117r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41117r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=41117r=mysqlcfg
#40836 [NEW]: Segfault in ext/dom
From: hannes dot magnusson at gmail dot com Operating system: FreeBSD PHP version: 5CVS-2007-03-16 (CVS) PHP Bug Type: Reproducible crash Bug description: Segfault in ext/dom Description: See reproduce code Reproduce code: --- ?php $dom = new DOMDocument(1.0, UTF-8); $dom-preserveWhiteSpace = false; $xml = '?xml version=1.0 encoding=utf-8? feed xmlns=http://www.w3.org/2005/Atom; entry xmlns=http://www.w3.org/2005/Atom; updated2007-02-14T00:00:00+01:00/updated content div xmlns=http://www.w3.org/1999/xhtml; pparagraph/p /div /content /entry /feed'; $dom-loadXML($xml); $entry = $dom-getElementsByTagNameNS(http://www.w3.org/2005/Atom;, entry)-item(0); $contentNode = $entry-getElementsByTagName(content)-item(0)-firstChild; $dateNode= $entry-getElementsByTagName(updated)-item(0)-firstChild; $contentNode-firstChild-insertBefore($dateNode); Actual result: -- #0 xmlFreeNodeList (cur=0x5a5a5a5a) at tree.c:3364 3364if (cur-type == XML_NAMESPACE_DECL) { [New LWP 100095] (gdb) bt #0 xmlFreeNodeList (cur=0x5a5a5a5a) at tree.c:3364 #1 0x28562ce5 in xmlFreeNodeList (cur=0x28997b80) at tree.c:3386 #2 0x28562ce5 in xmlFreeNodeList (cur=0x28997c40) at tree.c:3386 #3 0x28562ce5 in xmlFreeNodeList (cur=0x28997c00) at tree.c:3386 #4 0x28562ce5 in xmlFreeNodeList (cur=0x28997bc0) at tree.c:3386 #5 0x28562ce5 in xmlFreeNodeList (cur=0x28997b00) at tree.c:3386 #6 0x28562ce5 in xmlFreeNodeList (cur=0x28997ac0) at tree.c:3386 #7 0x28563485 in xmlFreeDoc (cur=0x28840ac0) at tree.c:1216 #8 0x08082a84 in php_libxml_decrement_doc_ref (object=0x288ce8b0) at /usr/src/php/5.2/ext/libxml/libxml.c:966 #9 0x080c9f5f in dom_objects_free_storage (object=0x288ce8b0) at /usr/src/php/5.2/ext/dom/php_dom.c:977 #10 0x082c3308 in zend_objects_store_del_ref_by_handle (handle=1) at /usr/src/php/5.2/Zend/zend_objects_API.c:206 #11 0x082c31c3 in zend_objects_store_del_ref (zobject=0x288ccbac) at /usr/src/php/5.2/Zend/zend_objects_API.c:168 #12 0x082a3680 in _zval_dtor_func (zvalue=0x288ccbac, __zend_filename=0x83b9778 /usr/src/php/5.2/Zend/zend_variables.h, __zend_lineno=35) at /usr/src/php/5.2/Zend/zend_variables.c:52 #13 0x08297767 in _zval_dtor (zvalue=0x288ccbac, __zend_filename=0x83b971c /usr/src/php/5.2/Zend/zend_execute_API.c, __zend_lineno=414) at zend_variables.h:35 #14 0x08297920 in _zval_ptr_dtor (zval_ptr=0x288ce488, __zend_filename=0x83ba784 /usr/src/php/5.2/Zend/zend_variables.c, __zend_lineno=175) at /usr/src/php/5.2/Zend/zend_execute_API.c:414 #15 0x082a394f in _zval_ptr_dtor_wrapper (zval_ptr=0x288ce488) at /usr/src/php/5.2/Zend/zend_variables.c:175 #16 0x082af2ee in zend_hash_apply_deleter (ht=0x83ec710, p=0x288ce47c) at /usr/src/php/5.2/Zend/zend_hash.c:611 #17 0x082af769 in zend_hash_reverse_apply (ht=0x83ec710, apply_func=0x82972a4 zval_call_destructor) at /usr/src/php/5.2/Zend/zend_hash.c:760 #18 0x08297326 in shutdown_destructors () at /usr/src/php/5.2/Zend/zend_execute_API.c:211 #19 0x082a4ce2 in zend_call_destructors () at /usr/src/php/5.2/Zend/zend.c:845 #20 0x0825cce6 in php_request_shutdown (dummy=0x0) at /usr/src/php/5.2/main/main.c:1280 #21 0x0830c15b in main (argc=2, argv=0xbfbfebec) at /usr/src/php/5.2/sapi/cli/php_cli.c:1294 gdb) frame 1 #1 0x28562ce5 in xmlFreeNodeList (cur=0x2899a300) at tree.c:3386 3386xmlFreeNodeList(cur-children); (gdb) p *cur $1 = {_private = 0x5a5a5a5a, type = 1515870810, name = 0x5a5a5a5a Address 0x5a5a5a5a out of bounds, children = 0x5a5a5a5a, last = 0x5a5a5a5a, parent = 0x5a5a5a5a, next = 0x5a5a5a5a, prev = 0x5a5a5a5a, doc = 0x5a5a5a5a, ns = 0x5a5a5a5a, content = 0x5a5a5a5a Address 0x5a5a5a5a out of bounds, properties = 0x5a5a5a5a, nsDef = 0x5a5a5a5a, psvi = 0x5a5a5a5a, line = 23130, extra = 23130} (gdb) -- Edit bug report at http://bugs.php.net/?id=40836edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40836r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40836r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40836r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=40836r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=40836r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=40836r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=40836r=needscript Try newer version:http://bugs.php.net/fix.php?id=40836r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=40836r=support Expected behavior:http://bugs.php.net/fix.php?id=40836r=notwrong Not enough info: http://bugs.php.net/fix.php?id=40836r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=40836r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=40836r=globals PHP 3 support discontinued: http
#40711 [NEW]: RecursiveIteratorIterator unable to successfully clean up after itself
From: hannes dot magnusson at gmail dot com Operating system: FreeBSD PHP version: 5CVS-2007-03-03 (CVS) PHP Bug Type: Reproducible crash Bug description: RecursiveIteratorIterator unable to successfully clean up after itself Description: Run the code below with reasonable low memory_limit on, for instance, PHP5.2 source directory. Reproduce code: --- ?php class rfi extends RecursiveFilterIterator { public function __construct($path) { parent::__construct(new RecursiveDirectoryIterator($path)); } } class rii extends RecursiveIteratorIterator { } $rii = new rii(new rfi(.)); foreach($rii as $obj) { } Actual result: -- #0 0x081d6e23 in spl_RecursiveIteratorIterator_free_storage (_object=0x850464c, tsrm_ls=0x84e82b0) at /usr/src/php/5.2/ext/spl/spl_iterators.c:719 719 sub_iter-funcs-dtor(sub_iter TSRMLS_CC); [New LWP 100098] (gdb) bt #0 0x081d6e23 in spl_RecursiveIteratorIterator_free_storage (_object=0x850464c, tsrm_ls=0x84e82b0) at /usr/src/php/5.2/ext/spl/spl_iterators.c:719 #1 0x0836d384 in zend_objects_store_free_object_storage (objects=0x84f2618, tsrm_ls=0x84e82b0) at /usr/src/php/5.2/Zend/zend_objects_API.c:89 #2 0x0833d2db in shutdown_executor (tsrm_ls=0x84e82b0) at /usr/src/php/5.2/Zend/zend_execute_API.c:299 #3 0x0834c77e in zend_deactivate (tsrm_ls=0x84e82b0) at /usr/src/php/5.2/Zend/zend.c:860 #4 0x082f5354 in php_request_shutdown (dummy=0x0) at /usr/src/php/5.2/main/main.c:1311 #5 0x083bd0d8 in main (argc=2, argv=0xbfbfe960) at /usr/src/php/5.2/sapi/cli/php_cli.c:1294 -- Edit bug report at http://bugs.php.net/?id=40711edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40711r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40711r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40711r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=40711r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=40711r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=40711r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=40711r=needscript Try newer version:http://bugs.php.net/fix.php?id=40711r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=40711r=support Expected behavior:http://bugs.php.net/fix.php?id=40711r=notwrong Not enough info: http://bugs.php.net/fix.php?id=40711r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=40711r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=40711r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40711r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=40711r=dst IIS Stability:http://bugs.php.net/fix.php?id=40711r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=40711r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=40711r=float No Zend Extensions: http://bugs.php.net/fix.php?id=40711r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=40711r=mysqlcfg
#39504 [NEW]: xmlwriter_write_dtd_entity() creates Attlist tag, not enity
From: hannes dot magnusson at gmail dot com Operating system: * PHP version: 6CVS-2006-11-13 (CVS) PHP Bug Type: *XML functions Bug description: xmlwriter_write_dtd_entity() creates Attlist tag, not enity Description: xmlwriter_write_dtd_entity() creates attlist, not entity. Proposed patch: http://home.oslo.nith.no/~maghan/xmlwriter_write_dtd_entity.patch.txt Reproduce code: --- ?php $xw = xmlwriter_open_memory(); xmlwriter_start_document($xw, NULL, UTF-8); xmlwriter_write_dtd_entity($xw, ent2, val2); xmlwriter_end_document($xw); print xmlwriter_flush($xw, true); ? Expected result: ?xml version=1.0 encoding=UTF-8? !ENTITY ent2 val2 Actual result: -- ?xml version=1.0 encoding=UTF-8? !ATTLIST ent2 val2 -- Edit bug report at http://bugs.php.net/?id=39504edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39504r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39504r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39504r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=39504r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=39504r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=39504r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=39504r=needscript Try newer version:http://bugs.php.net/fix.php?id=39504r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=39504r=support Expected behavior:http://bugs.php.net/fix.php?id=39504r=notwrong Not enough info: http://bugs.php.net/fix.php?id=39504r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=39504r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=39504r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39504r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=39504r=dst IIS Stability:http://bugs.php.net/fix.php?id=39504r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=39504r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=39504r=float No Zend Extensions: http://bugs.php.net/fix.php?id=39504r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=39504r=mysqlcfg
#39216 [Asn]: call_user_func and friends don't accept array($this, func) callback anymore
ID: 39216 User updated by: hannes dot magnusson at gmail dot com Reported By: hannes dot magnusson at gmail dot com Status: Assigned Bug Type: *Programming Data Structures Operating System: FreeBSD PHP Version: 6CVS-2006-10-20 (CVS) Assigned To: pollita New Comment: ext/standard/tests/general_functions/bug35229.php #0 0x083aaf1e in zend_call_function (fci=0xbfbfd010, fci_cache=0xbfbfd000, tsrm_ls=0x85742e0) at /usr/src/php/6.0/Zend/zend_execute_API.c:957 #1 0x082a3082 in zif_call_user_func (ht=31, return_value=0x87f395c, return_value_ptr=0x0, this_ptr=0x0, return_value_used=0, tsrm_ls=0x85742e0) at /usr/src/php/6.0/ext/standard/basic_functions.c:5030 #2 0x083e9da1 in zend_do_fcall_common_helper_SPEC (execute_data=0xbfbfd170, tsrm_ls=0x85742e0) at zend_vm_execute.h:209 #3 0x083ef52c in ZEND_DO_FCALL_SPEC_CONST_HANDLER (execute_data=0xbfbfd170, tsrm_ls=0x85742e0) at zend_vm_execute.h:1648 #4 0x083e98d1 in execute (op_array=0x87f19c8, tsrm_ls=0x85742e0) at zend_vm_execute.h:92 #5 0x083bee9e in zend_execute_scripts (type=8, tsrm_ls=0x85742e0, retval=0x0, file_count=3) at /usr/src/php/6.0/Zend/zend.c:1616 #6 0x08356e16 in php_execute_script (primary_file=0xbfbfe900, tsrm_ls=0x85742e0) at /usr/src/php/6.0/main/main.c:1922 #7 0x084382f3 in main (argc=2, argv=0xbfbfe974) at /usr/src/php/6.0/sapi/cli/php_cli.c:1119 Previous Comments: [2006-10-21 08:44:38] judas dot iscariote at gmail dot com reproduced with preg_replace_callback too .. ;-) [2006-10-20 17:00:35] hannes dot magnusson at gmail dot com Description: call_user_func()/array_walk() doesn't accept array($obj, func) callback anymore... (See Zend/tests/bug31720.phpt Zend/tests/bug19859.phpt) Reproduce code: --- ?php $array = array('at least one element'); array_walk($array, array($nonesuchvar,'show')); ? Expected result: Notice: Undefined variable: nonesuchvar in %s on line %d Notice: Non-callable array passed to zend_call_function() in %s on line %d Warning: array_walk(): Unable to call Array() - function does not exist in %s on line %d Actual result: -- Notice: Undefined variable: nonesuchvar in /usr/src/php/6.0/Zend/tests/bug31720.php on line 4 Warning: array_walk() expects parameter 2 to be valid callback, array given in /usr/src/php/6.0/Zend/tests/bug31720.php on line 4 -- Edit this bug report at http://bugs.php.net/?id=39216edit=1
#39216 [NEW]: call_user_func and friends don't accept array($this, func) callback anymore
From: hannes dot magnusson at gmail dot com Operating system: FreeBSD PHP version: 6CVS-2006-10-20 (CVS) PHP Bug Type: *Programming Data Structures Bug description: call_user_func and friends don't accept array($this, func) callback anymore Description: call_user_func()/array_walk() doesn't accept array($obj, func) callback anymore... (See Zend/tests/bug31720.phpt Zend/tests/bug19859.phpt) Reproduce code: --- ?php $array = array('at least one element'); array_walk($array, array($nonesuchvar,'show')); ? Expected result: Notice: Undefined variable: nonesuchvar in %s on line %d Notice: Non-callable array passed to zend_call_function() in %s on line %d Warning: array_walk(): Unable to call Array() - function does not exist in %s on line %d Actual result: -- Notice: Undefined variable: nonesuchvar in /usr/src/php/6.0/Zend/tests/bug31720.php on line 4 Warning: array_walk() expects parameter 2 to be valid callback, array given in /usr/src/php/6.0/Zend/tests/bug31720.php on line 4 -- Edit bug report at http://bugs.php.net/?id=39216edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39216r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39216r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39216r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=39216r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=39216r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=39216r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=39216r=needscript Try newer version:http://bugs.php.net/fix.php?id=39216r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=39216r=support Expected behavior:http://bugs.php.net/fix.php?id=39216r=notwrong Not enough info: http://bugs.php.net/fix.php?id=39216r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=39216r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=39216r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39216r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=39216r=dst IIS Stability:http://bugs.php.net/fix.php?id=39216r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=39216r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=39216r=float No Zend Extensions: http://bugs.php.net/fix.php?id=39216r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=39216r=mysqlcfg
#38942 [NEW]: Double old-style-ctor inheritance
From: hannes dot magnusson at gmail dot com Operating system: * PHP version: 5CVS-2006-09-24 (CVS) PHP Bug Type: Scripting Engine problem Bug description: Double old-style-ctor inheritance Description: The engine seems to register old-style-ctors twice, once during parent-ctor-inheriting and once during normal-method-inheriting Reproduce code: --- ?php class foo { public function foo() {} } class bar extends foo { } ReflectionClass::export(bar); Expected result: - Methods [1] { Method [ user, inherits foo, ctor public method foo ] { @@ /usr/src/php/5.2/bug.php 3 - 3 } Actual result: -- - Methods [2] { Method [ user, inherits foo, ctor public method foo ] { @@ /usr/src/php/5.2/bug.php 3 - 3 } Method [ user, inherits foo, ctor public method foo ] { @@ /usr/src/php/5.2/bug.php 3 - 3 } -- Edit bug report at http://bugs.php.net/?id=38942edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38942r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38942r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38942r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38942r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38942r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38942r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=38942r=needscript Try newer version:http://bugs.php.net/fix.php?id=38942r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38942r=support Expected behavior:http://bugs.php.net/fix.php?id=38942r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38942r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38942r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38942r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38942r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38942r=dst IIS Stability:http://bugs.php.net/fix.php?id=38942r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38942r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38942r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38942r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=38942r=mysqlcfg
#38891 [NEW]: curlwrappers fail
From: hannes dot magnusson at gmail dot com Operating system: FreeBSD PHP version: 5CVS-2006-09-20 (CVS) PHP Bug Type: cURL related Bug description: curlwrappers fail Description: The following script fails --with-curlwrappers, works fine without them. Reproduce code: --- php -r 'get_headers(http://example.com;); get_headers(http://example.com;);' Actual result: -- 5.1-cvs: FATAL: emalloc(): Unable to allocate 1515870811 bytes Segmentation fault: 11 (core dumped) #0 0x28c42a17 in kill () from /lib/libc.so.6 #1 0x08257fd9 in _emalloc (size=1515870811, __zend_filename=0x8356700 /usr/src/php/5.1/Zend/zend_API.c, __zend_lineno=1149, __zend_orig_filename=0x0, __zend_orig_lineno=0) at /usr/src/php/5.1/Zend/zend_alloc.c:206 #2 0x082583ed in _estrndup (s=0x853d824 \b, length=1515870810, __zend_filename=0x8356700 /usr/src/php/5.1/Zend/zend_API.c, __zend_lineno=1149, __zend_orig_filename=0x0, __zend_orig_lineno=0) at /usr/src/php/5.1/Zend/zend_alloc.c:440 #3 0x082712c8 in add_next_index_stringl (arg=0x0, str=0x853d824 \b, length=1515870810, duplicate=1) at /usr/src/php/5.1/Zend/zend_API.c:1149 #4 0x082018de in zif_get_headers (ht=1, return_value=0x853c7a4, return_value_ptr=0x0, this_ptr=0x0, return_value_used=0) at /usr/src/php/5.1/ext/standard/url.c:683 #5 0x08288b7d in zend_do_fcall_common_helper_SPEC (execute_data=0xbfbfe610) at zend_vm_execute.h:200 #6 0x082884e9 in execute (op_array=0x853f524) at zend_vm_execute.h:92 #7 0x082636b3 in zend_eval_string (str=0x853f524 \004, retval_ptr=0x0, string_name=0x835f273 Command line code) at /usr/src/php/5.1/Zend/zend_execute_API.c:1116 #8 0x0826384c in zend_eval_string_ex (str=0xbfbfea80 get_headers(\http://example.com\;); get_headers(\http://example.com\;);, retval_ptr=0x0, string_name=0x835f273 Command line code, handle_exceptions=1) at /usr/src/php/5.1/Zend/zend_execute_API.c:1150 #9 0x082f49b4 in main (argc=3, argv=0xbfbfe958) at /usr/src/php/5.1/sapi/cli/php_cli.c:1182 5.2-cvs: PHP Fatal error: Out of memory (allocated 262144) at /usr/src/php/5.2/Zend/zend_API.c:1205 (tried to allocate 1515870811 bytes) in Command line code on line 1 /usr/src/php/5.2/main/streams/streams.c(386) : Stream of type 'MEMORY' 0x84f0aa4 (path:(null)) was not closed /usr/src/php/5.2/main/streams/streams.c(386) : Stream of type 'cURL' 0x84f07e4 (path:http://example.com) was not closed -- Edit bug report at http://bugs.php.net/?id=38891edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38891r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38891r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38891r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38891r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38891r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38891r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=38891r=needscript Try newer version:http://bugs.php.net/fix.php?id=38891r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38891r=support Expected behavior:http://bugs.php.net/fix.php?id=38891r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38891r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38891r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38891r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38891r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38891r=dst IIS Stability:http://bugs.php.net/fix.php?id=38891r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38891r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38891r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38891r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=38891r=mysqlcfg
#38904 [NEW]: apache2filter changes cwd to /
From: hannes dot magnusson at gmail dot com Operating system: FreeBSD6.1 PHP version: 5CVS-2006-09-20 (CVS) PHP Bug Type: Apache2 related Bug description: apache2filter changes cwd to / Description: running apache2filter changes cwd to / Caused by the re-implementation see: http://news.php.net/php.cvs/39024 Reproduce code: --- var_dump(getcwd(), realpath(.)); Actual result: -- string(1) / string(1) / -- Edit bug report at http://bugs.php.net/?id=38904edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38904r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38904r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38904r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38904r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38904r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38904r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=38904r=needscript Try newer version:http://bugs.php.net/fix.php?id=38904r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38904r=support Expected behavior:http://bugs.php.net/fix.php?id=38904r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38904r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38904r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38904r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38904r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38904r=dst IIS Stability:http://bugs.php.net/fix.php?id=38904r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38904r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38904r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38904r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=38904r=mysqlcfg
#38722 [NEW]: Calling undefined method (php4) prints insufficient
From: hannes dot magnusson at gmail dot com Operating system: * PHP version: 4.4.4 PHP Bug Type: Scripting Engine problem Bug description: Calling undefined method (php4) prints insufficient Description: Calling undefined method prints insufficient error message Patch: http://php.is/bugs/php4.method.error.msg.diff.txt Reproduce code: --- $ sapi/cli/php -r 'class foo {}; foo::bar();' $ sapi/cli/php -r 'class foo {}; $foo = new foo $foo-bar();' $ sapi/cli/php -r 'bar();' Expected result: Fatal error: Call to undefined static function: foo::bar() in Command line code on line 1 Fatal error: Call to undefined method: foo-bar() in Command line code on line 1 Fatal error: Call to undefined function: bar() in Command line code on line 1 Actual result: -- Fatal error: Call to undefined function: bar() in Command line code on line 1 Fatal error: Call to undefined function: bar() in Command line code on line 1 Fatal error: Call to undefined function: bar() in Command line code on line 1 -- Edit bug report at http://bugs.php.net/?id=38722edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38722r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38722r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38722r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38722r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38722r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38722r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=38722r=needscript Try newer version:http://bugs.php.net/fix.php?id=38722r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38722r=support Expected behavior:http://bugs.php.net/fix.php?id=38722r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38722r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38722r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38722r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38722r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38722r=dst IIS Stability:http://bugs.php.net/fix.php?id=38722r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38722r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38722r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38722r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=38722r=mysqlcfg
#38653 [NEW]: Memory leak
From: hannes dot magnusson at gmail dot com Operating system: FreeBSD PHP version: 5CVS-2006-08-30 (CVS) PHP Bug Type: Scripting Engine problem Bug description: Memory leak Description: This little code snippet leaks.. Reproduce code: --- ?php class foo { const cons = 10; } class bar extends foo { } $foo = new ReflectionClass(foo); $foo-getConstant(cons); Actual result: -- ==73146== 16 bytes in 1 blocks are definitely lost in loss record 1 of 2 ==73146==at 0x3C03C18B: malloc (in /usr/local/lib/valgrind/vgpreload_memcheck.so) ==73146==by 0x81A4EAF: _emalloc (zend_alloc.c:1628) ==73146==by 0x81DBFF3: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:182) ==73146==by 0x81DCAD0: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:322) ==73146==by 0x81DBD01: execute (zend_vm_execute.h:92) ==73146==by 0x81BE198: zend_execute_scripts (zend.c:1095) ==73146==by 0x8178454: php_execute_script (main.c:1759) ==73146==by 0x82236C0: main (php_cli.c:1102) -- Edit bug report at http://bugs.php.net/?id=38653edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38653r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38653r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38653r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38653r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38653r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38653r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=38653r=needscript Try newer version:http://bugs.php.net/fix.php?id=38653r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38653r=support Expected behavior:http://bugs.php.net/fix.php?id=38653r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38653r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38653r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38653r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38653r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38653r=dst IIS Stability:http://bugs.php.net/fix.php?id=38653r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38653r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38653r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38653r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=38653r=mysqlcfg
#37923 [NEW]: Display constant value in reflection::export
From: hannes dot magnusson at gmail dot com Operating system: * PHP version: 5CVS-2006-06-27 (CVS) PHP Bug Type: Feature/Change Request Bug description: Display constant value in reflection::export Description: Display the value of constants.. Reproduce code: --- php5$ sapi/cli/php --re standard | grep Constant php5$ sapi/cli/php -r 'class foo { const bar = 10; } reflectionclass::export(foo);' Expected result: - Constants [282] { Constant [ integer CONNECTION_ABORTED ] { 1 } ... Class [ user class foo ] { @@ Command line code 1-1 - Constants [1] { Constant [ integer bar ] { 10 } } Actual result: -- - Constants [282] { Constant [ integer CONNECTION_ABORTED ] { } ... Class [ user class foo ] { @@ Command line code 1-1 - Constants [1] { Constant [ integer bar ] { } } -- Edit bug report at http://bugs.php.net/?id=37923edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37923r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37923r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37923r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37923r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37923r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37923r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=37923r=needscript Try newer version:http://bugs.php.net/fix.php?id=37923r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37923r=support Expected behavior:http://bugs.php.net/fix.php?id=37923r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37923r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37923r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37923r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37923r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37923r=dst IIS Stability:http://bugs.php.net/fix.php?id=37923r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37923r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37923r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37923r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=37923r=mysqlcfg
#37891 [NEW]: memory leak
From: hannes dot magnusson at gmail dot com Operating system: FreeBSD PHP version: 5CVS-2006-06-22 (CVS) PHP Bug Type: Scripting Engine problem Bug description: memory leak Description: Can't seem to get the example any shorter... Reproduce code: --- ?php class foo { public $arr = array(); function foo(){ $this-backtrace = debug_backtrace(); call_user_func(array($this, bar)); } function bar() { array_unshift($this-arr, debug_backtrace()); } } $foo = new foo; ? Actual result: -- /usr/src/clean/php5/Zend/zend_execute.c(403) : Freeing 0x082F48E4 (16 bytes), script=/usr/local/php5/ === Total 1 memory leaks detected === -- Edit bug report at http://bugs.php.net/?id=37891edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37891r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37891r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37891r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37891r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37891r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37891r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=37891r=needscript Try newer version:http://bugs.php.net/fix.php?id=37891r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37891r=support Expected behavior:http://bugs.php.net/fix.php?id=37891r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37891r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37891r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37891r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37891r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37891r=dst IIS Stability:http://bugs.php.net/fix.php?id=37891r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37891r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37891r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37891r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=37891r=mysqlcfg