bug#32367: 2.2.4 hangs when a script uses a module that calls sigaction

2018-10-27 Thread Derek Upham
I’m not having luck with the patch. Current commit is bbe6daa76 (stable-2.2). Running ./autogen.sh && ./configure --prefix=$HOME/guile-2.2 PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib64/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig && make clean all install builds clean and I can

bug#32367: 2.2.4 hangs when a script uses a module that calls sigaction

2018-10-21 Thread Mark H Weaver
I've attached a preliminary patch to fix this bug. Mark >From 897a6f76280612e83f48d63430bf962520c0e7b3 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Sun, 21 Oct 2018 09:56:16 -0400 Subject: [PATCH] DRAFT: Fix thread-safe module loading. * module/ice-9/boot-9.scm (%modules-being-loade

bug#32367: 2.2.4 hangs when a script uses a module that calls sigaction

2018-08-22 Thread Mark H Weaver
Hi Derek, Derek Upham writes: > Thanks. I built from 4c91de3e4 and was able to reproduce the problem. > Then I reverted 761cf0fb8c364e885e4c6fced34563f8157c3b84 and I was not > able to reproduce it. Thanks for checking. I've reopened which led to the faulty commit

bug#32367: 2.2.4 hangs when a script uses a module that calls sigaction

2018-08-22 Thread Derek Upham
Thanks. I built from 4c91de3e4 and was able to reproduce the problem. Then I reverted 761cf0fb8c364e885e4c6fced34563f8157c3b84 and I was not able to reproduce it. So it’s probably the signal delivery thread starting in that module, and trying to load another module immediately. This isn’t th

bug#32367: 2.2.4 hangs when a script uses a module that calls sigaction

2018-08-21 Thread Mark H Weaver
I don't have time now for a proper investigation, but this might be related to commit 761cf0fb8c364e885e4c6fced34563f8157c3b84 (Make module autoloading thread-safe). Mark

bug#32367: 2.2.4 hangs when a script uses a module that calls sigaction

2018-08-06 Thread Göran Weinholt
Derek Upham writes: > This is with guile-2.2 (2.2.4+1-1) and guile-2.2-libs (2.2.4+1-1) on > Debian unstable, for the amd64 architecture. ... > > % /usr/bin/guile -s foo > setting SIGCHILD to SIG_DFL... > setting SIGCHILD to SIG_DFL...done Here's a backtrace: GNU gdb (Debian 8.1-4) 8.1 C

bug#32367: 2.2.4 hangs when a script uses a module that calls sigaction

2018-08-04 Thread Derek Upham
This is with guile-2.2 (2.2.4+1-1) and guile-2.2-libs (2.2.4+1-1) on Debian unstable, for the amd64 architecture. Create the following one-line script file: (use-modules (scsh)) Call it (for example) “foo”. Create a file named “scsh.scm” in a location where the above “use-modules” form will