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

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
008+ prompt> ASAN:SIGSEGV
009+ =================================================================
010+ ==22301==ERROR: AddressSanitizer: SEGV on unknown address 0x7fa1d541e030 (pc 0x000001399cd4 bp 0x7ffc5ca4f920 sp 0x7ffc5ca4f870 T0)
011+ #0 0x1399cd3 in ZEND_ASSIGN_SPEC_CV_CONST_RETVAL_UNUSED_HANDLER /opt/p7/php-src-php-7.2.14RC1/Zend/zend_vm_execute.h:37339
012+ #1 0x14e7b3f in zend_vm_call_opcode_handler /opt/p7/php-src-php-7.2.14RC1/Zend/zend_vm_execute.h:69321
013+ #2 0x1519e5d in phpdbg_execute_ex /opt/p7/php-src-php-7.2.14RC1/sapi/phpdbg/phpdbg_prompt.c:1900
014+ #3 0x14e5398 in zend_execute /opt/p7/php-src-php-7.2.14RC1/Zend/zend_vm_execute.h:63776
015+ #4 0x150eab8 in phpdbg_do_run /opt/p7/php-src-php-7.2.14RC1/sapi/phpdbg/phpdbg_prompt.c:942
016+ #5 0x15519fd in phpdbg_internal_stack_execute /opt/p7/php-src-php-7.2.14RC1/sapi/phpdbg/phpdbg_cmd.c:703
017+ #6 0x1551c95 in phpdbg_stack_execute /opt/p7/php-src-php-7.2.14RC1/sapi/phpdbg/phpdbg_cmd.c:733
018+ #7 0x151588d in phpdbg_interactive /opt/p7/php-src-php-7.2.14RC1/sapi/phpdbg/phpdbg_prompt.c:1631
019+ #8 0x14f4c5e in main /opt/p7/php-src-php-7.2.14RC1/sapi/phpdbg/phpdbg.c:2001
020+ #9 0x7fa1da6f282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
021+ #10 0x425d78 in _start (/opt/p7/php-src-php-7.2.14RC1/sapi/phpdbg/phpdbg+0x425d78)
022+
023+ AddressSanitizer can not provide additional info.
024+ SUMMARY: AddressSanitizer: SEGV /opt/p7/php-src-php-7.2.14RC1/Zend/zend_vm_execute.h:37339 ZEND_ASSIGN_SPEC_CV_CONST_RETVAL_UNUSED_HANDLER
025+ ==22301==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>