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

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

Count Diff
242 (57%)
008+ prompt> [$a has been removed, removing watchpoint]
009+ [Script ended normally]
010+ prompt> [Breakpoint at %s/watch_004.php:3 exists]
011+ prompt> [Breakpoint at %s/watch_004.php:3 exists]
012+ prompt>
008- prompt> [Breaking on watchpoint $a]
009- Old value:
010- New value: aa
011- >00005: $a[1] = "b";
012- 00006:
013- prompt> [Breaking on watchpoint $a]
014- Old value: aa
015- New value: ab
016- >00006:
017- prompt> [$a has been removed, removing watchpoint]
018- [Script ended normally]
019- prompt>
106 (25%)
008+ prompt> [$a has been removed, removing watchpoint]
009+ [Script ended normally]
010+ prompt> [Breakpoint at %s/watch_004.php:3 exists]
011+ prompt> [Breakpoint at %s/watch_004.php:3 exists]
012+ prompt>
008- prompt> [Breaking on watchpoint $a]
009- Old value:
010- New value: aa
011- >00005: $a[1] = "b";
012- 00006:
013- prompt> [Breaking on watchpoint $a]
014- Old value: aa
015- New value: ab
016- >00005: $a[1] = "b";
017- 00006:
018- prompt> [$a has been removed, removing watchpoint]
019- [Script ended normally]
020- prompt>
14 (3%)
019+ Segmentation fault (core dumped)
019- prompt>
020+
021+ Termsig=11
14 (3%)
019+ Segmentation fault
019- prompt>
020+
021+ Termsig=11
14 (3%)
019+
019- prompt>
020+ Termsig=11
10 (2%)
020+ Segmentation fault
020- prompt>
021+
022+ Termsig=11
4 (1%)
016+ >00006:
016- >00005: $a[1] = "b";
017- 00006:
3 (1%)
020+ Segmentation fault (core dumped)
020- prompt>
021+
022+ Termsig=11
3 (1%)
020+
020- prompt>
021+ 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
010- New value: aa
011- >00005: $a[1] = "b";
012- 00006:
013- prompt> [Breaking on watchpoint $a]
014- Old value: aa
015- New value: ab
016- >00006:
017- prompt> [$a has been removed, removing watchpoint]
018- [Script ended normally]
019- prompt>
020+ in Unknown on line 0
021+
022+ >00005: $a[1] = "b";
023+ 00006:
024+ prompt> [Breaking on watchpoint $a]
025+ Old value: aa
026+ New value: ab
027+ >00006:
028+ prompt> [$a 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_004.php
002- prompt> [Breakpoint #0 added at %s:3]
003+ prompt> file path: %s/watch_004.php, resolved path: %s/watch_004.php, was compiled: 1
004+ [Breakpoint #0 added at %s/watch_004.php:3]
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_004.php, resolved path: %s/watch_004.php, was compiled: 0
023+ File exists, but not compiled
024+ was compiled: %s/watch_004.php
1 (0%)
019+ prompt> zend_mm_heap corrupted
019- prompt>
1 (0%)
019+ Segmentation fault (core dumped)
019- prompt>
1 (0%)
019+ /home/travis/build/php/php-src/Zend/zend_hash.c(1619) : ht=0x1b42940 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%)
008+ prompt> ASAN:SIGSEGV
009+ =================================================================
010+ ==25437== ERROR: AddressSanitizer: SEGV on unknown address 0x2aeccce15030 (pc 0x000000df022e sp 0x7fff3555a0a0 bp 0x7fff3555a0b0 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 0x2aeccc0a7f44 (/lib/x86_64-linux-gnu/libc-2.19.so+0x21f44)
008- prompt> [Breaking on watchpoint $a]
009- Old value:
010- New value: aa
011- >00005: $a[1] = "b";
012- 00006:
013- prompt> [Breaking on watchpoint $a]
014- Old value: aa
015- New value: ab
016- >00005: $a[1] = "b";
017- 00006:
018- prompt> [$a has been removed, removing watchpoint]
019- [Script ended normally]
020- prompt>
021+ #9 0x44ce63 (/home/suto/fuzzphp/php-src/sapi/phpdbg/phpdbg+0x44ce63)
022+ ==25437== ABORTING
1 (0%)
008+ prompt> ASAN:DEADLYSIGNAL
009+ =================================================================
010+ ==23043==ERROR: AddressSanitizer: SEGV on unknown address 0x7f1c1d21f080 (pc 0x000001a17b79 bp 0x0fe383a43e10 sp 0x7fff6e0b41e0 T0)
011+ ==23043==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
008- prompt> [Breaking on watchpoint $a]
009- Old value:
010- New value: aa
011- >00005: $a[1] = "b";
012- 00006:
013- prompt> [Breaking on watchpoint $a]
014- Old value: aa
015- New value: ab
016- >00006:
017- prompt> [$a 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 0x7f1c220ed82f 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+ ==23043==ABORTING
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: $a[1] = "b";
007- prompt> [Added watchpoint #0 for $a]
008- prompt> [Breaking on watchpoint $a]
009- Old value:
010- New value: aa
011- >00005: $a[1] = "b";
012- 00006:
013- prompt> [Breaking on watchpoint $a]
014- Old value: aa
015- New value: ab
016- >00006:
017- prompt> [$a has been removed, removing watchpoint]
018- [Script ended normally]
019- prompt>