From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: ERROR: Stack overflow from 1.8.6 on HP-UX 11.23/IA, 11.31/IA Date: Tue, 24 Mar 2009 20:50:59 +0000 Message-ID: <87skl2skzw.fsf@arudy.ossau.uklinux.net> References: <20090312214749.GC1138@honinbu.il.thewrittenword.com> <87sklguvny.fsf@arudy.ossau.uklinux.net> <20090316064418.GC13000@songoku.il.thewrittenword.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1237927944 8877 80.91.229.12 (24 Mar 2009 20:52:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Mar 2009 20:52:24 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Mar 24 21:53:42 2009 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LmDcq-0003XT-De for guile-devel@m.gmane.org; Tue, 24 Mar 2009 21:53:32 +0100 Original-Received: from localhost ([127.0.0.1]:40530 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmDbP-0003sx-8J for guile-devel@m.gmane.org; Tue, 24 Mar 2009 16:52:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LmDaV-0002wy-KY for guile-devel@gnu.org; Tue, 24 Mar 2009 16:51:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LmDaQ-0002pA-HV for guile-devel@gnu.org; Tue, 24 Mar 2009 16:51:06 -0400 Original-Received: from [199.232.76.173] (port=33852 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmDaQ-0002ot-Bc for guile-devel@gnu.org; Tue, 24 Mar 2009 16:51:02 -0400 Original-Received: from mail3.uklinux.net ([80.84.72.33]:60822) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LmDaP-0002aO-Vp for guile-devel@gnu.org; Tue, 24 Mar 2009 16:51:02 -0400 Original-Received: from arudy (host86-157-180-39.range86-157.btcentralplus.com [86.157.180.39]) by mail3.uklinux.net (Postfix) with ESMTP id 548B51F69ED for ; Tue, 24 Mar 2009 20:51:01 +0000 (GMT) Original-Received: from arudy.ossau.uklinux.net (arudy [127.0.0.1]) by arudy (Postfix) with ESMTP id 111233801E for ; Tue, 24 Mar 2009 20:50:59 +0000 (GMT) In-Reply-To: <20090316064418.GC13000@songoku.il.thewrittenword.com> (Albert Chin's message of "Mon\, 16 Mar 2009 01\:44\:19 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:8310 Archived-At: Albert Chin writes: >> 1. Do all of the standalone tests fail with a stack overflow, or just >> those two? > > Unknown. Some of the tests fail to dlopen some modules: > ERROR: In procedure dynamic-link: > ERROR: file: "libguile-srfi-srfi-1-v-3", message: "can't open the module" > FAIL: test-require-extension > ... > ERROR: In procedure dynamic-link: > ERROR: file: "libtest-asmobs", message: "can't open the module" > FAIL: test-asmobs > > I haven't looked into why. Looks like not being up to pick up uninstalled libraries. You may like to use strace (or similar) to investigate where the system is looking, and see if there's a way to tell it to look in libguile. (We try to do this with the LTDL_LIBRARY_PATH variable, but perhaps that isn't working on HP-UX?) >> 2. Can you send us your libguile/stack-limit-calibration.scm? > > Attached. OK, so there's a factor of 3 there. Can you try changing the hardcode stack limit in eval.c from 20000 to 60000, and see if that allows the affected tests to pass? If it does, we'll have to find a way of applying the factor in libguile/stack-limit-calibration.scm before Guile starts booting. >> 3. Can you explain what the setting of PTHREAD_CFLAGS is for? > > Because, without it, PTHREAD_CFLAGS is set to: > s["PTHREAD_CFLAGS"]="-D_REENTRANT -mthreads" > which is incorrect. OK, thanks. Neil