Xref: utzoo comp.sys.isis:557 comp.lang.modula3:248 Newsgroups: comp.sys.isis,comp.lang.modula3 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!cornell!ken From: ken@CS.Cornell.EDU (Ken Birman) Subject: Re: Modula-3 and Isis, memory smashes Message-ID: <1991May15.133832.796@cs.cornell.edu> Keywords: Modula-3 Isis Sender: news@cs.cornell.edu (USENET news user) Nntp-Posting-Host: fafnir.cs.cornell.edu Organization: Cornell Univ. CS Dept, Ithaca NY 14853 References: <1991May14.115813.1349@cl.cam.ac.uk> Date: Wed, 15 May 1991 13:38:32 GMT Lines: 31 In article <1991May14.115813.1349@cl.cam.ac.uk> smgf@cl.cam.ac.uk (Steve Freeman) writes: >For reasons best left unspoken, I have been trying to use Isis from >Modula-3. Unfortunately, after O(a couple of hundred) messages I get a >memory smash during Modula-3 (v 1.6) garbage collection. This only seems to >happen when I accept Isis messages - I can, for example, send messages to >another process written in C without difficulty. I know that this is not a >lot to go on, but has anyone got any ideas about places to look? Otherwise, >I guess it's back to C :-\. > This sounds really interesting! I think Modula 3 is a great language and we would be happy to help you get this working if you will post a patch list to comp.sys.isis later so that other can benefit. Offline, how about sending me a short description of how you got the interfaces to work and how the Modula-3 dynamic memory allocator actually works. Perhaps ISIS needs to negotiate with Modula 3 for the memory it allocates, or perhaps some sort of argument passing problem is causing us to misinterpret certain of the arguments passed from Modula 3 into ISIS. A third and forth problem to consider would be that our tasking scheme is a problem (in Modula, we should probably map the ISIS task primitives to the Modula task primitives) or that "varargs" isn't working. Anyhow, I am sure I can figure this out. You seem to have gotten pretty far. -- Kenneth P. Birman E-mail: ken@cs.cornell.edu 4105 Upson Hall, Dept. of Computer Science TEL: 607 255-9199 (office) Cornell University Ithaca, NY 14853 (USA) FAX: 607 255-4428