in free(): error: junk pointer, too high to make sense Segmentation fault: 11 (core dumped) gprof
- by Mayank
I am trying to profile my application. For this I compiled my code with -pg and -lc_p option, it compiled successfully
During run time I am getting the following error.
in free(): error: junk pointer, too high to make sense
Segmentation fault: 11 (core dumped)
Doing GDB gives error as.
(gdb) b main
Breakpoint 1 at 0x5124d4:
(gdb) r
warning:…