unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Roland Orre <orre@nada.kth.se>
Subject: Hanging at open-input-pipe now and then
Date: Fri, 06 Feb 2004 12:01:41 +0100	[thread overview]
Message-ID: <1076065301.2804.191.camel@localhost> (raw)

Lately it happens quite often that I get a hanging (in 1.7), but
breakable, when doing somthing like:

(let* ((in0 (open-input-pipe (string-append "zcat " fname)))
       (buf (read-line in0))
       (in (begin
	     (close-pipe in0)
	     (open-input-pipe (string-append "zcat " fname))))
       )

This hanging can occur rather soon after a restart. When it starts to
happen it will happen again after every 2-20 tries. When the hanging
does not start to happen I can do this several tousand times in a row
without problems.

I haven't investigated this very deeply yet, but just an observation.
The guardian pipe-guardian used in ice-9/popen.scm always have two
reachable pointers after gc, despite the pointers can't be reached.

Anyone else having similar problems?

	Best regards
	Roland Orre




_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


             reply	other threads:[~2004-02-06 11:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-06 11:01 Roland Orre [this message]
2004-02-14 23:55 ` Hanging at open-input-pipe now and then Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1076065301.2804.191.camel@localhost \
    --to=orre@nada.kth.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).