Path: utzoo!attcan!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ncar!ames!pasteur!ucbvax!POSTGRES.BERKELEY.EDU!dillon From: dillon@POSTGRES.BERKELEY.EDU (Matt Dillon) Newsgroups: comp.sys.amiga.tech Subject: LIGHT WEIGHT PROCESSES, ALPHA VERSION, appendum Message-ID: <8812180711.AA23001@postgres.Berkeley.EDU> Date: 18 Dec 88 07:11:33 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 19 Modify the line in lwp.asm that read: add.l #68+8+3,D0 to add.l #92+8+3,D0 The problem is that EXEC pushes state onto the user stack when it switch amiga tasks .. 80 bytes worth. 92 will definately work. This line is in InitLWP() which determines the minimum stack size (that which to add to the user specified size and calculated subroutine stack usage). Otherwise, you will get spurious crashes. I am trying to figure a way to not have to allocate so much 'minimum' stack but it may not be possible. -Matt