From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <40644F6C.2010605@swtch.com> From: Russ Cox User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031221 Thunderbird/0.4 MIME-Version: 1.0 To: 9fans@cse.psu.edu Subject: Re: [9fans] ports update References: <4063939B.90609@swtch.com> <4uidnZbhYMHKVf7dRVn-tw@comcast.com> In-Reply-To: <4uidnZbhYMHKVf7dRVn-tw@comcast.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 26 Mar 2004 10:42:36 -0500 Topicbox-Message-UUID: 436422ec-eacd-11e9-9e20-41e7f4b1d025 Douglas A. Gwyn wrote: > Russ Cox wrote: > >> The C is now more standard, so much so that it compiles >> under SunOS with their compilers. The resulting programs >> don't stay running for very long, but I've grown to expect >> that from SunOS. > > > Solaris has been very stable in my experience. Most likely you're > doing something like growing the stack without bound, or failing to > close fds in a server, or something of the sort involving differences > between the Plan 9 and Solaris program environments. I suspect it's a stack overflow problem, I just don't know where to look or how. I'm not overflowing the stack on other systems, and I've got 32kB stacks in the program in question, which should be way more than enough. On Linux I can use valgrind to check such things (well, sort of). Russ