Record Case Detail

Notes

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

Stderr

 pwd: /out/package
ppid: 36162
   1: CTRL+C
Scan child pids of ppid: 36162
SIGINT
Send signal 2 to pid: 36162
Scan child pids of ppid: 36163
Send signal 2 to pid: 36163
Scan child pids of ppid: 36165
Send signal 2 to pid: 36165
   2: CTRL+C
Scan child pids of ppid: 36162
SIGINT
Send signal 2 to pid: 36162
Scan child pids of ppid: 36163
Send signal 2 to pid: 36163
Scan child pids of ppid: 36168
Send signal 2 to pid: 36168
exit: 0

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 $ p1m2.c:54:27: runtime error: unsigned integer overflow: 0 - 1 cannot be represented in type 'unsigned long'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior p1m2.c:54:27 in 
p1m2.c:54:4: runtime error: index 18446744073709551615 out of bounds for type 'char [1030]'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior p1m2.c:54:4 in 
p1m2.c:54:4: runtime error: addition of unsigned offset to 0x7ffcea947aa0 overflowed to 0x7ffcea947a9f
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior p1m2.c:54:4 in 
=================================================================
==36164==ERROR: AddressSanitizer: stack-buffer-underflow on address 0x7ffcea947a9f at pc 0x0000005155de bp 0x7ffcea947a70 sp 0x7ffcea947a68
WRITE of size 1 at 0x7ffcea947a9f thread T0
    #0 0x5155dd  (/out/package/mumsh_memory_check+0x5155dd)
    #1 0x7fb3592bfb96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #2 0x41cc69  (/out/package/mumsh_memory_check+0x41cc69)

Address 0x7ffcea947a9f is located in stack of thread T0 at o

JOJ Answer

mumsh $ 
mumsh $ 
mumsh $ exit