bug#52646: GC thread freeze

Mathieu Othacehe <[email protected]>
Newsgroups gmane.lisp.guile.bugs
Message-ID <[email protected]>
Hey!

> This is happening in this order, right?

Right, plus I don't see the following warning:

--8<---------------cut here---------------start------------->8---
warning: call to primitive-fork while multiple threads are running;
         further behavior unspecified.  See "Processes" in the
         manual, for more information
--8<---------------cut here---------------end--------------->8---

so I guess the issue is elsewhere.

> POSIX leaves unspecified the behavior of a child process forked from a
> multi-threaded process; there could be deadlocks, etc.  ‘primitive-fork’
> prints a warning when called from a multi-threaded Guile process.
>
> The solution is for multi-threaded Guile processes to not fork at all,
> or to fork only via ‘open-pipe*’, ‘system*’, etc., which are “known
> good” (they take care of post-fork handling in the child and call ‘exec’
> before anything bad could happen.)

Thanks for clarifying that anyway.

Mathieu
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.