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

Bug #73704 phpdbg shows the wrong line in files with shebang
Submitted: 2016-12-09 14:31:05 Modified: 2017-01-02 09:22:57
From: stahlstift Assigned: bwoebi
Status: Closed Package: phpdbg
PHP Version: 7.0.14 OS: Windows 10 Pro

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

Count Diff
108 (69%)
013+
013- prompt>
014+ Termsig=11
17 (11%)
013+ Segmentation fault (core dumped)
013- prompt>
014+
015+ Termsig=11
12 (8%)
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> 00001: #!/usr/bin/env php
003- 00002: <?php
004- 00003:
005- 00004: echo 1;
006- 00005:
007- prompt> [Breakpoint #0 added at %s:4]
008- prompt> [Breakpoint #0 at %s:4, hits: 1]
009- >00004: echo 1;
010- 00005:
011- prompt> 1
012- [Script ended normally]
013- prompt>
2 (1%)
013+ Segmentation fault
013- prompt>
1 (1%)
013+ prompt>
013- prompt>
014+ =================================================================
015+ ==30279==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 0x7fe93f74809a (/lib/x86_64-linux-gnu/libc.so.6+0x2409a)
021+
022+ SUMMARY: AddressSanitizer: 8 byte(s) leaked in 1 allocation(s).
1 (1%)
013+ prompt>
013- prompt>
014+ =================================================================
015+ ==269081==ERROR: LeakSanitizer: detected memory leaks
016+
017+ Direct leak of 8 byte(s) in 1 object(s) allocated from:
018+ #0 0x499a10 (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x499a10)
019+ #1 0x1f27bc5 (/home/tunguyen/Downloads/php-src-php-7.2.11/sapi/phpdbg/phpdbg+0x1f27bc5)
020+ #2 0x7f188b95f0b2 (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
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%)
001+ Segmentation fault (core dumped)
002+
003+ Termsig=11
001- [Successful compilation of %s]
002- prompt> 00001: #!/usr/bin/env php
003- 00002: <?php
004- 00003:
005- 00004: echo 1;
006- 00005:
007- prompt> [Breakpoint #0 added at %s:4]
008- prompt> [Breakpoint #0 at %s:4, hits: 1]
009- >00004: echo 1;
010- 00005:
011- prompt> 1
012- [Script ended normally]
013- prompt>