From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Date: Tue, 6 Sep 2011 18:30:50 -0400 Message-ID: From: Comeau At9Fans To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=0016e6d262304082ac04ac4d61a1 Subject: [9fans] Plan 9 stack limit? Topicbox-Message-UUID: 1aabd35e-ead7-11e9-9d60-3106f5b1d025 --0016e6d262304082ac04ac4d61a1 Content-Type: text/plain; charset=ISO-8859-1 I have an application that is crashing on Plan 9. Now, it could be a bug in the code, but in the past, similar problems with the same code base on other platforms have always been caused by the system stack being blown out, and in a less rare case, the systems running out of process space. The crashes are happening on 9vx.OSX (which is currently the only place it can be tested on our systems). Does 9vx have any such limitations and/or does Plan 9 in general have any such limits? And if so, can they be changed? I see some of the threading calls have stack size requests possible, but don't see any such concerns as a consequence of a fork, though I'm sure fork is semantically equivalent to some other calls when all is said and done. Like I said, it could be a bug in the code, but I'd like to approach it from this level first assuming there is any such interaction that even exists so any insights would be appreciated. -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE ==> http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C++ with Dinkumware's Libraries... Have you tried it? --0016e6d262304082ac04ac4d61a1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

I have= an application that is crashing on Plan 9.=A0 Now, it could be a bug in th= e code, but in the past, similar problems with the same code base on other = platforms have always been caused by the system stack being blown out, and = in a less rare case, the systems running out of process space.=A0 The crash= es are happening on 9vx.OSX (which is currently the only place it can be te= sted on our systems). =A0 Does 9vx have any such limitations and/or does Pl= an 9 in general have any such limits? =A0And if so, can they be changed?=A0= =A0 I see some of the threading calls have stack size requests possible, bu= t don't see any such concerns as a consequence of a fork, though I'= m sure fork is semantically equivalent to some other calls when all is said= and done. =A0 Like I said, it could be a bug in the code, but I'd like= to approach it from this level first assuming there is any such interactio= n that even exists so any insights would be appreciated.


--
Greg Comeau / 4.3.10.1 with C++0xisms now in bet= a!
Comeau C/C++ ONLINE =3D=3D> =A0 =A0 http://www.comeaucomputing.c= om/tryitout
World Class Compilers: =A0Breathtaking C++, Amazing C99, Fabulous C90.=
Comeau C/C++ with Dinkumware's Libraries... Have you tried i= t?

--0016e6d262304082ac04ac4d61a1--