From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan Schukat" Newsgroups: gmane.lisp.guile.bugs Subject: bug#14171: REPL doesn't work on windows min-gw Date: Wed, 10 Apr 2013 05:59:10 +0200 (CEST) Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 X-Trace: ger.gmane.org 1365624827 27839 80.91.229.3 (10 Apr 2013 20:13:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Apr 2013 20:13:47 +0000 (UTC) To: 14171@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Apr 10 22:13:51 2013 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UQ1Ou-0002dX-HQ for guile-bugs@m.gmane.org; Wed, 10 Apr 2013 22:13:48 +0200 Original-Received: from localhost ([::1]:55038 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQ1Ou-0008Lm-3p for guile-bugs@m.gmane.org; Wed, 10 Apr 2013 16:13:48 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPmCt-0001ez-Un for bug-guile@gnu.org; Wed, 10 Apr 2013 00:00:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPmCr-0001oG-DC for bug-guile@gnu.org; Wed, 10 Apr 2013 00:00:23 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38689) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPmCr-0001oA-9s for bug-guile@gnu.org; Wed, 10 Apr 2013 00:00:21 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UPmGQ-0002HH-9G for bug-guile@gnu.org; Wed, 10 Apr 2013 00:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Jan Schukat" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Wed, 10 Apr 2013 04:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14171 X-GNU-PR-Package: guile X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13655665878675 (code B ref -1); Wed, 10 Apr 2013 04:04:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Apr 2013 04:03:07 +0000 Original-Received: from localhost ([127.0.0.1]:42797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UPmFX-0002Fs-0S for submit@debbugs.gnu.org; Wed, 10 Apr 2013 00:03:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35300) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UPmFT-0002Fk-O3 for submit@debbugs.gnu.org; Wed, 10 Apr 2013 00:03:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPmBr-0001WT-4x for submit@debbugs.gnu.org; Tue, 09 Apr 2013 23:59:22 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:55138) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPmBr-0001WP-2L for submit@debbugs.gnu.org; Tue, 09 Apr 2013 23:59:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPmBo-0001Qf-E8 for bug-guile@gnu.org; Tue, 09 Apr 2013 23:59:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPmBl-0001Ve-8Z for bug-guile@gnu.org; Tue, 09 Apr 2013 23:59:16 -0400 Original-Received: from mout.web.de ([212.227.17.12]:49792) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPmBk-0001VA-VY for bug-guile@gnu.org; Tue, 09 Apr 2013 23:59:13 -0400 Original-Received: from 3capp-webde-bs22.server.lan ([172.19.170.22]) by mriweb.server.lan (mriweb002) with ESMTPA (Nemesis) id 0M20pB-1UkCNp3WxP-00tkrP for ; Wed, 10 Apr 2013 05:59:10 +0200 Original-Received: from [85.177.94.64] by 3capp-webde-bs22.server.lan with HTTP; Wed Apr 10 05:59:10 CEST 2013 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K0:DZoJGPFkCf4HwnSKyy9n1KsopbbMNDFScMNQtdTm2iW jXK0neYzjhiNoFMsrXWtWBdPMZxVsGDFNp1lKLuhx52aO1mzeB ObXZMhPdFq9ZoS46aLF5nzrYulFoj6UC0CfkXM9P5+9VezmGv8 QukMgMhOUZmVot1gCEXrurCL5hlIcy4VU7dKPwoBC99Ayem7Xq Wf+0V/EZuvycai9VtLrrUuzl8ov6oAK1aftPq/02yDLx5Vkq2A 0sgY9LKMG9xCKnFWztkfrwsKAy8JN4fN9bjMs8S3PsvOwqOc4n 2pcdF9Ts54hYFAqiEBHkKmc6lS2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Wed, 10 Apr 2013 16:13:44 -0400 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7083 Archived-At:
I thought I better start a new bug report, since the old #13848 definitely isn't fitting anymore. I can now build guile-2.0 on windows mingw.
I can even run it. Give it expressions on the command line to evaluate, and it does so.
 
But it can't start the REPL. It just hangs. That's where I am at now, after investigating why I can't run it and it aborted while loading q.scm.
 
I guess I retrace what I have been doing:
 
Using gdb and some added debug output I figured that q.scm is loaded by futures.scm and futures.scm is loaded by threads.scm and threads.scm is loaded by top-repl.scm
So I thought I just --disable-threads. I did, but strangely (provided? 'threads) was still #t and threads was loaded.
So I commented out the line 61-63 in top-repl.scm where the thread module is set up to be loaded.
Now guile.exe hangs at loading null.scm. That was the point when I simply tried to run expressions from the command line with -c and saw that it works.
 
That's when I reconfigured and recompiled again with --disabled-posix and --disable-threads. When I now want to start the guile REPL it exits with a proper backtrace:
 
module: C:/Users/shookie/guiletest/lib/lib/guile/2.0/ccache\ice-9\vlist.go
Backtrace:
In ice-9/boot-9.scm:
 157: 5 [catch #t #<catch-closure 1cec500> ...]
In unknown file:
   ?: 4 [apply-smob/1 #<catch-closure 1cec500>]
In ice-9/boot-9.scm:
  63: 3 [call-with-prompt prompt0 ...]
In ice-9/top-repl.scm:
  78: 2 [#<procedure 223ee50 at ice-9/top-repl.scm:68:5 ()>]
In system/repl/repl.scm:
 138: 1 [start-repl scheme #:debug #f]
In system/repl/common.scm:
 147: 0 [make-repl scheme #f]
system/repl/common.scm:147:25: In procedure make-repl:
system/repl/common.scm:147:25: In procedure module-lookup: Unbound variable: times
 
 
So that's where I'm at. Thought that might be of interest already. When I get to work on it again my next steps will be starting guile with command line expressions loading all different kinds of modules related to to the REPL to see which one does the hanging. If you have any suggestions or hints on how to proceed best, I'd be greateful as well.
 
Regards
 
Jan Schukat