unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Mathieu Othacehe <othacehe@gnu.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 43565@debbugs.gnu.org
Subject: bug#43565: cuirass: Fibers scheduling blocked.
Date: Thu, 19 Nov 2020 11:56:40 +0100	[thread overview]
Message-ID: <87ima1pqc7.fsf@gnu.org> (raw)
In-Reply-To: <87k0v4ax42.fsf@gnu.org> (Mathieu Othacehe's message of "Mon, 02 Nov 2020 11:09:33 +0100")


Hey,

> In cuirass/utils.scm:
>    320:22  1 (_)
> In unknown file:
>            0 (make-stack #t)
> ERROR: In procedure make-stack:
> In procedure struct-vtable: Wrong type argument in position 1 (expecting struct): #f

I think this error is caused by setting:

--8<---------------cut here---------------start------------->8---
  ;; STORE's socket is O_NONBLOCK but since we're
  ;; not in a fiber, disable Fiber's handlers.
  (current-read-waiter #f)
  (current-write-waiter #f)
--8<---------------cut here---------------end--------------->8---

where it should be:

--8<---------------cut here---------------start------------->8---
  ;; STORE's socket is O_NONBLOCK but since we're
  ;; not in a fiber, disable Fiber's handlers.
  (current-read-waiter
   (lambda (port)
     (port-poll port "r")))
  (current-write-waiter
   (lambda (port)
     (port-poll port "w")))
--8<---------------cut here---------------end--------------->8---

then this should also be done in "fetch-inputs" that is using non
blocking ports outside of Fibers.

However, I still have the following error:

--8<---------------cut here---------------start------------->8---
In ice-9/boot-9.scm:
  1731:15 17 (with-exception-handler #<procedure 7fac67194000 at ic…> …)
  1736:10 16 (with-exception-handler _ _ #:unwind? _ # _)
In ice-9/eval.scm:
    619:8 15 (_ #(#(#(#(#<directory (cuirass base) 7fac6b51c…>)) …) …))
In unknown file:
          14 (_ #<procedure 7fac69b10b20 at ice-9/eval.scm:330:13 ()> …)
          13 (partition #<procedure 7fac69b10880 at ice-9/eval.scm:…> …)
In guix/store.scm:
   1008:0 12 (valid-path? #<store-connection 256.99 7fac6b3fd6e0> "/…")
2020-11-19T11:47:23 Failed to compute metric average-eval-build-start-time (1).
   717:11 11 (process-stderr #<store-connection 256.99 7fac6b3fd6e0> _)
In guix/serialization.scm:
    76:12 10 (read-int #<input-output: socket 49>)
In ice-9/suspendable-ports.scm:
   307:17  9 (get-bytevector-n #<input-output: socket 49> 8)
2020-11-19T11:47:23 Failed to compute metric average-eval-build-complete-time (1).
2020-11-19T11:47:23 Failed to compute metric evaluation-completion-speed (1).
   284:18  8 (get-bytevector-n! #<input-output: socket 49> #vu8(0 …) …)
    67:33  7 (read-bytes #<input-output: socket 49> #vu8(0 0 0 0 0 …) …)
In fibers/internal.scm:
    402:6  6 (suspend-current-fiber _)
In ice-9/boot-9.scm:
  1669:16  5 (raise-exception _ #:continuable? _)
  1764:13  4 (_ #<&compound-exception components: (#<&error> #<&orig…>)
In cuirass/utils.scm:
    319:8  3 (_ _ . _)
In ice-9/boot-9.scm:
  1731:15  2 (with-exception-handler #<procedure 7fac683ea300 at ic…> …)
In cuirass/utils.scm:
   320:22  1 (_)
In unknown file:
           0 (make-stack #t)
ERROR: In procedure make-stack:
Attempt to suspend fiber within continuation barrier
--8<---------------cut here---------------end--------------->8---

that originates from "valid-path?" in "restart-builds", not sure how to
fix it yet.

Thanks,

Mathieu




  reply	other threads:[~2020-11-19 10:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-22 16:58 bug#43565: cuirass: Fibers scheduling blocked Mathieu Othacehe
2020-10-05 12:13 ` Ludovic Courtès
2020-10-22 11:55   ` Mathieu Othacehe
2020-10-23 12:21     ` Ludovic Courtès
2020-10-26 14:22       ` Mathieu Othacehe
2020-10-26 16:20         ` Ludovic Courtès
2020-10-27 18:03           ` Mathieu Othacehe
2020-11-02 10:09           ` Mathieu Othacehe
2020-11-19 10:56             ` Mathieu Othacehe [this message]
2020-11-20  8:37               ` 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://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87ima1pqc7.fsf@gnu.org \
    --to=othacehe@gnu.org \
    --cc=43565@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).