Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!silver!tsui From: tsui@silver.bacs.indiana.edu (Yufeng Tsui) Newsgroups: comp.sys.next Subject: trash problem Message-ID: <24911@iuvax.cs.indiana.edu> Date: 23 Aug 89 18:04:05 GMT Reply-To: tsui@silver.bacs.indiana.edu (Yufeng Tsui) Distribution: usa Organization: Indiana University, Bloomington Lines: 13 I had this problem several days ago. I wrote a program on a NeXT machines (use appkit and IB), then I tar'd my directory and ftp'd (binary mode) the file to another NeXT. Though the programs runs on the first machine, it crashed on the second one. It crashes even I recompile the program. I traced it down and found a malloc trashed my memory. I carefully examined my code but did not find anything dangerous. I checked the pointer after malloc everytime. And I even got rid of all the free in my code but malloc still trashes my memory. But that never happens on the first NeXT. And I am puzzled. I am suspecting something wrong with IB because I created the nib file there. Does anyone have similar problem? Thanks. --yufeng