Record Case Detail

Notes

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

Stderr

 pwd: /out/package
ppid: 31893
   1: WRITELN head -10 < /dev/urandom | cat > /dev/null
   2: WRITELN exit
exit: 1

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

mumsh $ AddressSanitizer:DEADLYSIGNAL
=================================================================
==31897==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x0000004b209b bp 0x7ffe07b1c2f0 sp 0x7ffe07b1ba60 T0)
==31897==The signal is caused by a READ memory access.
==31897==Hint: address points to the zero page.
AddressSanitizer:DEADLYSIGNAL
=================================================================
==31898==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x0000004b209b bp 0x7ffe07b1c2f0 sp 0x7ffe07b1ba60 T0)
==31898==The signal is caused by a READ memory access.
==31898==Hint: address points to the zero page.
    #0 0x4b209a  (/out/package/mumsh_memory_check+0x4b209a)
    #1 0x515ee1  (/out/package/mumsh_memory_check+0x515ee1)
    #2 0x517525  (/out/package/mumsh_memory_check+0x517525)
    #3 0x51707e  (/out/package/mumsh_memory_check+0x51707e)
    #4 0x517629  (/out/package/mumsh_memory_check+0x517629)
    #5 0x51759d  (/out/package/mumsh_memory_check+0x51

JOJ Answer

mumsh $ mumsh $ exit