Record Case Detail

Notes

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

Stderr

 pwd: /out/package
ppid: 5128
   1: WRITELN > abc | | grep 123
   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 $ /in/Calls.c:155:22: 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
/in/Calls.c:155:22: 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/Calls.c:155:22 in 
AddressSanitizer:DEADLYSIGNAL
=================================================================
==5131==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7faace6724b0 bp 0x7ffda101c530 sp 0x7ffda101c4a0 T0)
==5131==The signal is caused by a READ memory access.
==5131==Hint: address points to the zero page.
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /in/Calls.c:155:22 in 
AddressSanitizer:DEADLYSIGNAL
=================================================================
==5132==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7faace67

JOJ Answer

mumsh $ error: missing program
mumsh $ exit