Record Case Detail

Notes

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

Stderr

 pwd: /out/package
ppid: 21882
   1: WRITELN echo 123 | | grep 123
   2: WRITELN > abc
   3: 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 $ error: missing program
/in/p1.c:436:20: runtime error: null pointer passed as argument 1, which is declared to never be null
/usr/include/unistd.h:582:14: note: nonnull attribute specified here
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /in/p1.c:436:20 in 
AddressSanitizer:DEADLYSIGNAL
=================================================================
==21886==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f752710e510 bp 0x7ffdf6d92380 sp 0x7ffdf6d922f0 T0)
==21886==The signal is caused by a READ memory access.
==21886==Hint: address points to the zero page.
    #0 0x7f752710e50f  (/lib/x86_64-linux-gnu/libc.so.6+0xe550f)
    #1 0x525fe8  (/out/package/mumsh_memory_check+0x525fe8)
    #2 0x528f29  (/out/package/mumsh_memory_check+0x528f29)
    #3 0x529566  (/out/package/mumsh_memory_check+0x529566)
    #4 0x5176c8  (/out/package/mumsh_memory_check+0x5176c8)
    #5 0x515d7f  (/out/package/mumsh_memory_check+0x515d7f)
    #6 0x7f752704ab96  (/lib/x86_64-linux-gnu/libc

JOJ Answer

mumsh $ error: missing program
mumsh $ error: missing program
mumsh $ exit