GNU bug report logs - #19354
(spawn-server (make-tcp-server-socket doesn't work in current git

Previous Next

Package: guile;

Reported by: linasvepstas <at> gmail.com

Date: Fri, 12 Dec 2014 01:05:01 UTC

Severity: normal

Done: Mark H Weaver <mhw <at> netris.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 19354-done <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: Linas Vepstas <linasvepstas <at> gmail.com>
Cc: 19354-done <at> debbugs.gnu.org
Subject: Re: bug#19354: (spawn-server (make-tcp-server-socket doesn't work in
 current git
Date: Sun, 14 Dec 2014 10:34:45 -0500
Linas Vepstas <linasvepstas <at> gmail.com> writes:

> scheme@(guile-user)> (spawn-server (make-tcp-server-socket #:port
> 1661))
> $1 = #<thread 140551788197632 (1e8c800)>
> scheme@(guile-user)> 
>
> then in another terminal:
> $ telnet localhost 1661
[...]
> scheme@(guile-user)> (+ 2 2)
> While compiling expression:
> ERROR: In procedure string->utf8: Wrong type argument in position 1
> (expecting string): socket

The problem here is that (port-filename <socket>) returns the symbol
'socket', whereas our assembler assumed that any non-#f filename stored
in the source properties was a string.

Fixed in 015c3c08af2064145d423cef0d94f04069c3e87e.

    Thanks!
      Mark




This bug report was last modified 10 years and 163 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.