Path: utzoo!attcan!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.soft-sys.andrew Subject: Andrew "malloc" on SPARC doesn't work Message-ID: <2670@auspex.auspex.com> Date: 25 Nov 89 00:19:22 GMT Reply-To: guy@auspex.auspex.com (Guy Harris) Organization: Auspex Systems, Santa Clara Lines: 17 After the fix I posted earlier is applied so that the new Andrew "malloc" detects that it's being built for a SPARC and aligns blocks on 8-byte boundaries, nothing seems to work; applications drop core shortly after they're started up. It happens while they're doing static loads; part of the data structure pointed to by ClassList is overwritten by some data from an "index" file (possibly "/usr/andrew/dlib/atk/index"). The overwritten part was OK before the explosion (I'd stuck in code to call "class_DumpAllClassInfo to "stdout" at the end of "class_EnterInfo"). If I put the old version of "imalloc.h" back, so that it doesn't notice it's being built for a SPARC, this doesn't happen (although, of course, "malloc"ed blocks don't get put on 8-byte boundaries, so "malloc"ed blocks,including commons from ".do" files, that contain "double"s cause bus errors). I haven't investigated any further.