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

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

Count Diff
82 (65%)
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+ ==29576==ERROR: AddressSanitizer: SEGV on unknown address 0x7f2ac881f030 (pc 0x5612b3d36fbd bp 0x5612b442f840 sp 0x7fff647514b0 T0)
011+ ==29576==The signal is caused by a WRITE memory access.
012+ #0 0x5612b3d36fbc in ZEND_ASSIGN_DIM_SPEC_CV_CONST_OP_DATA_CONST_HANDLER /home/zsw/Documents/project/php/php-7.2.6/Zend/zend_vm_execute.h:36962
013+ #1 0x5612b3dbe355 in zend_vm_call_opcode_handler /home/zsw/Documents/project/php/php-7.2.6/Zend/zend_vm_execute.h:69305
014+ #2 0x5612b3ddc590 in phpdbg_execute_ex /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_prompt.c:1900
015+ #3 0x5612b3dbca9a in zend_execute /home/zsw/Documents/project/php/php-7.2.6/Zend/zend_vm_execute.h:63760
016+ #4 0x5612b3dd8c12 in phpdbg_do_run /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_prompt.c:942
017+ #5 0x5612b3e0d1a4 in phpdbg_internal_stack_execute /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_cmd.c:703
018+ #6 0x5612b3e0d1a4 in phpdbg_stack_execute /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_cmd.c:733
019+ #7 0x5612b3ddb63e in phpdbg_interactive /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_prompt.c:1631
008- prompt> [Breaking on watchpoint $a[0]]
009- Old value: 1
010- New value: 2
011- >00008: $a = [0 => 3, 1 => 4];
012- 00009:
013- prompt> [Breaking on watchpoint $a[0]]
014- Old value: 2
015- New value: 3
016- >00009:
017- prompt> [$a[0] has been removed, removing watchpoint]
018- [Script ended normally]
019- prompt>
020+ #8 0x5612b3688daa in main /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg.c:2001
021+ #9 0x7f2acba281c0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x211c0)
022+ #10 0x5612b368a1f9 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:36962 in ZEND_ASSIGN_DIM_SPEC_CV_CONST_OP_DATA_CONST_HANDLER
026+ ==29576==ABORTING
1 (1%)
001+ Termsig=11
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at %s:6]
003- prompt> [Breakpoint #0 at %s:6, hits: 1]
004- >00006: $a[0] = 2;
005- 00007:
006- 00008: $a = [0 => 3, 1 => 4];
007- prompt> [Added watchpoint #0 for $a[0]]
008- prompt> [Breaking on watchpoint $a[0]]
009- Old value: 1
010- New value: 2
011- >00008: $a = [0 => 3, 1 => 4];
012- 00009:
013- prompt> [Breaking on watchpoint $a[0]]
014- Old value: 2
015- New value: 3
016- >00009:
017- prompt> [$a[0] 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:6]
003- prompt> [Breakpoint #0 at %s:6, hits: 1]
004- >00006: $a[0] = 2;
005- 00007:
006- 00008: $a = [0 => 3, 1 => 4];
007- prompt> [Added watchpoint #0 for $a[0]]
008- prompt> [Breaking on watchpoint $a[0]]
009- Old value: 1
010- New value: 2
011- >00008: $a = [0 => 3, 1 => 4];
012- 00009:
013- prompt> [Breaking on watchpoint $a[0]]
014- Old value: 2
015- New value: 3
016- >00009:
017- prompt> [$a[0] has been removed, removing watchpoint]
018- [Script ended normally]
019- prompt>
1 (1%)