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

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

Count Diff
101 (67%)
013+ prompt> Do you really want to restart execution? (type y or n):
014+ Termsig=11
013- prompt> Do you really want to restart execution? (type y or n): array(3) {
014- [0]=>
015- string(%d) "%s"
016- [1]=>
017- string(4) "arg1"
018- [2]=>
019- string(10) "_ ' arg2 ""
020- }
021- string(10) "stdin
022- data"
023- [Breakpoint #0 at %s:6, hits: 1]
024- >00006: echo "ok\n";
025- 00007:
026- prompt> ok
027- [Script ended normally]
028- prompt>
18 (12%)
013+ prompt> Do you really want to restart execution? (type y or n): Segmentation fault (core dumped)
014+
015+ Termsig=11
013- prompt> Do you really want to restart execution? (type y or n): array(3) {
014- [0]=>
015- string(%d) "%s"
016- [1]=>
017- string(4) "arg1"
018- [2]=>
019- string(10) "_ ' arg2 ""
020- }
021- string(10) "stdin
022- data"
023- [Breakpoint #0 at %s:6, hits: 1]
024- >00006: echo "ok\n";
025- 00007:
026- prompt> ok
027- [Script ended normally]
028- prompt>
13 (9%)
013+ prompt> Do you really want to restart execution? (type y or n): Segmentation fault
014+
015+ Termsig=11
013- prompt> Do you really want to restart execution? (type y or n): array(3) {
014- [0]=>
015- string(%d) "%s"
016- [1]=>
017- string(4) "arg1"
018- [2]=>
019- string(10) "_ ' arg2 ""
020- }
021- string(10) "stdin
022- data"
023- [Breakpoint #0 at %s:6, hits: 1]
024- >00006: echo "ok\n";
025- 00007:
026- prompt> ok
027- [Script ended normally]
028- prompt>
11 (7%)
013+ prompt> Do you really want to restart execution? (type y or n):
013- prompt> Do you really want to restart execution? (type y or n): array(3) {
014- [0]=>
015- string(%d) "%s"
016- [1]=>
017- string(4) "arg1"
018- [2]=>
019- string(10) "_ ' arg2 ""
020- }
021- string(10) "stdin
022- data"
023- [Breakpoint #0 at %s:6, hits: 1]
024- >00006: echo "ok\n";
025- 00007:
026- prompt> ok
027- [Script ended normally]
028- prompt>
3 (2%)
001+ Termsig=11
001- [Successful compilation of %s]
002- prompt> 10
003- prompt> [Breakpoint #0 added at %s:6]
004- prompt> array(1) {
005- [0]=>
006- string(%d) "%s"
007- }
008- string(10) "stdin
009- data"
010- [Breakpoint #0 at %s:6, hits: 1]
011- >00006: echo "ok\n";
012- 00007:
013- prompt> Do you really want to restart execution? (type y or n): array(3) {
014- [0]=>
015- string(%d) "%s"
016- [1]=>
017- string(4) "arg1"
018- [2]=>
019- string(10) "_ ' arg2 ""
020- }
021- string(10) "stdin
022- data"
023- [Breakpoint #0 at %s:6, hits: 1]
024- >00006: echo "ok\n";
025- 00007:
026- prompt> ok
027- [Script ended normally]
028- prompt>
1 (1%)
001+ Segmentation fault (core dumped)
002+
003+ Termsig=11
001- [Successful compilation of %s]
002- prompt> 10
003- prompt> [Breakpoint #0 added at %s:6]
004- prompt> array(1) {
005- [0]=>
006- string(%d) "%s"
007- }
008- string(10) "stdin
009- data"
010- [Breakpoint #0 at %s:6, hits: 1]
011- >00006: echo "ok\n";
012- 00007:
013- prompt> Do you really want to restart execution? (type y or n): array(3) {
014- [0]=>
015- string(%d) "%s"
016- [1]=>
017- string(4) "arg1"
018- [2]=>
019- string(10) "_ ' arg2 ""
020- }
021- string(10) "stdin
022- data"
023- [Breakpoint #0 at %s:6, hits: 1]
024- >00006: echo "ok\n";
025- 00007:
026- prompt> ok
027- [Script ended normally]
028- prompt>
1 (1%)
013+ prompt> Do you really want to restart execution? (type y or n):
014+ Termsig=0
013- prompt> Do you really want to restart execution? (type y or n): array(3) {
014- [0]=>
015- string(%d) "%s"
016- [1]=>
017- string(4) "arg1"
018- [2]=>
019- string(10) "_ ' arg2 ""
020- }
021- string(10) "stdin
022- data"
023- [Breakpoint #0 at %s:6, hits: 1]
024- >00006: echo "ok\n";
025- 00007:
026- prompt> ok
027- [Script ended normally]
028- prompt>
1 (1%)
028+ prompt>
028- prompt>
029+ =================================================================
030+ ==269147==ERROR: LeakSanitizer: detected memory leaks
031+
032+ Direct leak of 88 byte(s) in 1 object(s) allocated from:
033+ #0 0x4fa6c8 (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x4fa6c8)
034+ #1 0x1f3c00d (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x1f3c00d)
035+ #2 0x1ed7470 (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x1ed7470)
036+ #3 0x1ecd73b (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x1ecd73b)
037+ #4 0x7f7ddd2ef0b2 (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
038+
039+ Direct leak of 16 byte(s) in 2 object(s) allocated from:
040+ #0 0x499a10 (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x499a10)
041+ #1 0x1f27bc5 (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x1f27bc5)
042+ #2 0x7f7ddd2ef0b2 (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
043+
044+ SUMMARY: AddressSanitizer: 104 byte(s) leaked in 3 allocation(s).
1 (1%)
028+ prompt>
028- prompt>
029+ =================================================================
030+ ==30345==ERROR: LeakSanitizer: detected memory leaks
031+
032+ Direct leak of 88 byte(s) in 1 object(s) allocated from:
033+ #0 0x509d78 (/root/Desktop/fuzz/test/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x509d78)
034+ #1 0x20b27ee (/root/Desktop/fuzz/test/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x20b27ee)
035+ #2 0x204b2e4 (/root/Desktop/fuzz/test/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x204b2e4)
036+ #3 0x203fc26 (/root/Desktop/fuzz/test/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x203fc26)
037+ #4 0x7f9b70b9909a (/lib/x86_64-linux-gnu/libc.so.6+0x2409a)
038+
039+ Direct leak of 16 byte(s) in 2 object(s) allocated from:
040+ #0 0x460240 (/root/Desktop/fuzz/test/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x460240)
041+ #1 0x209d6fa (/root/Desktop/fuzz/test/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x209d6fa)
042+ #2 0x7f9b70b9909a (/lib/x86_64-linux-gnu/libc.so.6+0x2409a)
043+
044+ SUMMARY: AddressSanitizer: 104 byte(s) leaked in 3 allocation(s).