why glibc detected *** /IDC/IDC/idc: double free or corruption (!prev): 0x60079080 **
when debuging a multi-thread program I encounter the error as follows:
*** glibc detected *** /IDC/IDC/idc: double free or corruption (!prev): 0x60079080 ***
and gdb locate it at free().
I run a sample test in which free() is called twice continiously, "*** glibc detected *** /IDC/IDC/idc: double free or corruption (!fasttop): " will be displayed.
when fclose() is called twice continiously,"double free or corruption (!top):" will be displayed.
but what on earth (!prev): is?
thank you very much in advance.
please excuse me for my not good English.
|