Test: /sapi/phpdbg/tests/watch_004.phpt - Version 7.2.11    

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

Count Diff
102 (68%)
019+
019- prompt>
020+ Termsig=11
18 (12%)
019+ Segmentation fault (core dumped)
019- prompt>
020+
021+ Termsig=11
13 (9%)
019+ Segmentation fault
019- prompt>
020+
021+ Termsig=11
9 (6%)
019- prompt>
3 (2%)
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: $a[1] = "b";
007- prompt> [Added watchpoint #0 for $a]
008- prompt> [Breaking on watchpoint $a]
009- Old value:
010- New value: aa
011- >00005: $a[1] = "b";
012- 00006:
013- prompt> [Breaking on watchpoint $a]
014- Old value: aa
015- New value: ab
016- >00006:
017- prompt> [$a has been removed, removing watchpoint]
018- [Script ended normally]
019- prompt>
1 (1%)
001+ Segmentation fault (core dumped)
002+
003+ 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: $a[1] = "b";
007- prompt> [Added watchpoint #0 for $a]
008- prompt> [Breaking on watchpoint $a]
009- Old value:
010- New value: aa
011- >00005: $a[1] = "b";
012- 00006:
013- prompt> [Breaking on watchpoint $a]
014- Old value: aa
015- New value: ab
016- >00006:
017- prompt> [$a has been removed, removing watchpoint]
018- [Script ended normally]
019- prompt>
1 (1%)
008+ prompt> ASAN:DEADLYSIGNAL
009+ =================================================================
010+ ==269168==ERROR: AddressSanitizer: SEGV on unknown address 0x7fee6ee1f080 (pc 0x000001c4abb9 bp 0x0ffdcddc3e10 sp 0x7ffcb9e972a0 T0)
011+ ==269168==The signal is caused by a WRITE memory access.
012+ #0 0x1c4abb8 (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x1c4abb8)
013+ #1 0x1efd444 (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x1efd444)
014+ #2 0x1aca352 (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x1aca352)
015+ #3 0x1ee774b (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x1ee774b)
016+ #4 0x1f422cf (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x1f422cf)
017+ #5 0x1ef7529 (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x1ef7529)
018+ #6 0x1ecd73b (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x1ecd73b)
019+ #7 0x7fee741340b2 (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
008- prompt> [Breaking on watchpoint $a]
009- Old value:
010- New value: aa
011- >00005: $a[1] = "b";
012- 00006:
013- prompt> [Breaking on watchpoint $a]
014- Old value: aa
015- New value: ab
016- >00006:
017- prompt> [$a has been removed, removing watchpoint]
018- [Script ended normally]
019- prompt>
020+ #8 0x444e6d (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x444e6d)
021+
022+ AddressSanitizer can not provide additional info.
023+ SUMMARY: AddressSanitizer: SEGV (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x1c4abb8)
024+ ==269168==ABORTING
1 (1%)
019+
019- prompt>
020+ Termsig=0
1 (1%)
019+ prompt>
019- prompt>
020+ =================================================================
021+ ==30369==ERROR: LeakSanitizer: detected memory leaks
022+
023+ Direct leak of 8 byte(s) in 1 object(s) allocated from:
024+ #0 0x460240 (/root/Desktop/fuzz/test/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x460240)
025+ #1 0x209d6fa (/root/Desktop/fuzz/test/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x209d6fa)
026+ #2 0x7f3bc0bc609a (/lib/x86_64-linux-gnu/libc.so.6+0x2409a)
027+
028+ SUMMARY: AddressSanitizer: 8 byte(s) leaked in 1 allocation(s).