Test: /sapi/phpdbg/tests/watch_006.phpt - Version 7.2.14RC1    

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
009+ prompt> ASAN:SIGSEGV
010+ =================================================================
011+ ==22303==ERROR: AddressSanitizer: SEGV on unknown address 0x7f17e581e030 (pc 0x000001391c72 bp 0x7ffe3941df40 sp 0x7ffe3941ddf0 T0)
012+ #0 0x1391c71 in ZEND_ASSIGN_DIM_SPEC_CV_CONST_OP_DATA_CONST_HANDLER /opt/p7/php-src-php-7.2.14RC1/Zend/zend_vm_execute.h:36972
013+ #1 0x14e7b3f in zend_vm_call_opcode_handler /opt/p7/php-src-php-7.2.14RC1/Zend/zend_vm_execute.h:69321
014+ #2 0x1519e5d in phpdbg_execute_ex /opt/p7/php-src-php-7.2.14RC1/sapi/phpdbg/phpdbg_prompt.c:1900
015+ #3 0x14e5398 in zend_execute /opt/p7/php-src-php-7.2.14RC1/Zend/zend_vm_execute.h:63776
016+ #4 0x150eab8 in phpdbg_do_run /opt/p7/php-src-php-7.2.14RC1/sapi/phpdbg/phpdbg_prompt.c:942
017+ #5 0x15519fd in phpdbg_internal_stack_execute /opt/p7/php-src-php-7.2.14RC1/sapi/phpdbg/phpdbg_cmd.c:703
018+ #6 0x1551c95 in phpdbg_stack_execute /opt/p7/php-src-php-7.2.14RC1/sapi/phpdbg/phpdbg_cmd.c:733
019+ #7 0x151588d in phpdbg_interactive /opt/p7/php-src-php-7.2.14RC1/sapi/phpdbg/phpdbg_prompt.c:1631
020+ #8 0x14f4c5e in main /opt/p7/php-src-php-7.2.14RC1/sapi/phpdbg/phpdbg.c:2001
021+ #9 0x7f17eab4582f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
022+ #10 0x425d78 in _start (/opt/p7/php-src-php-7.2.14RC1/sapi/phpdbg/phpdbg+0x425d78)
023+
024+ AddressSanitizer can not provide additional info.
025+ SUMMARY: AddressSanitizer: SEGV /opt/p7/php-src-php-7.2.14RC1/Zend/zend_vm_execute.h:36972 ZEND_ASSIGN_DIM_SPEC_CV_CONST_OP_DATA_CONST_HANDLER
026+ ==22303==ABORTING
009- prompt> [Breaking on watchpoint $a[0]]
010- Old value: 0
011- New value: 1
012- >00005: $b = &$a;
013- 00006: $a[0] = 2;
014- 00007: $a[1] = 3;
015- prompt> [Breaking on watchpoint $b]
016- Old value:
017- New value (reference): Array ([0] => 1)
018- >00006: $a[0] = 2;
019- 00007: $a[1] = 3;
020- 00008: $c = [1];
021- prompt> [Breaking on watchpoint $a[0]]
022- Old value: 1
023- New value: 2
024- >00007: $a[1] = 3;
025- 00008: $c = [1];
026- 00009: $b = &$c;
027- prompt> [Element 1 has been added to watchpoint]
028- [Breaking on watchpoint $b[]]
029- 1 elements were added to the array
030- >00008: $c = [1];
031- 00009: $b = &$c;
032- 00010:
033- prompt> [Breaking on watchpoint $b]
034- Old value inaccessible or destroyed
035- New value (reference): Array ([0] => 2,[1] => 3)
036- >00009: $b = &$c;
037- 00010:
038- prompt> [Breaking on watchpoint $b]
039- Old value inaccessible or destroyed
040- New value (reference): Array ([0] => 1)
041- >00010:
042- prompt> [$b has been removed, removing watchpoint recursively]
043- [$a[0] has been removed, removing watchpoint]
044- [Script ended normally]
045- prompt>