Notes
This function is in beta test. Please help improve it in the issues
here.
pwd: /out/package ppid: 20807 1: WRITELN sleep 10 | sleep 10 | sleep 10 | sleep 10 | sleep 10 | sleep 10 | sleep 10 | sleep 10 | sleep 10 | echo 123 2: CTRL+C Scan child pids of ppid: 20807 SIGINT Send signal 2 to pid: 20807 Scan child pids of ppid: 20808 Send signal 2 to pid: 20808 Scan child pids of ppid: 20809 Send signal 2 to pid: 20809 Scan child pids of ppid: 20810 Send signal 2 to pid: 20810 Scan child pids of ppid: 20811 Send signal 2 to pid: 20811 Scan child pids of ppid: 20812 Send signal 2 to pid: 20812 Scan child pids of ppid: 20813 Send signal 2 to pid: 20813 Scan child pids of ppid: 20814 Send signal 2 to pid: 20814 Scan child pids of ppid: 20815 Send signal 2 to pid: 20815 Scan child pids of ppid: 20816 Send signal 2 to pid: 20816 Scan child pids of ppid: 20817 Send signal 2 to pid: 20817 Scan child pids of ppid: 20818 Send signal 2 to pid: 20818 Scan child pids of ppid: 20819 Send signal 2 to pid: 20819 3: CTRL+C Scan child pids of ppid: 20807 SIGINT Send signal 2 to pid: 20807 Scan
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 $ mumsh $ success mumsh $ mumsh $ AddressSanitizer:DEADLYSIGNAL ================================================================= ==20808==ERROR: AddressSanitizer: SEGV on unknown address 0x1001c1f0a668 (pc 0x7f9def91421c bp 0x7ffe0f9554e0 sp 0x7ffe0f94a798 T0) ==20808==The signal is caused by a WRITE memory access. #0 0x7f9def91421b (/lib/x86_64-linux-gnu/libc.so.6+0x18f21b) #1 0x51fff3 (/out/package/mumsh_memory_check+0x51fff3) #2 0x7f9def7a6b96 (/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) ==20808==ABORTING
JOJ Answer
mumsh $ 123 mumsh $ mumsh $ success mumsh $ mumsh $ exit