From: Mark H Weaver <mhw@netris.org>
To: Matt Wette <matt.wette@gmail.com>
Cc: 32367@debbugs.gnu.org
Subject: bug#32367: sigaction hangs
Date: Sat, 15 Dec 2018 12:50:37 -0500 [thread overview]
Message-ID: <87pnu2adbr.fsf@netris.org> (raw)
In-Reply-To: <e6855271-904a-9f75-87f6-a4448796df32@gmail.com> (Matt Wette's message of "Sat, 15 Dec 2018 08:58:51 -0800")
Hi Matt,
Matt Wette <matt.wette@gmail.com> writes:
> On 12/15/18 8:46 AM, Matt Wette wrote:
>> -s seems to end up using load-in-vicinity: I can re-create this way:
>>
>> mwette$ guile -L `pwd` -c '(load-in-vicinity (getcwd) "foo.scm")'
>> ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
>> ;;; or pass the --no-auto-compile argument to disable.
>> ;;; compiling /home/mwette/proj/guile/bugs-guile/32367/foo.scm
>> setting SIGCHILD to SIG_DFL...
>> ^C
>>
>
> And using `-l' to load scsh.scm fixes the problem:
>
> mwette$ guile -L `pwd` -l scsh.scm -c '(load-in-vicinity (getcwd)
> "foo.scm")'setting SIGCHILD to SIG_DFL...
> setting SIGCHILD to SIG_DFL...done
> ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
> ;;; or pass the --no-auto-compile argument to disable.
> ;;; compiling /home/mwette/proj/guile/bugs-guile/32367/foo.scm
> ;;; compiled
> /home/mwette/.cache/guile/ccache/2.2-LE-8-3.A/home/mwette/proj/guile/bugs-guile/32367/foo.scm.go
> mwette $
>
> An update from 2.2.3 to 2.2.4 adds call-with-module-autoload-lock
> which places a
> mutex around autoload. This looks like one place to start
> digging. See ice-9/threads.scm:
>
> (set! (@ (guile) call-with-module-autoload-lock)
> (let ((mutex (make-mutex 'recursive)))
> (lambda (thunk)
> (with-mutex mutex
> (thunk)))))
It looks like you might have missed some of the messages in this bug
report. See <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32367#11>
and later comments.
Regards,
Mark
prev parent reply other threads:[~2018-12-15 17:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-05 0:47 bug#32367: 2.2.4 hangs when a script uses a module that calls sigaction Derek Upham
2018-08-06 9:54 ` Göran Weinholt
2018-08-21 21:30 ` Mark H Weaver
2018-08-22 13:47 ` Derek Upham
2018-08-23 2:20 ` Mark H Weaver
2018-10-21 18:47 ` Mark H Weaver
2018-10-27 14:16 ` Derek Upham
2018-12-15 16:46 ` bug#32367: sigaction hangs Matt Wette
2018-12-15 16:58 ` Matt Wette
2018-12-15 17:50 ` Mark H Weaver [this message]
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=87pnu2adbr.fsf@netris.org \
--to=mhw@netris.org \
--cc=32367@debbugs.gnu.org \
--cc=matt.wette@gmail.com \
/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).