Test: /sapi/phpdbg/tests/watch_005.phpt - Version 7.2.0-dev    

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

Count Diff
348 (83%)
008+ prompt> [$a has been removed, removing watchpoint recursively]
009+ [Script ended normally]
010+ prompt> [Breakpoint at %s/watch_005.php:3 exists]
011+ prompt> [Breakpoint at %s/watch_005.php:3 exists]
012+ prompt> [Breakpoint at %s/watch_005.php:3 exists]
013+ prompt>
008- prompt> [Breaking on watchpoint $a]
009- Old value:
010- New value: aa
011- >00005: $c = &$a;
012- 00006: $a[1] = "b";
013- 00007:
014- prompt> [Breaking on watchpoint $a]
015- Old value inaccessible or destroyed
016- New value (reference): aa
017- >00006: $a[1] = "b";
018- 00007:
019- 00008: exit;
020- prompt> [Breaking on watchpoint $a]
021- Old value: aa
022- New value: ab
023- >00008: exit;
024- 00009:
025- prompt> [$a has been removed, removing watchpoint recursively]
026- [Script ended normally]
027- prompt>
24 (6%)
027+ Segmentation fault
027- prompt>
028+
029+ Termsig=11
17 (4%)
027+ Segmentation fault (core dumped)
027- prompt>
028+
029+ Termsig=11
17 (4%)
027+
027- prompt>
028+ Termsig=11
2 (0%)
010+ New value: aaPHP Warning: PHP Startup: readline: Unable to initialize module
011+ Module compiled with build ID=API20170718,TS
012+ PHP compiled with build ID=API20170718,TS,debug
013+ These options need to match
014+ in Unknown on line 0
015+
016+ Warning: PHP Startup: readline: Unable to initialize module
017+ Module compiled with build ID=API20170718,TS
018+ PHP compiled with build ID=API20170718,TS,debug
019+ These options need to match
020+ in Unknown on line 0
021+
022+ >00005: $c = &$a;
023+ 00006: $a[1] = "b";
024+ 00007:
025+ prompt> [Breaking on watchpoint $a]
026+ Old value inaccessible or destroyed
027+ New value (reference): aa
010- New value: aa
011- >00005: $c = &$a;
012- 00006: $a[1] = "b";
013- 00007:
014- prompt> [Breaking on watchpoint $a]
015- Old value inaccessible or destroyed
016- New value (reference): aa
027- prompt>
038+ prompt>
039+ Warning: PHP Startup: readline: Unable to initialize module
040+ Module compiled with build ID=API20170718,TS
041+ PHP compiled with build ID=API20170718,TS,debug
042+ These options need to match
043+ in Unknown on line 0
2 (0%)
001+ phpdbg_get_color(white-bold, 10): 1;64phpdbg_get_color(red-bold, 8): 1;31phpdbg_get_color(green, 5): 0;32was compiled: %s/watch_005.php
002- prompt> [Breakpoint #0 added at %s:3]
003+ prompt> file path: %s/watch_005.php, resolved path: %s/watch_005.php, was compiled: 1
004+ [Breakpoint #0 added at %s/watch_005.php:3]
029+ phpdbg_get_color(white-bold, 10): 1;64phpdbg_get_color(red-bold, 8): 1;31phpdbg_get_color(green, 5): 0;32file path: %s/watch_005.php, resolved path: %s/watch_005.php, was compiled: 0
030+ File exists, but not compiled
031+ was compiled: %s/watch_005.php
1 (0%)
027+ Segmentation fault (core dumped)
027- prompt>
1 (0%)
027+ /home/travis/build/php/php-src/Zend/zend_hash.c(1619) : ht=0x211c910 is already destroyed
027- prompt>
028+ /home/travis/build/php/php-src/Zend/zend_hash.c(64) : Bailed out without a bailout address!
1 (0%)
027+
027- prompt>
028+ Termsig=7
1 (0%)
011+ >00004: $a = $b.$b;
012+ 00005: $c = &$a;
013+ 00006: $a[1] = "b";
014+ prompt> [Breaking on watchpoint $a]
015+ Old value inaccessible or destroyed
016+ New value (reference): aa
015- Old value inaccessible or destroyed
016- New value (reference): aa
017- >00006: $a[1] = "b";
018- 00007:
019- 00008: exit;
020- prompt> [Breaking on watchpoint $a]
1 (0%)
008+ prompt> ASAN:SIGSEGV
009+ =================================================================
010+ ==25439== ERROR: AddressSanitizer: SEGV on unknown address 0x2b3e67015030 (pc 0x000000df022e sp 0x7fff8356bba0 bp 0x7fff8356bbb0 T0)
011+ AddressSanitizer can not provide additional info.
012+ #0 0xdf022d (/home/suto/fuzzphp/php-src/sapi/phpdbg/phpdbg+0xdf022d)
013+ #1 0xf90ae0 (/home/suto/fuzzphp/php-src/sapi/phpdbg/phpdbg+0xf90ae0)
014+ #2 0xfad6cc (/home/suto/fuzzphp/php-src/sapi/phpdbg/phpdbg+0xfad6cc)
015+ #3 0xf8e9e2 (/home/suto/fuzzphp/php-src/sapi/phpdbg/phpdbg+0xf8e9e2)
016+ #4 0xfa9793 (/home/suto/fuzzphp/php-src/sapi/phpdbg/phpdbg+0xfa9793)
017+ #5 0xfe12e4 (/home/suto/fuzzphp/php-src/sapi/phpdbg/phpdbg+0xfe12e4)
018+ #6 0xfac371 (/home/suto/fuzzphp/php-src/sapi/phpdbg/phpdbg+0xfac371)
019+ #7 0x44adf8 (/home/suto/fuzzphp/php-src/sapi/phpdbg/phpdbg+0x44adf8)
020+ #8 0x2b3e662d1f44 (/lib/x86_64-linux-gnu/libc-2.19.so+0x21f44)
021+ #9 0x44ce63 (/home/suto/fuzzphp/php-src/sapi/phpdbg/phpdbg+0x44ce63)
022+ ==25439== ABORTING
008- prompt> [Breaking on watchpoint $a]
009- Old value:
010- New value: aa
011- >00005: $c = &$a;
012- 00006: $a[1] = "b";
013- 00007:
014- prompt> [Breaking on watchpoint $a]
015- Old value inaccessible or destroyed
016- New value (reference): aa
017- >00006: $a[1] = "b";
018- 00007:
019- 00008: exit;
020- prompt> [Breaking on watchpoint $a]
021- Old value: aa
022- New value: ab
023- >00008: exit;
024- 00009:
025- prompt> [$a has been removed, removing watchpoint recursively]
026- [Script ended normally]
027- prompt>
1 (0%)
008+ prompt> ASAN:DEADLYSIGNAL
009+ =================================================================
010+ ==23252==ERROR: AddressSanitizer: SEGV on unknown address 0x7f44b5a1f080 (pc 0x000001a17b79 bp 0x0fe896b43e10 sp 0x7ffe645d08c0 T0)
011+ ==23252==The signal is caused by a WRITE memory access.
012+ #0 0x1a17b78 in zend_assign_to_variable /home/byunggill/meds_project/ufuzz/php_applications/php/Zend/zend_execute.h:115:2
013+ #1 0x1a17b78 in ZEND_ASSIGN_SPEC_CV_CONST_RETVAL_UNUSED_HANDLER /home/byunggill/meds_project/ufuzz/php_applications/php/Zend/zend_vm_execute.h:37094
014+ #2 0x1ca4dd4 in phpdbg_execute_ex /home/byunggill/meds_project/ufuzz/php_applications/php/sapi/phpdbg/phpdbg_prompt.c:1900:21
015+ #3 0x18a00bb in zend_execute /home/byunggill/meds_project/ufuzz/php_applications/php/Zend/zend_vm_execute.h:474:2
016+ #4 0x1c8f302 in phpdbg_do_run /home/byunggill/meds_project/ufuzz/php_applications/php/sapi/phpdbg/phpdbg_prompt.c:942:4
017+ #5 0x1ce948c in phpdbg_internal_stack_execute /home/byunggill/meds_project/ufuzz/php_applications/php/sapi/phpdbg/phpdbg_cmd.c:703:13
018+ #6 0x1ce948c in phpdbg_stack_execute /home/byunggill/meds_project/ufuzz/php_applications/php/sapi/phpdbg/phpdbg_cmd.c:733
019+ #7 0x1c9ef29 in phpdbg_interactive /home/byunggill/meds_project/ufuzz/php_applications/php/sapi/phpdbg/phpdbg_prompt.c:1631:18
020+ #8 0x1c74cd2 in main /home/byunggill/meds_project/ufuzz/php_applications/php/sapi/phpdbg/phpdbg.c:1992:5
021+ #9 0x7f44ba92682f in __libc_start_main /build/glibc-bfm8X4/glibc-2.23/csu/../csu/libc-start.c:291
022+ #10 0x43c468 in _start (/home/byunggill/meds_project/ufuzz/php_applications/php/sapi/phpdbg/phpdbg+0x43c468)
023+
024+ AddressSanitizer can not provide additional info.
025+ SUMMARY: AddressSanitizer: SEGV /home/byunggill/meds_project/ufuzz/php_applications/php/Zend/zend_execute.h:115:2 in zend_assign_to_variable
026+ ==23252==ABORTING
008- prompt> [Breaking on watchpoint $a]
009- Old value:
010- New value: aa
011- >00005: $c = &$a;
012- 00006: $a[1] = "b";
013- 00007:
014- prompt> [Breaking on watchpoint $a]
015- Old value inaccessible or destroyed
016- New value (reference): aa
017- >00006: $a[1] = "b";
018- 00007:
019- 00008: exit;
020- prompt> [Breaking on watchpoint $a]
021- Old value: aa
022- New value: ab
023- >00008: exit;
024- 00009:
025- prompt> [$a has been removed, removing watchpoint recursively]
026- [Script ended normally]
027- prompt>
1 (0%)
001+ Segmentation fault (core dumped)
002+
003+ Termsig=11
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at %s:3]
003- prompt> [Breakpoint #0 at %s:3, hits: 1]
004- >00003: $b = "a";
005- 00004: $a = $b.$b;
006- 00005: $c = &$a;
007- prompt> [Added recursive watchpoint #0 for $a]
008- prompt> [Breaking on watchpoint $a]
009- Old value:
010- New value: aa
011- >00005: $c = &$a;
012- 00006: $a[1] = "b";
013- 00007:
014- prompt> [Breaking on watchpoint $a]
015- Old value inaccessible or destroyed
016- New value (reference): aa
017- >00006: $a[1] = "b";
018- 00007:
019- 00008: exit;
020- prompt> [Breaking on watchpoint $a]
021- Old value: aa
022- New value: ab
023- >00008: exit;
024- 00009:
025- prompt> [$a has been removed, removing watchpoint recursively]
026- [Script ended normally]
027- prompt>