GlibC Double free or corruption (fclose)

前端 未结 1 1334
隐瞒了意图╮
隐瞒了意图╮ 2021-01-26 11:50

I got an error on my C program on runtime. I found some stuff about \"double free or corruption\" error but nothing relevant.

Here is my code :

void comp         


        
1条回答
  •  醉酒成梦
    2021-01-26 12:00

    *** glibc detected *** ./crc32: double free or corruption

    Glibc is telling you that you've corrupted heap.

    The tools to find such corruption on Linux are Valgrind and AddressSanitizer.

    Chances are, either one of them will immediately tell you what your problem is.

    0 讨论(0)
提交回复
热议问题