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

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

Count Diff
107 (68%)
027+
027- prompt>
028+ Termsig=11
18 (11%)
027+ Segmentation fault (core dumped)
027- prompt>
028+
029+ Termsig=11
14 (9%)
027+ Segmentation fault
027- prompt>
028+
029+ Termsig=11
11 (7%)
027- 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: $c = &$a;
007- prompt> [Added recursive watchpoint #0 for $a]
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>
1 (1%)
027+ prompt>
027- prompt>
028+ =================================================================
029+ ==30372==ERROR: LeakSanitizer: detected memory leaks
030+
031+ Direct leak of 8 byte(s) in 1 object(s) allocated from:
032+ #0 0x460240 (/root/Desktop/fuzz/test/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x460240)
033+ #1 0x209d6fa (/root/Desktop/fuzz/test/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x209d6fa)
034+ #2 0x7f5a6154309a (/lib/x86_64-linux-gnu/libc.so.6+0x2409a)
035+
036+ SUMMARY: AddressSanitizer: 8 byte(s) leaked in 1 allocation(s).
1 (1%)
027+
027- prompt>
028+ Termsig=0
1 (1%)
008+ prompt> [$a has been removed, removing watchpoint recursively]
009+ [Script ended normally]
010+ prompt> [Breakpoint at %s/watch_005.php:3 exists]
011+ prompt> [Breakpoint at %s/watch_005.php:3 exists]
012+ prompt> [Breakpoint at %s/watch_005.php:3 exists]
013+ prompt>
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>
1 (1%)
008+ prompt> ASAN:DEADLYSIGNAL
009+ =================================================================
010+ ==269170==ERROR: AddressSanitizer: SEGV on unknown address 0x7faedcc1f080 (pc 0x000001c4abb9 bp 0x0ff5db983e10 sp 0x7ffd0d2c62e0 T0)
011+ ==269170==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 0x7faee20000b2 (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
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+ ==269170==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>
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: $c = &$a;
007- prompt> [Added recursive watchpoint #0 for $a]
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>