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

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

Count Diff
135 (61%)
019+
019- prompt>
020+ Termsig=11
34 (15%)
019+ Segmentation fault
019- prompt>
020+
021+ Termsig=11
28 (13%)
019+ Segmentation fault (core dumped)
019- prompt>
020+
021+ Termsig=11
15 (7%)
019- prompt>
3 (1%)
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[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>
2 (1%)
007+ prompt>
008+ 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>
2 (1%)
019+ Segmentation fault
019- prompt>
1 (0%)
008+ prompt> ASAN:DEADLYSIGNAL
009+ =================================================================
010+ ==17897==ERROR: AddressSanitizer: SEGV on unknown address 0x7f45a2a5fb48 (pc 0x000001b0cf0d bp 0x7ffc7a5c7c90 sp 0x7ffc7a5c7540 T0)
011+ ==17897==The signal is caused by a WRITE memory access.
012+ #0 0x1b0cf0c in ZEND_ASSIGN_DIM_SPEC_CV_CONST_OP_DATA_CONST_HANDLER (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1b0cf0c)
013+ #1 0x1bd660d in zend_vm_call_opcode_handler (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1bd660d)
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)
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 0x1c7c28a in main (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1c7c28a)
021+ #9 0x7f45a7b0882f 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+0x1b0cf0c) in ZEND_ASSIGN_DIM_SPEC_CV_CONST_OP_DATA_CONST_HANDLER
026+ ==17897==ABORTING
1 (0%)
019+ Segmentation fault (core dumped)
019- prompt>