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

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

Count Diff
44 (37%)
007+ prompt> Segmentation fault (core dumped)
008+
009+ Termsig=11
007- prompt> [Added watchpoint #0 for $a[]]
008- prompt> [Breaking on watchpoint $a[]]
009- 1 elements were added to the array
010- >00009:
011- prompt> [$a[] has been removed, removing watchpoint]
012- [Script ended normally]
013- prompt>
15 (13%)
013+ Segmentation fault (core dumped)
013- prompt>
014+
015+ Termsig=11
14 (12%)
013+ Segmentation fault
013- prompt>
014+
015+ Termsig=11
13 (11%)
013+
013- prompt>
014+ Termsig=11
10 (8%)
014+ Segmentation fault
014- prompt>
015+
016+ Termsig=11
4 (3%)
010+ >00009:
010- >00008: $a = [0 => 3, 1 => 4];
011- 00009:
3 (3%)
014+ Segmentation fault (core dumped)
014- prompt>
015+
016+ Termsig=11
3 (3%)
014+
014- prompt>
015+ Termsig=11
3 (3%)
007+ prompt> Segmentation fault (core dumped)
007- prompt> [Added watchpoint #0 for $a[]]
008- prompt> [Breaking on watchpoint $a[]]
009- 1 elements were added to the array
010- >00009:
011- prompt> [$a[] has been removed, removing watchpoint]
012- [Script ended normally]
013- prompt>
2 (2%)
011+ prompt> PHP Warning: PHP Startup: readline: Unable to initialize module
012+ Module compiled with build ID=API20170718,TS
013+ PHP compiled with build ID=API20170718,TS,debug
011- prompt> [$a[] has been removed, removing watchpoint]
012- [Script ended normally]
013- prompt>
014+ These options need to match
015+ in Unknown on line 0
016+
017+ Warning: PHP Startup: readline: Unable to initialize module
018+ Module compiled with build ID=API20170718,TS
019+ PHP compiled with build ID=API20170718,TS,debug
020+ These options need to match
021+ in Unknown on line 0
022+ [$a[] has been removed, removing watchpoint]
023+ [Script ended normally]
024+ prompt>
025+ Warning: PHP Startup: readline: Unable to initialize module
026+ Module compiled with build ID=API20170718,TS
027+ PHP compiled with build ID=API20170718,TS,debug
028+ These options need to match
029+ in Unknown on line 0
2 (2%)
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_002.php
002- prompt> [Breakpoint #0 added at %s:6]
003+ prompt> file path: %s/watch_002.php, resolved path: %s/watch_002.php, was compiled: 1
004+ [Breakpoint #0 added at %s/watch_002.php:6]
016+ phpdbg_get_color(white-bold, 10): 1;64phpdbg_get_color(red-bold, 8): 1;31phpdbg_get_color(green, 5): 0;32file path: %s/watch_002.php, resolved path: %s/watch_002.php, was compiled: 0
017+ File exists, but not compiled
018+ was compiled: %s/watch_002.php
1 (1%)
013+ /home/travis/build/php/php-src/Zend/zend_hash.c(1619) : ht=0x2774910 is already destroyed
013- prompt>
014+ /home/travis/build/php/php-src/Zend/zend_hash.c(64) : Bailed out without a bailout address!
1 (1%)
013+
013- prompt>
014+ Termsig=7
1 (1%)
010+ >00008: $a = [0 => 3, 1 => 4];
011+ 00009:
010- >00009:
1 (1%)
008+ prompt> ASAN:SIGSEGV
009+ =================================================================
010+ ==25433== ERROR: AddressSanitizer: SEGV on unknown address 0x2afd80015030 (pc 0x000000ecba92 sp 0x7fff5823c4f0 bp 0x7fff5823c510 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)
008- prompt> [Breaking on watchpoint $a[]]
009- 1 elements were added to the array
010- >00008: $a = [0 => 3, 1 => 4];
011- 00009:
012- prompt> [$a[] has been removed, removing watchpoint]
013- [Script ended normally]
014- prompt>
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 0x2afd7f34bf44 (/lib/x86_64-linux-gnu/libc-2.19.so+0x21f44)
021+ #9 0x44ce63 (/home/suto/fuzzphp/php-src/sapi/phpdbg/phpdbg+0x44ce63)
022+ ==25433== ABORTING
1 (1%)
008+ prompt> ASAN:DEADLYSIGNAL
009+ =================================================================
010+ ==22665==ERROR: AddressSanitizer: SEGV on unknown address 0x7f598e61f030 (pc 0x000001b8bb1c bp 0x0feb31cccf41 sp 0x7ffe786cc970 T0)
011+ ==22665==The signal is caused by a WRITE memory access.
012+ #0 0x1b8bb1b in ZEND_ASSIGN_DIM_SPEC_CV_CONST_OP_DATA_CONST_HANDLER /home/byunggill/meds_project/ufuzz/php_applications/php/Zend/zend_vm_execute.h:36796:2
013+ #1 0x1ca4dd4 in phpdbg_execute_ex /home/byunggill/meds_project/ufuzz/php_applications/php/sapi/phpdbg/phpdbg_prompt.c:1900:21
008- prompt> [Breaking on watchpoint $a[]]
009- 1 elements were added to the array
010- >00009:
011- prompt> [$a[] has been removed, removing watchpoint]
012- [Script ended normally]
013- prompt>
014+ #2 0x18a00bb in zend_execute /home/byunggill/meds_project/ufuzz/php_applications/php/Zend/zend_vm_execute.h:474:2
015+ #3 0x1c8f302 in phpdbg_do_run /home/byunggill/meds_project/ufuzz/php_applications/php/sapi/phpdbg/phpdbg_prompt.c:942:4
016+ #4 0x1ce948c in phpdbg_internal_stack_execute /home/byunggill/meds_project/ufuzz/php_applications/php/sapi/phpdbg/phpdbg_cmd.c:703:13
017+ #5 0x1ce948c in phpdbg_stack_execute /home/byunggill/meds_project/ufuzz/php_applications/php/sapi/phpdbg/phpdbg_cmd.c:733
018+ #6 0x1c9ef29 in phpdbg_interactive /home/byunggill/meds_project/ufuzz/php_applications/php/sapi/phpdbg/phpdbg_prompt.c:1631:18
019+ #7 0x1c74cd2 in main /home/byunggill/meds_project/ufuzz/php_applications/php/sapi/phpdbg/phpdbg.c:1992:5
020+ #8 0x7f599355482f in __libc_start_main /build/glibc-bfm8X4/glibc-2.23/csu/../csu/libc-start.c:291
021+ #9 0x43c468 in _start (/home/byunggill/meds_project/ufuzz/php_applications/php/sapi/phpdbg/phpdbg+0x43c468)
022+
023+ AddressSanitizer can not provide additional info.
024+ SUMMARY: AddressSanitizer: SEGV /home/byunggill/meds_project/ufuzz/php_applications/php/Zend/zend_vm_execute.h:36796:2 in ZEND_ASSIGN_DIM_SPEC_CV_CONST_OP_DATA_CONST_HANDLER
025+ ==22665==ABORTING
1 (1%)
008+ prompt>
009+ Termsig=11
008- prompt> [Breaking on watchpoint $a[]]
009- 1 elements were added to the array
010- >00009:
011- prompt> [$a[] has been removed, removing watchpoint]
012- [Script ended normally]
013- prompt>
1 (1%)
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[]]
008- prompt> [Breaking on watchpoint $a[]]
009- 1 elements were added to the array
010- >00009:
011- prompt> [$a[] has been removed, removing watchpoint]
012- [Script ended normally]
013- prompt>