Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!asuvax!stjhmc!f30.n114.z1.fidonet.org!jim.nutt From: jim.nutt@f30.n114.z1.fidonet.org (jim nutt) Newsgroups: comp.lang.c++ Subject: Zortech Problem: heap corrupted Message-ID: <24059.26BA6CC2@stjhmc.fidonet.org> Date: 2 Aug 90 08:06:00 GMT Sender: ufgate@stjhmc.fidonet.org (newsout1.26) Organization: FidoNet node 1:114/30 - ??? Bause ??? (1:114/15@fidonet) writes: ?B?> A friend of mine is using Zortech 2.0. He uses hashed search tables ?B?> and ?B?> binary tree search tables. After some insertions into both tables he ?B?> gets ?B?> the error message: heap corrupted. ?B?> Is this is known error of Zortech's C++? it's a known error in your friend's code . heap corrupted means that the heap free list got confused somehow... this can happen any number of ways, of which my favorite is free()ing the same piece of memory twice... or better yet, free()ing (or disposing) a variable that wasn't dynamically allocated in the first place.. jim nutt 'the computer handyman' -- Uucp: ...{gatech,ames,rutgers}!ncar!asuvax!stjhmc!30!jim.nutt Internet: jim.nutt@f30.n114.z1.fidonet.org