Path: utzoo!mnetor!uunet!husc6!bbn!uwmcsd1!marque!gryphon!sarima From: sarima@gryphon.CTS.COM (Stan Friesen) Newsgroups: comp.lang.c Subject: Dynamic Memory Allocation Problems? Message-ID: <3112@gryphon.CTS.COM> Date: 3 Apr 88 21:16:12 GMT References: <12694@brl-adm.ARPA> Reply-To: sarima@gryphon.CTS.COM (Stan Friesen) Organization: Trailing Edge Technology, Redondo Beach, CA Lines: 10 I am having my own problems with a program using dynamic memory allocation. The problem is very strange. The program passes lint, and compiles and executes correctly on a M68000 based UNIX box, but when I compile it using the Lattice C compiler on my XT-clone and attempt to run it, it scribbles all over the screen and crashes DOS. I have carefully checked all my subscripting, at least as far as possible. Any ideas? Oh, by the way, the program also uses floating point extensively. I rather suspect the problem may be there rather than with the malloc(). But then I really don't know.