free() panic
Kwang-Keun Yi
kwang at sp1.csrd.uiuc.edu
Tue Jan 22 19:44:33 AEST 1991
Hi, I think I need a help from you all genius unix hacker on my problem.
I got the following error message from malloc_debug() saying:
"insert: bad block size (-120) at 0x0"
I tracked down the error is caused inside free().
In my program, I use a lot memory management library routines:
malloc(), calloc(), and free(). The problem is NOT because free() tries to
free non (m|c)allocated memory block. Free() definitely tries to free
a block allocated by calloc() before.
Do you have any insight or similar experience before?
I'll be much appreciative for your any helps. Thank you!
--
Kwangkeun Yi Center for Supercomputing R & D
kwang at csrd.uiuc.edu Univ. of Illinois, 305 Talbot Lab
104 S.Wright St, Urbana, IL61801
U.S.A.
UUCP: {uunet,convex}!uiucuxc!csrd!kwang
More information about the Comp.unix.questions
mailing list