Record Case Detail

Notes

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

Stderr

 pwd: /out/package
ppid: 20786
   1: WRITELN sleep 10 | echo 123
   2: CTRL+C
Scan child pids of ppid: 20786
SIGINT
Send signal 2 to pid: 20786
Scan child pids of ppid: 20787
Send signal 2 to pid: 20787
Scan child pids of ppid: 20788
Send signal 2 to pid: 20788
Scan child pids of ppid: 20789
Send signal 2 to pid: 20789
Scan child pids of ppid: 20790
Send signal 2 to pid: 20790
   3: WRITELN echo success
   4: 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 $ 123

mumsh $ success
mumsh $ AddressSanitizer:DEADLYSIGNAL
=================================================================
==20787==ERROR: AddressSanitizer: SEGV on unknown address 0x100088804ba4 (pc 0x7f3d460c921c bp 0x7ffc440a7eb0 sp 0x7ffc4409d178 T0)
==20787==The signal is caused by a WRITE memory access.
    #0 0x7f3d460c921b  (/lib/x86_64-linux-gnu/libc.so.6+0x18f21b)
    #1 0x51fff3  (/out/package/mumsh_memory_check+0x51fff3)
    #2 0x7f3d45f5bb96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #3 0x41cc69  (/out/package/mumsh_memory_check+0x41cc69)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0x18f21b) 
==20787==ABORTING

JOJ Answer

mumsh $ 123

mumsh $ success
mumsh $ exit