[comp.sys.next] trash problem

tsui@silver.bacs.indiana.edu (Yufeng Tsui) (08/24/89)

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