Path: utzoo!attcan!uunet!samsung!shadooby!mailrus!tut.cis.ohio-state.edu!pt.cs.cmu.edu!rochester!cornell!ken From: ken@gvax.cs.cornell.edu (Ken Birman) Newsgroups: comp.sys.isis Subject: Re: Bugs in interacting with the formatted output conversion functions ? Message-ID: <34504@cornell.UUCP> Date: 21 Nov 89 16:23:52 GMT References: <1989Nov16.221608.29876@oxtrap.aa.ox.com> <34355@cornell.UUCP> Sender: nobody@cornell.UUCP Reply-To: ken@gvax.cs.cornell.edu (Ken Birman) Organization: Cornell Univ. CS Dept, Ithaca NY Lines: 23 In article <1989Nov16.221608.29876@oxtrap.aa.ox.com> tc@oxtrap.aa.ox.com (Tse Chih Chao) writes: >The following small program does not work under isis and it gives the >following output: > ... example of a problem under a MIPS (DEC 3100) version of ISIS I reproduced this problem at Cornell and figured out that it was caused by a minor error in the MIPS port. The problem is that the stack pointer ISIS is using for spawned tasks is not double-word aligned and MIPS turns out to care. To correct this problem, edit the ISIS source file clib/cl_task.c Line 473 currently reads: stackp = (char*)((int)stackp & ~0x3); Change this to: stackp = (char*)((int)stackp & ~0x7); Recompile and your program will run correctly. Ken Birman