Record Case Detail

Notes

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

Stderr

 pwd: /out/package
ppid: 77894
   1: WRITELN mkdir test
   2: WRITELN cd test
   3: WRITELN pwd
   4: WRITELN cd -
   5: WRITELN pwd
   6: WRITELN rmdir test
   7: 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 $ mumsh $ mumsh $ /out/package/test
mumsh $ AddressSanitizer:DEADLYSIGNAL
=================================================================
==77895==ERROR: AddressSanitizer: SEGV on unknown address 0x000000547f90 (pc 0x000000428703 bp 0x7ffcfbfe84a0 sp 0x7ffcfbfe8450 T0)
==77895==The signal is caused by a WRITE memory access.
    #0 0x428702  (/out/package/mumsh_memory_check+0x428702)
    #1 0x4dceba  (/out/package/mumsh_memory_check+0x4dceba)
    #2 0x524fde  (/out/package/mumsh_memory_check+0x524fde)
    #3 0x524af7  (/out/package/mumsh_memory_check+0x524af7)
    #4 0x524e2a  (/out/package/mumsh_memory_check+0x524e2a)
    #5 0x7fe0fa1fdb96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #6 0x41d1f9  (/out/package/mumsh_memory_check+0x41d1f9)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/out/package/mumsh_memory_check+0x428702) 
==77895==ABORTING

JOJ Answer

mumsh $ mumsh $ mumsh $ /out/package/test
mumsh $ mumsh $ /out/package
mumsh $ mumsh $ exit