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

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

Count Diff
85 (67%)
027+
027- prompt>
028+ Termsig=11
18 (14%)
027+ Segmentation fault (core dumped)
027- prompt>
028+
029+ Termsig=11
11 (9%)
027- prompt>
7 (6%)
027+ Segmentation fault
027- prompt>
028+
029+ Termsig=11
1 (1%)
027+ Segmentation fault (core dumped)
027- prompt>
1 (1%)
027+
027- prompt>
028+ Termsig=7
1 (1%)
008+ prompt> ASAN:DEADLYSIGNAL
009+ =================================================================
010+ ==29580==ERROR: AddressSanitizer: SEGV on unknown address 0x7f32b2a1f030 (pc 0x557bd93e4ebd bp 0x557bd9bfc840 sp 0x7fffe31e55f0 T0)
011+ ==29580==The signal is caused by a WRITE memory access.
012+ #0 0x557bd93e4ebc 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 0x557bd958b355 in zend_vm_call_opcode_handler /home/zsw/Documents/project/php/php-7.2.6/Zend/zend_vm_execute.h:69305
014+ #2 0x557bd95a9590 in phpdbg_execute_ex /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_prompt.c:1900
015+ #3 0x557bd9589a9a in zend_execute /home/zsw/Documents/project/php/php-7.2.6/Zend/zend_vm_execute.h:63760
016+ #4 0x557bd95a5c12 in phpdbg_do_run /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_prompt.c:942
017+ #5 0x557bd95da1a4 in phpdbg_internal_stack_execute /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_cmd.c:703
018+ #6 0x557bd95da1a4 in phpdbg_stack_execute /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_cmd.c:733
019+ #7 0x557bd95a863e in phpdbg_interactive /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_prompt.c:1631
020+ #8 0x557bd8e55daa in main /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg.c:2001
021+ #9 0x7f32b5ae21c0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x211c0)
022+ #10 0x557bd8e571f9 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+ ==29580==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>
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: $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 (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 (1%)