Record Case Detail

Notes

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

Stderr

 pwd: /out/package
ppid: 5136
   1: CTRL+C
Scan child pids of ppid: 5136
SIGINT
Send signal 2 to pid: 5136
Scan child pids of ppid: 5137
Send signal 2 to pid: 5137
Scan child pids of ppid: 5138
Send signal 2 to pid: 5138
   2: CTRL+C
Scan child pids of ppid: 5136
SIGINT
Send signal 2 to pid: 5136
Scan child pids of ppid: 5137
Send signal 2 to pid: 5137
Scan child pids of ppid: 5141
Send signal 2 to pid: 5141
exit: 1

Hints

Your answer may be identical to the JOJ answer in the first several lines.

However, the main problem you meet now is Runtime Error. And the exit code of your program is 1, which should be 0.

Please double check your code to solve this problem and try again.

Your Answer

mumsh $ 
mumsh $ 
=================================================================
==5137==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 1024 byte(s) in 1 object(s) allocated from:
    #0 0x4dd288  (/out/package/mumsh_memory_check+0x4dd288)
    #1 0x517ad0  (/out/package/mumsh_memory_check+0x517ad0)
    #2 0x7f3e583a1b96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

SUMMARY: AddressSanitizer: 1024 byte(s) leaked in 1 allocation(s).

JOJ Answer

mumsh $ 
mumsh $ 
mumsh $ exit