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

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

Count Diff
104 (66%)
019+
019- prompt>
020+ Termsig=11
16 (10%)
019+ Segmentation fault (core dumped)
019- prompt>
020+
021+ Termsig=11
14 (9%)
019+ Segmentation fault
019- prompt>
020+
021+ Termsig=11
13 (8%)
019- 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[0]]
008- prompt> [Breaking on watchpoint $a[0]]
009- Old value: 1
010- New value: 2
011- >00008: $a = [0 => 3, 1 => 4];
012- 00009:
013- prompt> [Breaking on watchpoint $a[0]]
014- Old value: 2
015- New value: 3
016- >00009:
017- prompt> [$a[0] has been removed, removing watchpoint]
018- [Script ended normally]
019- prompt>
2 (1%)
019+ Segmentation fault (core dumped)
019- prompt>
1 (1%)
019+ prompt>
019- prompt>
020+ =================================================================
021+ ==30366==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 0x7fbb7d5c709a (/lib/x86_64-linux-gnu/libc.so.6+0x2409a)
027+
028+ SUMMARY: AddressSanitizer: 8 byte(s) leaked in 1 allocation(s).
1 (1%)
019+
019- prompt>
020+ Termsig=0
1 (1%)
008+ prompt> ASAN:DEADLYSIGNAL
009+ =================================================================
010+ ==269166==ERROR: AddressSanitizer: SEGV on unknown address 0x7fc94d868b48 (pc 0x000001dd00a1 bp 0x0ff929b0d169 sp 0x7ffd2426e5b0 T0)
011+ ==269166==The signal is caused by a WRITE memory access.
012+ #0 0x1dd00a0 (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x1dd00a0)
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 0x7fc952bec0b2 (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
008- prompt> [Breaking on watchpoint $a[0]]
009- Old value: 1
010- New value: 2
011- >00008: $a = [0 => 3, 1 => 4];
012- 00009:
013- prompt> [Breaking on watchpoint $a[0]]
014- Old value: 2
015- New value: 3
016- >00009:
017- prompt> [$a[0] 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+0x1dd00a0)
024+ ==269166==ABORTING
1 (1%)
007+ prompt>
007- prompt> [Added watchpoint #0 for $a[0]]
008- prompt> [Breaking on watchpoint $a[0]]
009- Old value: 1
010- New value: 2
011- >00008: $a = [0 => 3, 1 => 4];
012- 00009:
013- prompt> [Breaking on watchpoint $a[0]]
014- Old value: 2
015- New value: 3
016- >00009:
017- prompt> [$a[0] 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: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[0]]
008- prompt> [Breaking on watchpoint $a[0]]
009- Old value: 1
010- New value: 2
011- >00008: $a = [0 => 3, 1 => 4];
012- 00009:
013- prompt> [Breaking on watchpoint $a[0]]
014- Old value: 2
015- New value: 3
016- >00009:
017- prompt> [$a[0] has been removed, removing watchpoint]
018- [Script ended normally]
019- prompt>