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

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

Count Diff
195 (46%)
010- New value: 2
011- >00008: $a = [0 => 3, 1 => 4];
012- 00009:
013- prompt> [Breaking on watchpoint $a[0]]
014- Old value: 2
014+ prompt> [Breakpoint at %s/watch_003.php:6 exists]
106 (25%)
010- New value: 2
011- >00008: $a = [0 => 3, 1 => 4];
012- 00009:
013- prompt> [Breaking on watchpoint $a[0]]
014- Old value: 2
015+ prompt> [Breakpoint at %s/watch_003.php:6 exists]
46 (11%)
007+ prompt> Segmentation fault (core dumped)
008+
009+ Termsig=11
007- prompt> [Added watchpoint #0 for $a[0]]
008- prompt> [Breaking on watchpoint $a[0]]
009- Old value: 1
010- New value: 2
011- >00008: $a = [0 => 3, 1 => 4];
012- 00009:
013- prompt> [Breaking on watchpoint $a[0]]
014- Old value: 2
015- New value: 3
016- >00009:
017- prompt> [$a[0] has been removed, removing watchpoint]
018- [Script ended normally]
019- prompt>
15 (4%)
019+ Segmentation fault (core dumped)
019- prompt>
020+
021+ Termsig=11
14 (3%)
019+
019- prompt>
020+ Termsig=11
12 (3%)
019+ Segmentation fault
019- prompt>
020+
021+ Termsig=11
10 (2%)
020+ Segmentation fault
020- prompt>
021+
022+ Termsig=11
4 (1%)
016+ >00009:
016- >00008: $a = [0 => 3, 1 => 4];
017- 00009:
3 (1%)
020+ Segmentation fault (core dumped)
020- prompt>
021+
022+ Termsig=11
3 (1%)
020+
020- prompt>
021+ Termsig=11
2 (0%)
019+ Segmentation fault
019- prompt>
2 (0%)
009+ Old value: 1PHP Warning: PHP Startup: readline: Unable to initialize module
010+ Module compiled with build ID=API20170718,TS
011+ PHP compiled with build ID=API20170718,TS,debug
012+ These options need to match
013+ in Unknown on line 0
014+
015+ Warning: PHP Startup: readline: Unable to initialize module
016+ Module compiled with build ID=API20170718,TS
017+ PHP compiled with build ID=API20170718,TS,debug
018+ These options need to match
019+ in Unknown on line 0
009- Old value: 1
010- New value: 2
011- >00008: $a = [0 => 3, 1 => 4];
012- 00009:
013- prompt> [Breaking on watchpoint $a[0]]
014- Old value: 2
015- New value: 3
016- >00009:
017- prompt> [$a[0] has been removed, removing watchpoint]
018- [Script ended normally]
019- prompt>
020+
021+ New value: 2
022+ >00008: $a = [0 => 3, 1 => 4];
023+ 00009:
024+ prompt> [Breaking on watchpoint $a[0]]
025+ Old value: 2
026+ New value: 3
027+ >00009:
028+ prompt> [$a[0] has been removed, removing watchpoint]
029+ [Script ended normally]
030+ prompt>
031+ Warning: PHP Startup: readline: Unable to initialize module
032+ Module compiled with build ID=API20170718,TS
033+ PHP compiled with build ID=API20170718,TS,debug
034+ These options need to match
035+ 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_003.php
002- prompt> [Breakpoint #0 added at %s:6]
003+ prompt> file path: %s/watch_003.php, resolved path: %s/watch_003.php, was compiled: 1
004+ [Breakpoint #0 added at %s/watch_003.php:6]
022+ phpdbg_get_color(white-bold, 10): 1;64phpdbg_get_color(red-bold, 8): 1;31phpdbg_get_color(green, 5): 0;32file path: %s/watch_003.php, resolved path: %s/watch_003.php, was compiled: 0
023+ File exists, but not compiled
024+ was compiled: %s/watch_003.php
1 (0%)
019+ /home/travis/build/php/php-src/Zend/zend_hash.c(1619) : ht=0x27f5910 is already destroyed
019- prompt>
020+ /home/travis/build/php/php-src/Zend/zend_hash.c(64) : Bailed out without a bailout address!
1 (0%)
019+
019- prompt>
020+ Termsig=7
1 (0%)
016+ >00008: $a = [0 => 3, 1 => 4];
017+ 00009:
016- >00009:
1 (0%)
008+ prompt> ASAN:SIGSEGV
009+ =================================================================
010+ ==25435== ERROR: AddressSanitizer: SEGV on unknown address 0x2b507de15030 (pc 0x000000ecba92 sp 0x7fff8a073b40 bp 0x7fff8a073b60 T0)
011+ AddressSanitizer can not provide additional info.
012+ #0 0xecba91 (/home/suto/fuzzphp/php-src/sapi/phpdbg/phpdbg+0xecba91)
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 0x2b507d0f5f44 (/lib/x86_64-linux-gnu/libc-2.19.so+0x21f44)
008- prompt> [Breaking on watchpoint $a[0]]
009- Old value: 1
010- New value: 2
011- >00008: $a = [0 => 3, 1 => 4];
012- 00009:
013- prompt> [Breaking on watchpoint $a[0]]
014- Old value: 2
015- New value: 3
016- >00008: $a = [0 => 3, 1 => 4];
017- 00009:
018- prompt> [$a[0] has been removed, removing watchpoint]
019- [Script ended normally]
020- prompt>
021+ #9 0x44ce63 (/home/suto/fuzzphp/php-src/sapi/phpdbg/phpdbg+0x44ce63)
022+ ==25435== ABORTING
1 (0%)
008+ prompt> ASAN:DEADLYSIGNAL
009+ =================================================================
010+ ==22849==ERROR: AddressSanitizer: SEGV on unknown address 0x7f1748067a08 (pc 0x000001b8ba5c bp 0x0fe2e900cf41 sp 0x7ffc53d6bd50 T0)
011+ ==22849==The signal is caused by a WRITE memory access.
012+ #0 0x1b8ba5b in zend_assign_to_variable /home/byunggill/meds_project/ufuzz/php_applications/php/Zend/zend_execute.h:115:2
013+ #1 0x1b8ba5b in ZEND_ASSIGN_DIM_SPEC_CV_CONST_OP_DATA_CONST_HANDLER /home/byunggill/meds_project/ufuzz/php_applications/php/Zend/zend_vm_execute.h:36741
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
008- prompt> [Breaking on watchpoint $a[0]]
009- Old value: 1
010- New value: 2
011- >00008: $a = [0 => 3, 1 => 4];
012- 00009:
013- prompt> [Breaking on watchpoint $a[0]]
014- Old value: 2
015- New value: 3
016- >00009:
017- prompt> [$a[0] has been removed, removing watchpoint]
018- [Script ended normally]
019- prompt>
020+ #8 0x1c74cd2 in main /home/byunggill/meds_project/ufuzz/php_applications/php/sapi/phpdbg/phpdbg.c:1992:5
021+ #9 0x7f174cec082f 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+ ==22849==ABORTING
1 (0%)
007+ prompt> Segmentation fault (core dumped)
007- prompt> [Added watchpoint #0 for $a[0]]
008- prompt> [Breaking on watchpoint $a[0]]
009- Old value: 1
010- New value: 2
011- >00008: $a = [0 => 3, 1 => 4];
012- 00009:
013- prompt> [Breaking on watchpoint $a[0]]
014- Old value: 2
015- New value: 3
016- >00009:
017- prompt> [$a[0] has been removed, removing watchpoint]
018- [Script ended normally]
019- prompt>
1 (0%)
001+ Segmentation fault (core dumped)
002+
003+ Termsig=11
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at %s:6]
003- prompt> [Breakpoint #0 at %s:6, hits: 1]
004- >00006: $a[0] = 2;
005- 00007:
006- 00008: $a = [0 => 3, 1 => 4];
007- prompt> [Added watchpoint #0 for $a[0]]
008- prompt> [Breaking on watchpoint $a[0]]
009- Old value: 1
010- New value: 2
011- >00008: $a = [0 => 3, 1 => 4];
012- 00009:
013- prompt> [Breaking on watchpoint $a[0]]
014- Old value: 2
015- New value: 3
016- >00009:
017- prompt> [$a[0] has been removed, removing watchpoint]
018- [Script ended normally]
019- prompt>