From: "Lars O. Hansen" Newsgroups: comp.os.msdos.djgpp Subject: Re: problem with malloc and free Date: Sat, 14 Dec 2002 14:41:09 +0100 Organization: 1&1 Internet AG Lines: 16 Message-ID: References: <3DFB3123 DOT 4020902 AT earthlink DOT net> NNTP-Posting-Host: p508383b2.dip0.t-ipconnect.de X-Trace: news.online.de 1039873269 30298 80.131.131.178 (14 Dec 2002 13:41:09 GMT) X-Complaints-To: abuse AT online DOT de NNTP-Posting-Date: 14 Dec 2002 13:41:09 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > When I comment out the allegro calls, add the #inclusion of to > provide the declaration for the variadic function printf (required bt the > standard), and change the #inclusion of "stdlib.h", you code compiles and > runs for me with no problems: no, it still crashes; I only use djgpp; there should not be 2 stdlib.h s. I have also outcommented all allegro calls (+declars +defs) but still crashes. and the traceback is identical to that posted as Re to Richard, _free+77 being the last "call". any further help? Lars