#26266 [Fbk->Opn]: Concatenating overloaded objects causes crash
ID: 26266
User updated by: adam at trachtenberg dot com
Reported By: adam at trachtenberg dot com
-Status: Feedback
+Status: Open
Bug Type: Zend Engine 2 problem
Operating System: Mac OS X 10.3
PHP Version: 5CVS-2003-11-15 (dev)
New Comment:
Using the PHP 4 STABLE snapshot gives me:
Object
BTW, why did you want me to try it with PHP 4?
Previous Comments:
------------------------------------------------------------------------
[2003-12-01 09:18:31] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Yes, really, use the snapshot.
Also, run the script like this:
# sapi/cli/php -n test.php
------------------------------------------------------------------------
[2003-11-29 12:20:55] adam at trachtenberg dot com
This is what I get from gdb:
Core was generated by `/Users/adam/CVS/php/php-src/sapi/
cli/php'.
#0 0x0022e2c4 in ns_default.2 ()
(gdb) bt
#0 0x0022e2c4 in ns_default.2 ()
#1 0x0022e214 in ns_default.2 ()
#2 0x0022a4dc in ns_default.2 ()
#3 0x00260b3c in zend_concat_handler
(execute_data=0x22a4dc, op_array=0x26d35c) at /Users/
adam/CVS/php/php-src/Zend/zend_execute.c:1359
#4 0x0026020c in execute (op_array=0xb11750) at /Users/
adam/CVS/php/php-src/Zend/zend_execute.c:1269
#5 0x00231300 in ns_default.2 ()
#6 0x001d4f20 in ns_default.2 ()
#7 0x00273124 in main (argc=2353640, argv=0xe) at /
Users/adam/CVS/php/php-src/sapi/cli/php_cli.c:910
------------------------------------------------------------------------
[2003-11-28 23:51:15] sniper@php.net
Nope doesn't crash with the provided example script (on linux)
No leaks, nothing. Can you provide a GDB backtrace of the crash?
------------------------------------------------------------------------
[2003-11-25 16:06:31] adam at trachtenberg dot com
Just updated to the latest CVS and it's still broken on
my machine.
[adam@benlev:~/Documents/php/php5] $ php -v
PHP 5.0.0b3-dev (cli) (built: Nov 25 2003 15:56:32)
(DEBUG)
Copyright (c) 1997-2003 The PHP Group
Zend Engine v2.0.0-dev, Copyright (c) 1998-2003 Zend
Technologies
------------------------------------------------------------------------
[2003-11-25 14:52:23] sniper@php.net
Doesn't crash with latest CVS.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/26266
--
Edit this bug report at http://bugs.php.net/?id=26266&edit=1
Thread (10 messages)