Mail Archives: djgpp/2000/01/12/11:49:34
jazir <entropic AT mpx DOT com DOT au> writes:
> hey everyone,
>
> i decided to upgrade to djgppv2.03, and GCC 2.95.2 in the one hit
>
> bad idea!
>
> cuz now i have no idea which change caused my problems. i have a textfile
> {de}/compression program that i wrote, and it used to work fantastically with
> all kinds of files, even very large ones.
>
> when compiled with my new installation, i get SIGSEGV in the function free()
>
> this even happens when free is called by functions such as fclose(), rather
> then being called by my functions. i don't see any reason for this to be
> happening, and i'm wondering if anyone has some clues for me..?
I'd say there's a good chance your code has a bug that just wasn't
tickled by the old versions. The free crash indicates that it may be
a dynamic allocation problem; you might try a malloc debugger.
There's my YAMD:
http://www3.hmc.edu/~neldredge/yamd/
as well as several others on Simtelnet.
--
Nate Eldredge
neldredge AT hmc DOT edu
- Raw text -