Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!mephisto!utkcs2!brown From: brown@cs.utk.edu (Lance A. Brown) Newsgroups: comp.lang.c++ Subject: Re: turbo C++/malloc probelm Summary: Another Instance of Regerenced Problem Keywords: Turbo C++ Malloc Message-ID: <1990Aug25.162913.3883@cs.utk.edu> Date: 25 Aug 90 16:29:13 GMT References: <32729.26d49b87@vaxb.acs.unt.edu> Organization: University of Tennessee CS Department Lines: 18 I have also experienced this problem, but it happened to me while using the TC++ compiler in "Pure C" mode. I was not using any C++ code at the time. I traced through the malloc code using Turbo Debugger and found that the value of the BX register was not being restored properly at one point. This lead the program into putting the information for the pointed at data structure in the wrong place. It is my feeling that this is NOT a C++ specific bug in the TC++ compiler, and may instead be a bug in the malloc code, or in the compiler in GENERAL. I am planning on verifying this is happening and then talking to the Borland people. Lance A. Brown