Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!hsdndev!dartvax!eleazar.dartmouth.edu!npw From: npw@eleazar.dartmouth.edu (Nicholas Wilt) Newsgroups: comp.graphics Subject: The Reason DKBTrace Hangs Under Turbo C++ Message-ID: <1991May1.042628.27038@dartvax.dartmouth.edu> Date: 1 May 91 04:26:28 GMT Sender: news@dartvax.dartmouth.edu (The News Manager) Organization: Dartmouth College, Hanover, NH Lines: 11 Originator: npw@eleazar.dartmouth.edu The reason DKB is hanging during malloc() is because Symbol_Table is being freed more than once. Since attempts to free non-allocated memory go unnoticed (without side effects) by most compilers, that is why the problem is isolated to Turbo C++. Try deleting the call free(Symbol_Table) in Terminate_Tokenizer. I am not positive that fixes the problem, but I am sure that the multiple free()s are causing it. --Nick npw@eleazar.dartmouth.edu