GNU bug report logs - #15683
[critical] ERROR: ... close-pipe: pipe not in table

Previous Next

Package: guile;

Reported by: David Pirotte <david <at> altosw.be>

Date: Tue, 22 Oct 2013 16:26:02 UTC

Severity: important

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Mark H Weaver <mhw <at> netris.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#15683: closed ([critical] ERROR: ... close-pipe: pipe not in
 table)
Date: Sat, 23 Nov 2013 23:09:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 23 Nov 2013 18:07:56 -0500
with message-id <87r4a6zpgz.fsf <at> netris.org>
and subject line Re: bug#15683: [critical] ERROR: ... close-pipe: pipe not in table
has caused the debbugs.gnu.org bug report #15683,
regarding [critical] ERROR: ... close-pipe: pipe not in table
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
15683: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15683
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: David Pirotte <david <at> altosw.be>
To: <bug-guile <at> gnu.org>
Subject: [critical] ERROR: ... close-pipe: pipe not in table
Date: Tue, 22 Oct 2013 14:24:43 -0200
Hello guilers,

	GNU Guile 2.0.9.20-10454

[cfr irc chat of October the 17th, 2013]

I am facing a bug that only occurs on extremely powerful servers:

	in ice-9/popen.scm:
	 106: 1 [close-pipe #<input: #{read pipe}# 69>]
	In unknown file:
	 ?: 0 [scm-error misc-error #f "~A" ("close-pipe: pipe not in table") #f]

I can not reproduce the bug on my personal computer [i5, 4 cores], neither on the
lab most powerful server we have [i7 12 cores], but on this customer's server [2
Xeons E5-2687W, 32 cores total], the bug is not random anymore, it _always_ raises, 
which is critical to us.

Thank you for debugging this asap,
Cheers,
David

in case it might help, here is an extract of the code that raises the error.  in this code,
rg-ergbd1 is an octave [heavy] script [that will be called between 1000 to 62000 depending on
other factors...]

...

(define (ergbd path im-name im-type seeds-dir im-ones x y threshold connectivity mutex log-port)
  (with-mutex mutex ;; (write-log-filename (format #f "(~A, ~A) " x y) log-port)
	      (write-log "." log-port))
  (let* ((cmd (format #f "rg-ergbd1 ~A ~A ~A ~A ~A ~A ~A ~A ~A" path im-name im-type seeds-dir im-ones x y threshold connectivity))
	 (s (open-input-pipe cmd))
	 (results (read-line s)))
    (unless (zero? (status:exit-val (close-pipe s)))
      (error "subprocess returned non-zero result code" cmd))
    results))
...
...
	...
	(par-map (lambda (coord)
	       (ergbd target-dir im-cpol-norm-name im-type seeds-dir im-ones (car coord) (cdr coord) threshold connectivity mutex log-port))
	  coords)
	...


[Message part 3 (message/rfc822, inline)]
From: Mark H Weaver <mhw <at> netris.org>
To: David Pirotte <david <at> altosw.be>
Cc: 15683-done <at> debbugs.gnu.org
Subject: Re: bug#15683: [critical] ERROR: ... close-pipe: pipe not in table
Date: Sat, 23 Nov 2013 18:07:56 -0500
Hi David,

David Pirotte <david <at> altosw.be> writes:
> I am facing a bug that only occurs on extremely powerful servers:
>
> 	in ice-9/popen.scm:
> 	 106: 1 [close-pipe #<input: #{read pipe}# 69>]
> 	In unknown file:
> 	 ?: 0 [scm-error misc-error #f "~A" ("close-pipe: pipe not in table") #f]

This bug should now be fixed on the stable-2.0 branch, which will become
Guile 2.0.10.

  http://git.savannah.gnu.org/cgit/guile.git/commit/?h=stable-2.0&id=e7bd20f7d9b2110fdc0fa25db5a2bfe6b2214923

I'm closing this bug now.

     Thanks!
       Mark


This bug report was last modified 11 years and 181 days ago.

Previous Next


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