Bug #54348 [Opn]: Crash (Call stack overflow) in ExchangeArray

From: Date: Sun, 13 Jul 2014 02:52:36 +0000
Subject: Bug #54348 [Opn]: Crash (Call stack overflow) in ExchangeArray
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-186591@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=54348&edit=1

 ID:                 54348
 Updated by:         yohgaki@php.net
 Reported by:        decoder-php at own-hero dot net
 Summary:            Crash (Call stack overflow) in ExchangeArray
 Status:             Open
 Type:               Bug
 Package:            Reproducible crash
 Operating System:   Linux x86-64
-PHP Version:        5.3.6
+PHP Version:        *
 Block user comment: N
 Private report:     N

 New Comment:

http://3v4l.org/LMNaW


Previous Comments:
------------------------------------------------------------------------
[2011-03-22 14:02:20] decoder-php at own-hero dot net

Description:
------------
Attached testcase crashes on PHP 5.3.6 due to a call stack overflow.

Test script:
---------------
<?php
$ao = new ArrayObject();
$obj = new ArrayObject($ao);
$ao->exchangeArray($obj);
?>

Actual result:
--------------
==26022== Process terminating with default action of signal 11 (SIGSEGV)
==26022==  Access not within mapped region at address 0x7FE801FF8
==26022==    at 0x80F319: zend_object_store_get_object (zend_objects_API.c:269)
==26022==    by 0x63E719: spl_array_get_hash_table (spl_array.c:86)
==26022==    by 0x63E72E: spl_array_get_hash_table (spl_array.c:87)
==26022==    by 0x63E72E: spl_array_get_hash_table (spl_array.c:87)
==26022==    by 0x63E72E: spl_array_get_hash_table (spl_array.c:87)
==26022==    by 0x63E72E: spl_array_get_hash_table (spl_array.c:87)
==26022==    by 0x63E72E: spl_array_get_hash_table (spl_array.c:87)
==26022==    by 0x63E72E: spl_array_get_hash_table (spl_array.c:87)
==26022==    by 0x63E72E: spl_array_get_hash_table (spl_array.c:87)
==26022==    by 0x63E72E: spl_array_get_hash_table (spl_array.c:87)
==26022==    by 0x63E72E: spl_array_get_hash_table (spl_array.c:87)
==26022==    by 0x63E72E: spl_array_get_hash_table (spl_array.c:87)


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=54348&edit=1


Thread (1 message)

  • yohgaki@php.net
  • Unknown Message
    • yohgaki@php.net
« previous php.bugs (#186591) next »