Sample example program to get the malloc consolidate error
问题 I want to test the mcheck functionality on my PC first to detect the malloc consolidate error. This way, i will be sure that this will help to figure out a similar crash on embedded-linux box. Unfortunately, the crash takes atleast 3-4 days. Thus, I am looking for a sample program that will generate the similar kind of crash as shown below. Program terminated with signal 6, Aborted. #0 0x2c73ebb8 in __syscall_kill (pid=900, sig=6) at kill.c:15 15 static inline _syscall2(int, __syscall_kill, _