Test: /sapi/phpdbg/tests/watch_004.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
35 (16%)
019+ Segmentation fault
019- prompt>
020+
021+ Termsig=11
27 (12%)
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: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>
2 (1%)
007+ prompt>
008+ Termsig=11
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>
2 (1%)
019+ Segmentation fault
019- prompt>
1 (0%)
008+ prompt> ASAN:DEADLYSIGNAL
009+ =================================================================
010+ ==17909==ERROR: AddressSanitizer: SEGV on unknown address 0x7f7c42815080 (pc 0x00000186acd4 bp 0x7ffcd65487b0 sp 0x7ffcd6548430 T0)
011+ ==17909==The signal is caused by a WRITE memory access.
012+ #0 0x186acd3 in ZEND_ASSIGN_SPEC_CV_CONST_RETVAL_UNUSED_HANDLER (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x186acd3)
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]
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 0x1c7c28a in main (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1c7c28a)
021+ #9 0x7f7c478c082f 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+0x186acd3) in ZEND_ASSIGN_SPEC_CV_CONST_RETVAL_UNUSED_HANDLER
026+ ==17909==ABORTING
1 (0%)
019+
019- prompt>
020+ Termsig=7