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

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

Count Diff
84 (66%)
013+
013- prompt>
014+ Termsig=11
18 (14%)
013+ Segmentation fault (core dumped)
013- prompt>
014+
015+ Termsig=11
13 (10%)
013- prompt>
7 (6%)
013+ Segmentation fault
013- prompt>
014+
015+ Termsig=11
1 (1%)
013+ Segmentation fault (core dumped)
013- prompt>
1 (1%)
008+ prompt> ASAN:DEADLYSIGNAL
009+ =================================================================
010+ ==29574==ERROR: AddressSanitizer: SEGV on unknown address 0x7f68e021f030 (pc 0x565130b37fbd bp 0x565131230840 sp 0x7fffc20ea090 T0)
011+ ==29574==The signal is caused by a WRITE memory access.
012+ #0 0x565130b37fbc 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 0x565130bbf355 in zend_vm_call_opcode_handler /home/zsw/Documents/project/php/php-7.2.6/Zend/zend_vm_execute.h:69305
008- prompt> [Breaking on watchpoint $a[]]
009- 1 elements were added to the array
010- >00009:
011- prompt> [$a[] has been removed, removing watchpoint]
012- [Script ended normally]
013- prompt>
014+ #2 0x565130bdd590 in phpdbg_execute_ex /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_prompt.c:1900
015+ #3 0x565130bbda9a in zend_execute /home/zsw/Documents/project/php/php-7.2.6/Zend/zend_vm_execute.h:63760
016+ #4 0x565130bd9c12 in phpdbg_do_run /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_prompt.c:942
017+ #5 0x565130c0e1a4 in phpdbg_internal_stack_execute /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_cmd.c:703
018+ #6 0x565130c0e1a4 in phpdbg_stack_execute /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_cmd.c:733
019+ #7 0x565130bdc63e in phpdbg_interactive /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_prompt.c:1631
020+ #8 0x565130489daa in main /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg.c:2001
021+ #9 0x7f68e34191c0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x211c0)
022+ #10 0x56513048b1f9 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+ ==29574==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[]]
008- prompt> [Breaking on watchpoint $a[]]
009- 1 elements were added to the array
010- >00009:
011- prompt> [$a[] has been removed, removing watchpoint]
012- [Script ended normally]
013- 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[]]
008- prompt> [Breaking on watchpoint $a[]]
009- 1 elements were added to the array
010- >00009:
011- prompt> [$a[] has been removed, removing watchpoint]
012- [Script ended normally]
013- prompt>
1 (1%)