all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Attila Lendvai <attila@lendvai.name>
To: Attila Lendvai <attila@lendvai.name>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: shepherd, fibers, and signals (asyncs)
Date: Sun, 17 Dec 2023 00:59:07 +0000	[thread overview]
Message-ID: <QfEFARE4f1FiTtkUmDOaYg5W5Mn1sol1DN9VmWdzQpm2j8qdG-jIP1Hzn3Etwq_VIK9ZnjqmzFRlV8iStzWLKFJGJvi-U098XApfjsDYoJA=@lendvai.name> (raw)
In-Reply-To: <hCJrvNrwbTiY4KXyZlMS9SgA51rWy927Vv4eFsgBRy_Ll_LQX8e4s6VNjovaVWTn8TKFXG1-6EffJHlbYjKzdb_AuAoNxVqyJ8DYIa9axC0=@lendvai.name>

@emixa-d kindly proposed something that turned out to be a fix:

https://github.com/wingo/fibers/issues/29#issuecomment-1858922276

i've sent it to:

shepherd: sometimes hangs on `guix system reconfigure`
https://issues.guix.gnu.org/67839#6

in essence:

shepherd violates the fibers API by calling it from an async signal handler, and this is an issue indeed, but the bugs caused by this should manifest rarely and randomly; i.e. the frozen recofigure behavior must be caused by something else.

the actual root cause here was that the with-process-monitor parameterize was not covering some code that it should have.

-- 
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“I am not what happened to me, I am what I choose to become.”
	— Carl Jung (1875–1961)



  reply	other threads:[~2023-12-17  1:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-15 22:03 shepherd, fibers, and signals (asyncs) Attila Lendvai
2023-12-17  0:59 ` Attila Lendvai [this message]
2024-01-09 19:29 ` 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

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

  git send-email \
    --in-reply-to='QfEFARE4f1FiTtkUmDOaYg5W5Mn1sol1DN9VmWdzQpm2j8qdG-jIP1Hzn3Etwq_VIK9ZnjqmzFRlV8iStzWLKFJGJvi-U098XApfjsDYoJA=@lendvai.name' \
    --to=attila@lendvai.name \
    --cc=guix-devel@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.