Test: /sapi/phpdbg/tests/watch_004.phpt - Version 7.2.6    

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

Count Diff
81 (64%)
019+
019- prompt>
020+ Termsig=11
18 (14%)
019+ Segmentation fault (core dumped)
019- prompt>
020+
021+ Termsig=11
14 (11%)
019- prompt>
7 (6%)
019+ Segmentation fault
019- prompt>
020+
021+ Termsig=11
1 (1%)
019+ Segmentation fault (core dumped)
019- prompt>
1 (1%)
019+
019- prompt>
020+ Termsig=7
1 (1%)
008+ prompt> ASAN:DEADLYSIGNAL
009+ =================================================================
010+ ==29578==ERROR: AddressSanitizer: SEGV on unknown address 0x7f00a3a1f030 (pc 0x555f88fc9ebd bp 0x555f897e1840 sp 0x7fff61742f40 T0)
011+ ==29578==The signal is caused by a WRITE memory access.
012+ #0 0x555f88fc9ebc in ZEND_ASSIGN_SPEC_CV_CONST_RETVAL_UNUSED_HANDLER /home/zsw/Documents/project/php/php-7.2.6/Zend/zend_vm_execute.h:37329
013+ #1 0x555f89170355 in zend_vm_call_opcode_handler /home/zsw/Documents/project/php/php-7.2.6/Zend/zend_vm_execute.h:69305
014+ #2 0x555f8918e590 in phpdbg_execute_ex /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_prompt.c:1900
015+ #3 0x555f8916ea9a in zend_execute /home/zsw/Documents/project/php/php-7.2.6/Zend/zend_vm_execute.h:63760
016+ #4 0x555f8918ac12 in phpdbg_do_run /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_prompt.c:942
017+ #5 0x555f891bf1a4 in phpdbg_internal_stack_execute /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_cmd.c:703
018+ #6 0x555f891bf1a4 in phpdbg_stack_execute /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_cmd.c:733
019+ #7 0x555f8918d63e in phpdbg_interactive /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_prompt.c:1631
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 0x555f88a3adaa in main /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg.c:2001
021+ #9 0x7f00a6bac1c0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x211c0)
022+ #10 0x555f88a3c1f9 in _start (/home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg+0x2271f9)
023+
024+ AddressSanitizer can not provide additional info.
025+ SUMMARY: AddressSanitizer: SEGV /home/zsw/Documents/project/php/php-7.2.6/Zend/zend_vm_execute.h:37329 in ZEND_ASSIGN_SPEC_CV_CONST_RETVAL_UNUSED_HANDLER
026+ ==29578==ABORTING
1 (1%)
001+ Termsig=11
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>
1 (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>
1 (1%)