Record Case Detail

Notes

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

Stderr

 pwd: /out/package
ppid: 27762
   1: WRITELN /bin/ls &
   2: WRITELN sleep 0.2
   3: WRITELN /bin/ls | cat &
   4: WRITELN sleep 0.2
   5: 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
=================================================================
==27764==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x000000428643 bp 0x7ffd83631d30 sp 0x7ffd83631ce0 T0)
==27764==The signal is caused by a READ memory access.
==27764==Hint: address points to the zero page.
/bin/ls: cannot access '&': No such file or directory
AddressSanitizer:DEADLYSIGNAL
=================================================================
==27763==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x000000428643 bp 0x7ffd83631d30 sp 0x7ffd83631ce0 T0)
==27763==The signal is caused by a READ memory access.
==27763==Hint: address points to the zero page.
    #0 0x428642  (/out/package/mumsh_memory_check+0x428642)
    #1 0x4dcdfa  (/out/package/mumsh_memory_check+0x4dcdfa)
    #2 0x525e44  (/out/package/mumsh_memory_check+0x525e44)
    #3 0x525254  (/out/package/mumsh_memory_check+0x525254)
    #4 0x515fa0  (/out/package/mumsh_memory_check+0x515fa0)

JOJ Answer

mumsh $ [1] /bin/ls &
mumsh $ driver
mumsh
mumsh_memory_check
mumsh $ [2] /bin/ls | cat &
mumsh $ driver
mumsh
mumsh_memory_check
mumsh $ exit