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

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

Count Diff
105 (67%)
019+
020+ Termsig=11
019- prompt> [Not running]
020- prompt> 1
021- [Breakpoint #0 at %s:4, hits: 1]
022- >00004: echo 2;
023- 00005: echo 3;
024- 00006: foo();
025- prompt> 23
026- [Breakpoint #1 in foo() at %s:9, hits: 1]
027- >00009: echo 4;
028- 00010: }
029- 00011:
030- prompt> 4
031- [Script ended normally]
032- prompt>
16 (10%)
019+ Segmentation fault (core dumped)
020+
021+ Termsig=11
019- prompt> [Not running]
020- prompt> 1
021- [Breakpoint #0 at %s:4, hits: 1]
022- >00004: echo 2;
023- 00005: echo 3;
024- 00006: foo();
025- prompt> 23
026- [Breakpoint #1 in foo() at %s:9, hits: 1]
027- >00009: echo 4;
028- 00010: }
029- 00011:
030- prompt> 4
031- [Script ended normally]
032- prompt>
13 (8%)
019- prompt> [Not running]
020- prompt> 1
021- [Breakpoint #0 at %s:4, hits: 1]
022- >00004: echo 2;
023- 00005: echo 3;
024- 00006: foo();
025- prompt> 23
026- [Breakpoint #1 in foo() at %s:9, hits: 1]
027- >00009: echo 4;
028- 00010: }
029- 00011:
030- prompt> 4
031- [Script ended normally]
032- prompt>
13 (8%)
019+ Segmentation fault
020+
021+ Termsig=11
019- prompt> [Not running]
020- prompt> 1
021- [Breakpoint #0 at %s:4, hits: 1]
022- >00004: echo 2;
023- 00005: echo 3;
024- 00006: foo();
025- prompt> 23
026- [Breakpoint #1 in foo() at %s:9, hits: 1]
027- >00009: echo 4;
028- 00010: }
029- 00011:
030- prompt> 4
031- [Script ended normally]
032- prompt>
3 (2%)
001+ Termsig=11
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at %s:4]
003- prompt> [Breakpoint #1 added at foo]
004- prompt> 1
005- [Breakpoint #0 at %s:4, hits: 1]
006- >00004: echo 2;
007- 00005: echo 3;
008- 00006: foo();
009- prompt> 23
010- [Breakpoint #1 in foo() at %s:9, hits: 1]
011- >00009: echo 4;
012- 00010: }
013- 00011:
014- prompt> Do you really want to clean your current environment? (type y or n): Cleaning Execution Environment
015- Classes %d
016- Functions %d
017- Constants %d
018- Includes 0
019- prompt> [Not running]
020- prompt> 1
021- [Breakpoint #0 at %s:4, hits: 1]
022- >00004: echo 2;
023- 00005: echo 3;
024- 00006: foo();
025- prompt> 23
026- [Breakpoint #1 in foo() at %s:9, hits: 1]
027- >00009: echo 4;
028- 00010: }
029- 00011:
030- prompt> 4
031- [Script ended normally]
032- prompt>
2 (1%)
019+ Segmentation fault (core dumped)
019- prompt> [Not running]
020- prompt> 1
021- [Breakpoint #0 at %s:4, hits: 1]
022- >00004: echo 2;
023- 00005: echo 3;
024- 00006: foo();
025- prompt> 23
026- [Breakpoint #1 in foo() at %s:9, hits: 1]
027- >00009: echo 4;
028- 00010: }
029- 00011:
030- prompt> 4
031- [Script ended normally]
032- prompt>
1 (1%)
032+ prompt>
032- prompt>
033+ =================================================================
034+ ==30285==ERROR: LeakSanitizer: detected memory leaks
035+
036+ Direct leak of 88 byte(s) in 1 object(s) allocated from:
037+ #0 0x509d78 (/root/Desktop/fuzz/test/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x509d78)
038+ #1 0x20b27ee (/root/Desktop/fuzz/test/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x20b27ee)
039+ #2 0x204b2e4 (/root/Desktop/fuzz/test/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x204b2e4)
040+ #3 0x203fc26 (/root/Desktop/fuzz/test/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x203fc26)
041+ #4 0x7fba15bcf09a (/lib/x86_64-linux-gnu/libc.so.6+0x2409a)
042+
043+ Direct leak of 16 byte(s) in 2 object(s) allocated from:
044+ #0 0x460240 (/root/Desktop/fuzz/test/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x460240)
045+ #1 0x209d6fa (/root/Desktop/fuzz/test/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x209d6fa)
046+ #2 0x7fba15bcf09a (/lib/x86_64-linux-gnu/libc.so.6+0x2409a)
047+
048+ SUMMARY: AddressSanitizer: 104 byte(s) leaked in 3 allocation(s).
1 (1%)
032+ prompt>
032- prompt>
033+ =================================================================
034+ ==269087==ERROR: LeakSanitizer: detected memory leaks
035+
036+ Direct leak of 88 byte(s) in 1 object(s) allocated from:
037+ #0 0x4fa6c8 (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x4fa6c8)
038+ #1 0x1f3c00d (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x1f3c00d)
039+ #2 0x1ed7470 (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x1ed7470)
040+ #3 0x1ecd73b (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x1ecd73b)
041+ #4 0x7f454d0090b2 (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
042+
043+ Direct leak of 16 byte(s) in 2 object(s) allocated from:
044+ #0 0x499a10 (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x499a10)
045+ #1 0x1f27bc5 (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x1f27bc5)
046+ #2 0x7f454d0090b2 (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
047+
048+ SUMMARY: AddressSanitizer: 104 byte(s) leaked in 3 allocation(s).
1 (1%)
019+ Segmentation fault
019- prompt> [Not running]
020- prompt> 1
021- [Breakpoint #0 at %s:4, hits: 1]
022- >00004: echo 2;
023- 00005: echo 3;
024- 00006: foo();
025- prompt> 23
026- [Breakpoint #1 in foo() at %s:9, hits: 1]
027- >00009: echo 4;
028- 00010: }
029- 00011:
030- prompt> 4
031- [Script ended normally]
032- prompt>
1 (1%)
019+
020+ Termsig=0
019- prompt> [Not running]
020- prompt> 1
021- [Breakpoint #0 at %s:4, hits: 1]
022- >00004: echo 2;
023- 00005: echo 3;
024- 00006: foo();
025- prompt> 23
026- [Breakpoint #1 in foo() at %s:9, hits: 1]
027- >00009: echo 4;
028- 00010: }
029- 00011:
030- prompt> 4
031- [Script ended normally]
032- 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> [Breakpoint #1 added at foo]
004- prompt> 1
005- [Breakpoint #0 at %s:4, hits: 1]
006- >00004: echo 2;
007- 00005: echo 3;
008- 00006: foo();
009- prompt> 23
010- [Breakpoint #1 in foo() at %s:9, hits: 1]
011- >00009: echo 4;
012- 00010: }
013- 00011:
014- prompt> Do you really want to clean your current environment? (type y or n): Cleaning Execution Environment
015- Classes %d
016- Functions %d
017- Constants %d
018- Includes 0
019- prompt> [Not running]
020- prompt> 1
021- [Breakpoint #0 at %s:4, hits: 1]
022- >00004: echo 2;
023- 00005: echo 3;
024- 00006: foo();
025- prompt> 23
026- [Breakpoint #1 in foo() at %s:9, hits: 1]
027- >00009: echo 4;
028- 00010: }
029- 00011:
030- prompt> 4
031- [Script ended normally]
032- prompt>