Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!purdue!decwrl!ucbvax!CORY.BERKELEY.EDU!dillon From: dillon@CORY.BERKELEY.EDU (Matt Dillon) Newsgroups: comp.sys.amiga.tech Subject: Re: Strange Crashes and SDB Message-ID: <8808301933.AA16947@cory.Berkeley.EDU> Date: 30 Aug 88 19:33:14 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 23 :PutMsg(loaderport,hellomessage); :WaitPort(myport); <- here is where it crashes :reply = GetMsg(myport); : :Any suggestions? : : Thanks.. : John Feiler Well, it isn't enough of a fragment to tell you what is wrong. loaderport must be a pointer to a port, obviously. Same goes for myport. hellomessage must be a pointer to a message. hellomessage must have mn_ReplyPort set to myport if you intend for it to come back to myport. myport must be properly initialized.... ln_Type = NT_PORT, mp_SigBit = signal number, mp_Flags = PA_SIGNAL, mp_SigTask = FindTask(NULL), and the port's list properly initialized: NewList(&myport->MsgList). Did I miss anything? -Matt