Test: /sapi/phpdbg/tests/watch_002.phpt - Version 7.1.0    

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

Count Diff
139 (61%)
013+
013- prompt>
014+ Termsig=11
35 (15%)
013+ Segmentation fault
013- prompt>
014+
015+ Termsig=11
30 (13%)
013+ Segmentation fault (core dumped)
013- prompt>
014+
015+ Termsig=11
13 (6%)
013- prompt>
3 (1%)
2 (1%)
013+ Segmentation fault
013- prompt>
2 (1%)
007+ prompt>
008+ 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>
2 (1%)
001+
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>
1 (0%)
013+
013- prompt>
014+ Termsig=7
1 (0%)
008+ prompt> ASAN:DEADLYSIGNAL
009+ =================================================================
010+ ==17886==ERROR: AddressSanitizer: SEGV on unknown address 0x7f1ac5c15030 (pc 0x000001b0e549 bp 0x7ffd7b48a190 sp 0x7ffd7b489a40 T0)
011+ ==17886==The signal is caused by a WRITE memory access.
012+ #0 0x1b0e548 in ZEND_ASSIGN_DIM_SPEC_CV_CONST_OP_DATA_CONST_HANDLER (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1b0e548)
013+ #1 0x1bd660d in zend_vm_call_opcode_handler (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1bd660d)
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 0x1cb4016 in phpdbg_execute_ex (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1cb4016)
015+ #3 0x17ac21a in zend_execute (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x17ac21a)
016+ #4 0x1c9c7a4 in phpdbg_do_run (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1c9c7a4)
017+ #5 0x1d06e2f in phpdbg_internal_stack_execute (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1d06e2f)
018+ #6 0x1d067bf in phpdbg_stack_execute (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1d067bf)
019+ #7 0x1cac569 in phpdbg_interactive (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1cac569)
020+ #8 0x1c7c28a in main (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1c7c28a)
021+ #9 0x7f1acadad82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
022+ #10 0x43b638 in _start (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x43b638)
023+
024+ AddressSanitizer can not provide additional info.
025+ SUMMARY: AddressSanitizer: SEGV (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1b0e548) in ZEND_ASSIGN_DIM_SPEC_CV_CONST_OP_DATA_CONST_HANDLER
026+ ==17886==ABORTING