Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr

ASAN:DEADLYSIGNAL
=================================================================
==47920==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000008 (pc 0x7f9ef2377394 bp 0x000000000000 sp 0x7ffdd1765360 T0)
==47920==The signal is caused by a READ memory access.
==47920==Hint: address points to the zero page.
    #0 0x7f9ef2377393 in fclose (/lib/x86_64-linux-gnu/libc.so.6+0x7e393)
    #1 0x7f9ef3886e20 in __interceptor_fclose (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdde20)
    #2 0x55d851d91d98 in main (/out/package/lab4+0x4d98)
    #3 0x7f9ef231ab96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #4 0x55d851d92459 in _start (/out/package/lab4+0x5459)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0x7e393) in fclose
==47920==ABORTING

Hints

Your answer may be identical to the JOJ answer in the first several lines.

However, the main problem you meet now is Runtime Error. And the exit code of your program is 1, which should be 0.

Please double check your code to solve this problem and try again.

Your Answer


        

JOJ Answer

Hello world! This is VG101, ha ji me ma si te, dou zo yo ro si ku o ne ga yi si ma su!
Hello everyone, my name is Lu Haorong
Wu shuyu
Wang ruiyi.
My name can also be Ruiyi Wang
Shuyu Wu
Haorong Lu.
  Nice  TO   MEET    You!
Some
numbers:
-1
 0
 1
 2
 3
 4
 5
 ...
 10000
Fine!
--------------------------------
 *** Enjoy this tough lab4! ***