From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: Guile HEAD on Cygwin-1.7 Date: Sun, 28 Jun 2009 23:09:37 +0200 Message-ID: References: <4A39EDCD.1070609@ludens.elte.hu> <4A462061.30101@ludens.elte.hu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1246225266 24508 80.91.229.12 (28 Jun 2009 21:41:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Jun 2009 21:41:06 +0000 (UTC) Cc: guile-devel To: szgyg Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Jun 28 23:40:59 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 1ML27N-0001Tr-TX for guile-devel@m.gmane.org; Sun, 28 Jun 2009 23:40:58 +0200 Original-Received: from localhost ([127.0.0.1]:38835 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ML27N-0006eW-9t for guile-devel@m.gmane.org; Sun, 28 Jun 2009 17:40:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ML273-0006Vv-Ud for guile-devel@gnu.org; Sun, 28 Jun 2009 17:40:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ML26y-0006Of-6g for guile-devel@gnu.org; Sun, 28 Jun 2009 17:40:37 -0400 Original-Received: from [199.232.76.173] (port=43576 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ML26x-0006OT-ML for guile-devel@gnu.org; Sun, 28 Jun 2009 17:40:31 -0400 Original-Received: from a-sasl-quonix.sasl.smtp.pobox.com ([208.72.237.25]:43643 helo=sasl.smtp.pobox.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ML26x-0007rc-2M for guile-devel@gnu.org; Sun, 28 Jun 2009 17:40:31 -0400 Original-Received: from localhost.localdomain (unknown [127.0.0.1]) by a-sasl-quonix.sasl.smtp.pobox.com (Postfix) with ESMTP id 8657523F85; Sun, 28 Jun 2009 17:40:27 -0400 (EDT) Original-Received: from unquote (unknown [81.38.191.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-sasl-quonix.sasl.smtp.pobox.com (Postfix) with ESMTPSA id 9BF4F23F84; Sun, 28 Jun 2009 17:40:25 -0400 (EDT) In-Reply-To: <4A462061.30101@ludens.elte.hu> (szgyg@ludens.elte.hu's message of "Sat, 27 Jun 2009 15:36:34 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-Pobox-Relay-ID: 4B7B33C2-642C-11DE-884A-DC021A496417-02397024!a-sasl-quonix.pobox.com X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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:8793 Archived-At: Hi szgyg, On Sat 27 Jun 2009 15:36, szgyg writes: > Andy Wingo wrote: >> On Thu 18 Jun 2009 09:33, szgyg writes: >>> make[2]: Entering directory `/home/szgyg/src/GIT/guile/=build/module' >>> GUILE_AUTO_COMPILE=0 ../meta/uninstalled-env guile-tools compile -o >>> "ice-9/psyntax-pp.go" "../../module/ice-9/psyntax-pp.scm" >>> wrote `ice-9/psyntax-pp.go' >> >> I wonder why it's regenerating psyntax-pp.scm. It shouldn't, psyntax.scm >> should be newer than psyntax-pp.scm. > > Git doesn't preserve timestamps, so either file can be the newer after a > fresh checkout. Ah, I didn't know this. Hmm, this is a problem. Perhaps we need some auxiliary Makefile help to make sure psyntax-pp is seen as fresh after a fresh checkout. > --- T.scm --- > (define *old-stack-level* (and=> (memq 'stack (debug-options)) cadr)) > (debug-set! stack (* 2 *old-stack-level*)) > (display #t) > ------------- > > $ guile -q --debug -s T.scm > > Backtrace: > In ../../module/ice-9/boot-9.scm: > 874: 0* [#] > In unknown file: > ?: 1* [primitive-load "T.scm"] > In ../../module/ice-9/psyntax-pp.scm: > 8216: 2* [# #] > > ERROR: Stack overflow Interesting. Is this the full backtrace? What were your CFLAGS when compiling Guile? > in > commit e33779e3b84b4822b4d51562d7c4f1e65408151d > Date: Thu Jun 25 23:24:57 2009 +0100 > Revert "* FAQ: New file." > > The stack can grow a little, but not so much. Works with the factor 1.3, > but not with 1.4 (*old-stack-level* is 416784). I don't understand -- do you mean to say that T.scm works if "(* 2" is replaced with "(* 1.3"? >>> make[1]: Entering directory `/home/szgyg/src/GIT/guile/=build' >>> make check-TESTS >>> make[2]: Entering directory `/home/szgyg/src/GIT/guile/=build' >>> Testing /home/szgyg/src/GIT/guile/=build/meta/guile ... >>> with GUILE_LOAD_PATH=/home/szgyg/src/GIT/guile/test-suite >>> /bin/sh: line 5: 3944 Segmentation fault (core dumped) ${dir}$tst >>> FAIL: check-guile >> >> To me that looks like a segfault in your shell. Hmm, I guess not ;-) > Program received signal SIGSEGV, Segmentation fault. > [Switching to thread 3544.0xc1c] > 0x6aac70d9 in scm_read_delimited_x (delims=0x100e6400, str=0x102f90a0, > gobble=0x104, port=0x102bd398, start=0x204, end=0x204) > at ../../libguile/inline.h:307 > 307 if (scm_fill_input (port) == EOF) What exactly is segfaulting here? All of the vars look fine, and in your printouts. This seems just to be a problem running Guile, perhaps not specific to the tests. Can you run meta/guile and it works? If not, meta/gdb-uninstalled-guile might be useful. Andy -- http://wingolog.org/