Test: /sapi/phpdbg/tests/breakpoints_003.phpt - Version 7.1.0    

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

Count Diff
137 (61%)
011+ prompt> Do you really want to restart execution? (type y or n):
012+ Termsig=11
011- prompt> Do you really want to restart execution? (type y or n): 1234
012- [Script ended normally]
013- prompt>
35 (15%)
011+ prompt> Do you really want to restart execution? (type y or n): Segmentation fault
012+
013+ Termsig=11
011- prompt> Do you really want to restart execution? (type y or n): 1234
012- [Script ended normally]
013- prompt>
27 (12%)
011+ prompt> Do you really want to restart execution? (type y or n): Segmentation fault (core dumped)
012+
013+ Termsig=11
011- prompt> Do you really want to restart execution? (type y or n): 1234
012- [Script ended normally]
013- prompt>
14 (6%)
011+ prompt> Do you really want to restart execution? (type y or n):
011- prompt> Do you really want to restart execution? (type y or n): 1234
012- [Script ended normally]
013- prompt>
3 (1%)
2 (1%)
001+
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at %s:4]
003- prompt> [Deleted breakpoint #0]
004- prompt> [Breakpoint #1 added at %s:5]
005- prompt> 12
006- [Breakpoint #1 at %s:5, hits: 1]
007- >00005: echo $i++;
008- 00006: echo $i++;
009- 00007:
010- prompt> [Deleted breakpoint #1]
011- prompt> Do you really want to restart execution? (type y or n): 1234
012- [Script ended normally]
013- prompt>
2 (1%)
011+ prompt> Do you really want to restart execution? (type y or n): Segmentation fault
011- prompt> Do you really want to restart execution? (type y or n): 1234
012- [Script ended normally]
013- prompt>
2 (1%)
011+ prompt> Do you really want to restart execution? (type y or n): Segmentation fault (core dumped)
011- prompt> Do you really want to restart execution? (type y or n): 1234
012- [Script ended normally]
013- prompt>
1 (0%)
011+ prompt> Do you really want to restart execution? (type y or n):
012+ Termsig=0
011- prompt> Do you really want to restart execution? (type y or n): 1234
012- [Script ended normally]
013- prompt>
1 (0%)
011+ prompt> Do you really want to restart execution? (type y or n):
012+ Termsig=7
011- prompt> Do you really want to restart execution? (type y or n): 1234
012- [Script ended normally]
013- prompt>
1 (0%)
013+ prompt>
013- prompt>
014+ =================================================================
015+ ==17567==ERROR: LeakSanitizer: detected memory leaks
016+
017+ Direct leak of 88 byte(s) in 1 object(s) allocated from:
018+ #0 0x4e6360 in calloc /home/fuzzer/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:72:3
019+ #1 0x1d028eb in phpdbg_stack_push (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1d028eb)
020+ #2 0x1c84a0f in phpdbg_parse (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1c84a0f)
021+ #3 0x1c88309 in phpdbg_do_parse (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1c88309)
022+ #4 0x1cac543 in phpdbg_interactive (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1cac543)
023+ #5 0x1c7c28a in main (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1c7c28a)
024+ #6 0x7fdbd0a5d82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
025+
026+ Direct leak of 16 byte(s) in 2 object(s) allocated from:
027+ #0 0x4d288a in strdup /home/fuzzer/llvm/projects/compiler-rt/lib/asan/asan_interceptors.cc:562:3
028+ #1 0x1ce776a in phpdbg_set_prompt (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1ce776a)
029+ #2 0x1c797af in main (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1c797af)
030+ #3 0x7fdbd0a5d82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
031+
032+ SUMMARY: AddressSanitizer: 104 byte(s) leaked in 3 allocation(s).
1 (0%)
013- prompt>