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

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

Count Diff
108 (68%)
013+
013- prompt>
014+ Termsig=11
17 (11%)
013+ Segmentation fault (core dumped)
013- prompt>
014+
015+ Termsig=11
14 (9%)
013+ Segmentation fault
013- prompt>
014+
015+ Termsig=11
10 (6%)
013- prompt>
3 (2%)
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%)
013+ prompt>
013- prompt>
014+ =================================================================
015+ ==30363==ERROR: LeakSanitizer: detected memory leaks
016+
017+ Direct leak of 8 byte(s) in 1 object(s) allocated from:
018+ #0 0x460240 (/root/Desktop/fuzz/test/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x460240)
019+ #1 0x209d6fa (/root/Desktop/fuzz/test/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x209d6fa)
020+ #2 0x7f5eae9c809a (/lib/x86_64-linux-gnu/libc.so.6+0x2409a)
021+
022+ SUMMARY: AddressSanitizer: 8 byte(s) leaked in 1 allocation(s).
1 (1%)
013+ Segmentation fault (core dumped)
013- prompt>
1 (1%)
013+
013- prompt>
014+ Termsig=0
1 (1%)
008+ prompt> ASAN:DEADLYSIGNAL
009+ =================================================================
010+ ==269164==ERROR: AddressSanitizer: SEGV on unknown address 0x7fe5b921f030 (pc 0x000001dd0161 bp 0x0ffcb724d169 sp 0x7ffe3f687650 T0)
011+ ==269164==The signal is caused by a WRITE memory access.
012+ #0 0x1dd0160 (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x1dd0160)
013+ #1 0x1efd444 (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x1efd444)
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 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 0x7fe5be4e90b2 (/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+0x1dd0160)
024+ ==269164==ABORTING
1 (1%)
007+ prompt>
008+ Termsig=11
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+ Segmentation fault (core dumped)
002+
003+ 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>