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

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

Count Diff
107 (69%)
009+ prompt> Do you really want to restart execution? (type y or n):
010+ Termsig=11
009- prompt> Do you really want to restart execution? (type y or n): [Breakpoint #1 at %s:3, hits: 1]
010- >00003: echo $i++;
011- 00004: echo $i++;
012- 00005: echo $i++;
013- prompt> 1
014- [Breakpoint #0 at %s:4, hits: 1]
015- >00004: echo $i++;
016- 00005: echo $i++;
017- 00006: echo $i++;
018- prompt> 234
019- [Script ended normally]
020- prompt>
15 (10%)
009+ prompt> Do you really want to restart execution? (type y or n): Segmentation fault (core dumped)
010+
011+ Termsig=11
009- prompt> Do you really want to restart execution? (type y or n): [Breakpoint #1 at %s:3, hits: 1]
010- >00003: echo $i++;
011- 00004: echo $i++;
012- 00005: echo $i++;
013- prompt> 1
014- [Breakpoint #0 at %s:4, hits: 1]
015- >00004: echo $i++;
016- 00005: echo $i++;
017- 00006: echo $i++;
018- prompt> 234
019- [Script ended normally]
020- prompt>
14 (9%)
009+ prompt> Do you really want to restart execution? (type y or n): Segmentation fault
010+
011+ Termsig=11
009- prompt> Do you really want to restart execution? (type y or n): [Breakpoint #1 at %s:3, hits: 1]
010- >00003: echo $i++;
011- 00004: echo $i++;
012- 00005: echo $i++;
013- prompt> 1
014- [Breakpoint #0 at %s:4, hits: 1]
015- >00004: echo $i++;
016- 00005: echo $i++;
017- 00006: echo $i++;
018- prompt> 234
019- [Script ended normally]
020- prompt>
10 (6%)
009+ prompt> Do you really want to restart execution? (type y or n):
009- prompt> Do you really want to restart execution? (type y or n): [Breakpoint #1 at %s:3, hits: 1]
010- >00003: echo $i++;
011- 00004: echo $i++;
012- 00005: echo $i++;
013- prompt> 1
014- [Breakpoint #0 at %s:4, hits: 1]
015- >00004: echo $i++;
016- 00005: echo $i++;
017- 00006: echo $i++;
018- prompt> 234
019- [Script ended normally]
020- prompt>
3 (2%)
009+ prompt> Do you really want to restart execution? (type y or n): Segmentation fault (core dumped)
009- prompt> Do you really want to restart execution? (type y or n): [Breakpoint #1 at %s:3, hits: 1]
010- >00003: echo $i++;
011- 00004: echo $i++;
012- 00005: echo $i++;
013- prompt> 1
014- [Breakpoint #0 at %s:4, hits: 1]
015- >00004: echo $i++;
016- 00005: echo $i++;
017- 00006: echo $i++;
018- prompt> 234
019- [Script ended normally]
020- prompt>
2 (1%)
001+ Termsig=11
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at %s:4]
003- prompt> 1
004- [Breakpoint #0 at %s:4, hits: 1]
005- >00004: echo $i++;
006- 00005: echo $i++;
007- 00006: echo $i++;
008- prompt> [Breakpoint #1 added at %s:3]
009- prompt> Do you really want to restart execution? (type y or n): [Breakpoint #1 at %s:3, hits: 1]
010- >00003: echo $i++;
011- 00004: echo $i++;
012- 00005: echo $i++;
013- prompt> 1
014- [Breakpoint #0 at %s:4, hits: 1]
015- >00004: echo $i++;
016- 00005: echo $i++;
017- 00006: echo $i++;
018- prompt> 234
019- [Script ended normally]
020- prompt>
1 (1%)
020+ prompt>
020- prompt>
021+ =================================================================
022+ ==30249==ERROR: LeakSanitizer: detected memory leaks
023+
024+ Direct leak of 88 byte(s) in 1 object(s) allocated from:
025+ #0 0x509d78 (/root/Desktop/fuzz/test/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x509d78)
026+ #1 0x20b27ee (/root/Desktop/fuzz/test/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x20b27ee)
027+ #2 0x204b2e4 (/root/Desktop/fuzz/test/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x204b2e4)
028+ #3 0x203fc26 (/root/Desktop/fuzz/test/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x203fc26)
029+ #4 0x7f2e97a3f09a (/lib/x86_64-linux-gnu/libc.so.6+0x2409a)
030+
031+ Direct leak of 16 byte(s) in 2 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 0x7f2e97a3f09a (/lib/x86_64-linux-gnu/libc.so.6+0x2409a)
035+
036+ SUMMARY: AddressSanitizer: 104 byte(s) leaked in 3 allocation(s).
1 (1%)
020+ prompt>
020- prompt>
021+ =================================================================
022+ ==269051==ERROR: LeakSanitizer: detected memory leaks
023+
024+ Direct leak of 88 byte(s) in 1 object(s) allocated from:
025+ #0 0x4fa6c8 (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x4fa6c8)
026+ #1 0x1f3c00d (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x1f3c00d)
027+ #2 0x1ed7470 (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x1ed7470)
028+ #3 0x1ecd73b (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x1ecd73b)
029+ #4 0x7fbe90c570b2 (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
030+
031+ Direct leak of 16 byte(s) in 2 object(s) allocated from:
032+ #0 0x499a10 (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x499a10)
033+ #1 0x1f27bc5 (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x1f27bc5)
034+ #2 0x7fbe90c570b2 (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
035+
036+ SUMMARY: AddressSanitizer: 104 byte(s) leaked in 3 allocation(s).
1 (1%)
009+ prompt> Do you really want to restart execution? (type y or n):
010+ Termsig=0
009- prompt> Do you really want to restart execution? (type y or n): [Breakpoint #1 at %s:3, hits: 1]
010- >00003: echo $i++;
011- 00004: echo $i++;
012- 00005: echo $i++;
013- prompt> 1
014- [Breakpoint #0 at %s:4, hits: 1]
015- >00004: echo $i++;
016- 00005: echo $i++;
017- 00006: echo $i++;
018- prompt> 234
019- [Script ended normally]
020- prompt>
1 (1%)
001+ Segmentation fault (core dumped)
002+
003+ Termsig=11
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at %s:4]
003- prompt> 1
004- [Breakpoint #0 at %s:4, hits: 1]
005- >00004: echo $i++;
006- 00005: echo $i++;
007- 00006: echo $i++;
008- prompt> [Breakpoint #1 added at %s:3]
009- prompt> Do you really want to restart execution? (type y or n): [Breakpoint #1 at %s:3, hits: 1]
010- >00003: echo $i++;
011- 00004: echo $i++;
012- 00005: echo $i++;
013- prompt> 1
014- [Breakpoint #0 at %s:4, hits: 1]
015- >00004: echo $i++;
016- 00005: echo $i++;
017- 00006: echo $i++;
018- prompt> 234
019- [Script ended normally]
020- prompt>
1 (1%)
001+
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at %s:4]
003- prompt> 1
004- [Breakpoint #0 at %s:4, hits: 1]
005- >00004: echo $i++;
006- 00005: echo $i++;
007- 00006: echo $i++;
008- prompt> [Breakpoint #1 added at %s:3]
009- prompt> Do you really want to restart execution? (type y or n): [Breakpoint #1 at %s:3, hits: 1]
010- >00003: echo $i++;
011- 00004: echo $i++;
012- 00005: echo $i++;
013- prompt> 1
014- [Breakpoint #0 at %s:4, hits: 1]
015- >00004: echo $i++;
016- 00005: echo $i++;
017- 00006: echo $i++;
018- prompt> 234
019- [Script ended normally]
020- prompt>