Record Case Detail

Notes

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

Stderr

 pwd: /out/package
ppid: 77786
   1: WRITELN echo 321 > 1.txt
   2: WRITELN echo 123 > 1.txt
   3: WRITELN cat 1.txt
   4: WRITELN ls
   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

AddressSanitizer:DEADLYSIGNAL
=================================================================
==77789==ERROR: AddressSanitizer: SEGV on unknown address 0x01813fff8001 (pc 0x0000004b277e bp 0x7ffd9f8738b0 sp 0x7ffd9f873020 T0)
==77789==The signal is caused by a READ memory access.
    #0 0x4b277d  (/out/package/mumsh_memory_check+0x4b277d)
    #1 0x5167b4  (/out/package/mumsh_memory_check+0x5167b4)
    #2 0x517797  (/out/package/mumsh_memory_check+0x517797)
    #3 0x517aee  (/out/package/mumsh_memory_check+0x517aee)
    #4 0x7f8725597b96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #5 0x41d229  (/out/package/mumsh_memory_check+0x41d229)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/out/package/mumsh_memory_check+0x4b277d) 
==77789==ABORTING
mumsh $ AddressSanitizer:DEADLYSIGNAL
=================================================================
==77792==ERROR: AddressSanitizer: SEGV on unknown address 0x01813fff8002 (pc 0x0000004b277e bp 0x7ffd9f8738b0 sp 0x7ffd9f873020

JOJ Answer

mumsh $ mumsh $ mumsh $ 123
mumsh $ 1.txt
driver
mumsh
mumsh_memory_check
mumsh $ exit