From: Nate Eldredge Newsgroups: comp.os.msdos.djgpp Subject: Re: upgrade chaos Date: 12 Jan 2000 01:03:24 -0800 Organization: InterWorld Communications Lines: 31 Message-ID: <83g0w3y84j.fsf@mercury.st.hmc.edu> References: <387B38E0 DOT 1047EF30 AT mpx DOT com DOT au> NNTP-Posting-Host: mercury.st.hmc.edu X-Trace: nntp1.interworld.net 947667766 54024 134.173.45.219 (12 Jan 2000 09:02:46 GMT) X-Complaints-To: usenet AT nntp1 DOT interworld DOT net NNTP-Posting-Date: 12 Jan 2000 09:02:46 GMT X-Newsreader: Gnus v5.7/Emacs 20.4 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com jazir 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