Record Case Detail

Notes

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

Stderr

 pwd: /out/package
ppid: 19593
   1: WRITELN echo abc > /dev/permission_denied
   2: WRITELN exit

Hints

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

However, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.

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

Your Answer

mumsh $ AddressSanitizer:DEADLYSIGNAL
=================================================================
==19595==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7fe902163254 bp 0x7ffd76cd3430 sp 0x7ffd76cd3400 T0)
==19595==The signal is caused by a READ memory access.
==19595==Hint: address points to the zero page.
    #0 0x7fe902163253  (/lib/x86_64-linux-gnu/libc.so.6+0x7e253)
    #1 0x4dbc3d  (/out/package/mumsh_memory_check+0x4dbc3d)
    #2 0x51ea48  (/out/package/mumsh_memory_check+0x51ea48)
    #3 0x51c985  (/out/package/mumsh_memory_check+0x51c985)
    #4 0x51b872  (/out/package/mumsh_memory_check+0x51b872)
    #5 0x5170d5  (/out/package/mumsh_memory_check+0x5170d5)
    #6 0x7fe902106b96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #7 0x41d4b9  (/out/package/mumsh_memory_check+0x41d4b9)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0x7e253) 
==19595==ABORTING
error: Fork error

JOJ Answer

mumsh $ /dev/permission_denied: Permission denied
mumsh $ exit