Test: /ext/standard/tests/serialize/bug31402.phpt - Version 7.2.0-dev        

Bug #31402 unserialize creates a field containing a reference when it should not
Submitted: 2005-01-04 09:22:55 Modified: 2005-06-17 15:53:32
From: otto Assigned: dmitry
Status: Closed Package: Scripting Engine problem
PHP Version: 5CVS, 4CVS (2005-01-18) OS: *

There are 14 different diffs reported by users for this test.

Count Diff
2 (13%)
001+ Segmentation fault (core dumped)
002+
003+ Termsig=11
001- object(TestY)#%d (2) {
002- ["A"]=>
003- array(3) {
004- [1]=>
005- object(TestX)#%d (1) {
006- ["i"]=>
007- int(1)
008- }
009- [2]=>
010- &object(TestX)#%d (1) {
011- ["i"]=>
012- int(2)
013- }
014- [3]=>
015- &object(TestX)#%d (1) {
016- ["i"]=>
017- int(2)
018- }
019- }
020- ["B"]=>
021- object(TestX)#%d (1) {
022- ["i"]=>
023- int(1)
024- }
025- }
026- object(TestY)#%d (2) {
027- ["A"]=>
028- array(3) {
029- [1]=>
030- object(TestX)#%d (1) {
031- ["i"]=>
032- int(1)
033- }
034- [2]=>
035- &object(TestX)#%d (1) {
036- ["i"]=>
037- int(2)
038- }
039- [3]=>
040- &object(TestX)#%d (1) {
041- ["i"]=>
042- int(2)
043- }
044- }
045- ["B"]=>
046- object(TestX)#%d (1) {
047- ["i"]=>
048- int(1)
049- }
050- }
051- ===DONE===
1 (7%)
052+ [Wed Jun 28 17:31:23 2017] Script: %s/bug31402.php'
053+ /home/travis/build/php/php-src/Zend/zend_string.h(134) : Freeing 0x00007f136828e640 (32 bytes), %s/bug31402.php
054+ Last leak repeated 3 times
055+ === Total 4 memory leaks detected ===
1 (7%)
052+ [Wed Jun 28 17:07:46 2017] Script: %s/bug31402.php'
053+ /home/travis/build/pmmaga/php-src/Zend/zend_string.h(134) : Freeing 0x00007f60d468e600 (32 bytes), %s/bug31402.php
054+ Last leak repeated 3 times
055+ === Total 4 memory leaks detected ===
1 (7%)
052+ [Tue Apr 18 20:32:54 2017] Script: %s/bug31402.php'
053+ /home/travis/build/pmmaga/php-src/Zend/zend_string.h(134) : Freeing 0x00007f4088281840 (32 bytes), %s/bug31402.php
054+ Last leak repeated 3 times
055+ === Total 4 memory leaks detected ===
1 (7%)
052+ [Thu Jul 6 18:38:46 2017] Script: %s/bug31402.php'
053+ /home/travis/build/pmmaga/php-src/Zend/zend_string.h(134) : Freeing 0x00007efc70a8e600 (32 bytes), %s/bug31402.php
054+ Last leak repeated 3 times
055+ === Total 4 memory leaks detected ===
1 (7%)
052+ [Mon Jul 10 14:27:54 2017] Script: %s/bug31402.php'
053+ /home/travis/build/php/php-src/Zend/zend_string.h(134) : Freeing 0x00007f39aaa8e680 (32 bytes), %s/bug31402.php
054+ Last leak repeated 3 times
055+ === Total 4 memory leaks detected ===
1 (7%)
052+ [Mon Jul 10 11:10:42 2017] Script: %s/bug31402.php'
053+ /home/travis/build/php/php-src/Zend/zend_string.h(134) : Freeing 0x00007effd908e680 (32 bytes), %s/bug31402.php
054+ Last leak repeated 3 times
055+ === Total 4 memory leaks detected ===
1 (7%)
052+ [Mon Jul 10 10:27:52 2017] Script: %s/bug31402.php'
053+ /home/travis/build/php/php-src/Zend/zend_string.h(134) : Freeing 0x00007f3dc728e680 (32 bytes), %s/bug31402.php
054+ Last leak repeated 3 times
055+ === Total 4 memory leaks detected ===
1 (7%)
052+ [Mon Jul 10 10:19:55 2017] Script: %s/bug31402.php'
053+ /home/travis/build/php/php-src/Zend/zend_string.h(134) : Freeing 0x00007fc84f48e640 (32 bytes), %s/bug31402.php
054+ Last leak repeated 3 times
055+ === Total 4 memory leaks detected ===
1 (7%)
052+ [Mon Jul 10 09:49:10 2017] Script: %s/bug31402.php'
053+ /home/travis/build/php/php-src/Zend/zend_string.h(134) : Freeing 0x00007f50c548e640 (32 bytes), %s/bug31402.php
054+ Last leak repeated 3 times
055+ === Total 4 memory leaks detected ===
1 (7%)
052+ [Mon Jul 10 09:46:04 2017] Script: %s/bug31402.php'
053+ /home/travis/build/php/php-src/Zend/zend_string.h(134) : Freeing 0x00007fb8f028e640 (32 bytes), %s/bug31402.php
054+ Last leak repeated 3 times
055+ === Total 4 memory leaks detected ===
1 (7%)
052+ [Mon Jul 10 09:38:34 2017] Script: %s/bug31402.php'
053+ /home/travis/build/php/php-src/Zend/zend_string.h(134) : Freeing 0x00007f98b8e8e640 (32 bytes), %s/bug31402.php
054+ Last leak repeated 3 times
055+ === Total 4 memory leaks detected ===
1 (7%)
052+ [Mon Jul 10 08:53:26 2017] Script: %s/bug31402.php'
053+ /home/travis/build/php/php-src/Zend/zend_string.h(134) : Freeing 0x00007fac5f88e680 (32 bytes), %s/bug31402.php
054+ Last leak repeated 3 times
055+ === Total 4 memory leaks detected ===
1 (7%)
052+ [Mon Jul 10 08:03:53 2017] Script: %s/bug31402.php'
053+ /home/travis/build/php/php-src/Zend/zend_string.h(134) : Freeing 0x00007f01ddc8e680 (32 bytes), %s/bug31402.php
054+ Last leak repeated 3 times
055+ === Total 4 memory leaks detected ===