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

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

Count Diff
140 (61%)
027+
027- prompt>
028+ Termsig=11
37 (16%)
027+ Segmentation fault
027- prompt>
028+
029+ Termsig=11
29 (13%)
027+ Segmentation fault (core dumped)
027- prompt>
028+
029+ Termsig=11
12 (5%)
027- prompt>
3 (1%)
2 (1%)
007+ prompt>
008+ Termsig=11
007- prompt> [Added recursive watchpoint #0 for $a]
008- prompt> [Breaking on watchpoint $a]
009- Old value:
010- New value: aa
011- >00005: $c = &$a;
012- 00006: $a[1] = "b";
013- 00007:
014- prompt> [Breaking on watchpoint $a]
015- Old value inaccessible or destroyed
016- New value (reference): aa
017- >00006: $a[1] = "b";
018- 00007:
019- 00008: exit;
020- prompt> [Breaking on watchpoint $a]
021- Old value: aa
022- New value: ab
023- >00008: exit;
024- 00009:
025- prompt> [$a has been removed, removing watchpoint recursively]
026- [Script ended normally]
027- prompt>
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: $c = &$a;
007- prompt> [Added recursive watchpoint #0 for $a]
008- prompt> [Breaking on watchpoint $a]
009- Old value:
010- New value: aa
011- >00005: $c = &$a;
012- 00006: $a[1] = "b";
013- 00007:
014- prompt> [Breaking on watchpoint $a]
015- Old value inaccessible or destroyed
016- New value (reference): aa
017- >00006: $a[1] = "b";
018- 00007:
019- 00008: exit;
020- prompt> [Breaking on watchpoint $a]
021- Old value: aa
022- New value: ab
023- >00008: exit;
024- 00009:
025- prompt> [$a has been removed, removing watchpoint recursively]
026- [Script ended normally]
027- prompt>
1 (0%)
027+ Segmentation fault (core dumped)
027- prompt>
1 (0%)
027+
027- prompt>
028+ Termsig=0
1 (0%)
008+ prompt> ASAN:DEADLYSIGNAL
009+ =================================================================
010+ ==17919==ERROR: AddressSanitizer: SEGV on unknown address 0x7ff519c15080 (pc 0x00000186acd4 bp 0x7ffecc6c6850 sp 0x7ffecc6c64d0 T0)
011+ ==17919==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)
020+ #8 0x1c7c28a in main (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1c7c28a)
021+ #9 0x7ff51ed2f82f 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+ ==17919==ABORTING
008- prompt> [Breaking on watchpoint $a]
009- Old value:
010- New value: aa
011- >00005: $c = &$a;
012- 00006: $a[1] = "b";
013- 00007:
014- prompt> [Breaking on watchpoint $a]
015- Old value inaccessible or destroyed
016- New value (reference): aa
017- >00006: $a[1] = "b";
018- 00007:
019- 00008: exit;
020- prompt> [Breaking on watchpoint $a]
021- Old value: aa
022- New value: ab
023- >00008: exit;
024- 00009:
025- prompt> [$a has been removed, removing watchpoint recursively]
026- [Script ended normally]
027- prompt>