From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Han-Wen Newsgroups: gmane.lisp.guile.devel Subject: Re: any news on 1.6 yet? Date: Tue, 2 Jul 2002 02:10:59 +0200 Sender: guile-devel-admin@gnu.org Message-ID: <15648.61331.590080.201030@blauw.xs4all.nl> References: <15648.13489.975604.112162@meddo.cs.uu.nl> <87fzz3b003.fsf@raven.i.defaultvalue.org> Reply-To: hanwen@cs.uu.nl NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1025568586 7885 127.0.0.1 (2 Jul 2002 00:09:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 2 Jul 2002 00:09:46 +0000 (UTC) Cc: jantien@xs4all.nl, guile-devel@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17PBEo-000234-00 for ; Tue, 02 Jul 2002 02:09:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17PBE7-0008WO-00; Mon, 01 Jul 2002 20:09:03 -0400 Original-Received: from smtpzilla1.xs4all.nl ([194.109.127.137]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17PBDM-0008SD-00 for ; Mon, 01 Jul 2002 20:08:17 -0400 Original-Received: from blauw.xs4all.nl (blauw.xs4all.nl [213.84.26.127]) by smtpzilla1.xs4all.nl (8.12.0/8.12.0) with ESMTP id g6208DN1079241; Tue, 2 Jul 2002 02:08:13 +0200 (CEST) Original-To: Rob Browning In-Reply-To: <87fzz3b003.fsf@raven.i.defaultvalue.org> X-Mailer: VM 7.05 under Emacs 21.2.1 Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:729 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:729 rlb@defaultvalue.org writes: > > Can someone puleaze put in the following remark into the GUILE > > documentation? > > > > > > Be warned that the thread library (pthreads) will impose a 512k > > limit on the stack size, when compiling GUILE with thread > > support. > > > > We spent a _long_ time being flabbergasted at why our program dumped > > core on perfectly valid data and innocent instructions. > > Wow, that's annoying -- do you know if this is an arch dependency, OS > dependency, etc? You're f*cked once you link with libpthreads (I could produce a crash linking to guile --without-threads and libpthreads). Apparently the thread package does include some functions to set the stackspace, but those must be called before a thread is spawned. I know zilch about threads, so I don't know the details behind this. We managed to get the stack usage of our functions and GC mark functions down (which is probably a good idea performance wise), but it was annoying nevertheless. -- Han-Wen Nienhuys | hanwen@cs.uu.nl | http://www.cs.uu.nl/~hanwen _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel