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

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

Count Diff
137 (61%)
025+
025- prompt>
026+ Termsig=11
35 (15%)
025+ Segmentation fault
025- prompt>
026+
027+ Termsig=11
27 (12%)
025+ Segmentation fault (core dumped)
025- prompt>
026+
027+ Termsig=11
15 (7%)
025- prompt>
3 (1%)
025+ Segmentation fault
025- prompt>
3 (1%)
2 (1%)
007+ prompt>
008+ Termsig=11
007- prompt> [Added recursive watchpoint #0 for $b]
008- prompt> [Breaking on watchpoint $b]
009- Old value:
010- New value: Array ([0] => 1)
011- >00006: unset($b);
012- 00007: $b = 2;
013- 00008:
014- prompt> [Breaking on watchpoint $b]
015- Old value inaccessible or destroyed
016- New value:
017- >00007: $b = 2;
018- 00008:
019- prompt> [Breaking on watchpoint $b]
020- Old value:
021- New value: 2
022- >00008:
023- prompt> [$b has been removed, removing watchpoint recursively]
024- [Script ended normally]
025- 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: $a = 1;
005- 00004: $b = [$a];
006- 00005:
007- prompt> [Added recursive watchpoint #0 for $b]
008- prompt> [Breaking on watchpoint $b]
009- Old value:
010- New value: Array ([0] => 1)
011- >00006: unset($b);
012- 00007: $b = 2;
013- 00008:
014- prompt> [Breaking on watchpoint $b]
015- Old value inaccessible or destroyed
016- New value:
017- >00007: $b = 2;
018- 00008:
019- prompt> [Breaking on watchpoint $b]
020- Old value:
021- New value: 2
022- >00008:
023- prompt> [$b has been removed, removing watchpoint recursively]
024- [Script ended normally]
025- prompt>
1 (0%)
025+ Segmentation fault (core dumped)
025- prompt>
1 (0%)
008+ prompt> ASAN:DEADLYSIGNAL
009+ =================================================================
010+ ==17878==ERROR: AddressSanitizer: SEGV on unknown address 0x7fd40ca15080 (pc 0x00000186acd4 bp 0x7ffd8ea70ff0 sp 0x7ffd8ea70c70 T0)
011+ ==17878==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 0x7fd411b3882f 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
008- prompt> [Breaking on watchpoint $b]
009- Old value:
010- New value: Array ([0] => 1)
011- >00006: unset($b);
012- 00007: $b = 2;
013- 00008:
014- prompt> [Breaking on watchpoint $b]
015- Old value inaccessible or destroyed
016- New value:
017- >00007: $b = 2;
018- 00008:
019- prompt> [Breaking on watchpoint $b]
020- Old value:
021- New value: 2
022- >00008:
023- prompt> [$b has been removed, removing watchpoint recursively]
024- [Script ended normally]
025- prompt>
026+ ==17878==ABORTING