unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Derek Upham <sand@blarg.net>
To: Mark H Weaver <mhw@netris.org>
Cc: 32367@debbugs.gnu.org, "Göran Weinholt" <goran@weinholt.se>
Subject: bug#32367: 2.2.4 hangs when a script uses a module that calls sigaction
Date: Sat, 27 Oct 2018 07:16:44 -0700	[thread overview]
Message-ID: <878t2jpj8z.fsf@priss.frightenedpiglet.com> (raw)
In-Reply-To: <87woqbyw5a.fsf@netris.org>

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 repro the problem with

  $HOME/guile-2.2/bin/guile -s ../signal-test

The patch applies cleanly, but then the same build commands fail:

    GUILEC sxml/apply-templates.go
  Backtrace:
  In ice-9/boot-9.scm:
     222:17 19 (map1 (((sxml ssax)) ((sxml xpath) #:hide (filter))))
    2958:17 18 (resolve-interface (sxml ssax) #:select _ #:hide _ #:prefix _ #:renamer _ #:version _)
  In ice-9/threads.scm:
      390:8 17 (_ _)
  In ice-9/boot-9.scm:
    2881:28 16 (_ #<mutex 559a33ee4f80>)
  In ice-9/threads.scm:
      390:8 15 (_ _)
  In ice-9/boot-9.scm:
    3171:20 14 (_ #<mutex 559a33ee4f80>)
     2312:4 13 (save-module-excursion #<procedure 559a3417a360 at ice-9/boot-9.scm:3172:21 ()>)
    3191:26 12 (_)
  In unknown file:
            11 (primitive-load-path "sxml/ssax" #<procedure 559a33dc3c60 at ice-9/boot-9.scm:3178:37 ()>)
  In ice-9/eval.scm:
     721:20 10 (primitive-eval (define-module (sxml ssax) #:use-module (sxml ssax input-parse) #:use-module (srfi srfi-1) #:use-module (srfi srfi-13) #:export (# # # # # # ?)))
  In ice-9/psyntax.scm:
    1235:36  9 (expand-top-sequence ((define-module (sxml ssax) #:use-module (sxml ssax input-parse) #:use-module (srfi srfi-1) #:use-module (srfi srfi-13) #:export (# # ?))) _ ?)
    1182:24  8 (parse _ (("placeholder" placeholder)) ((top) #(ribcage () () ())) _ e (eval) (hygiene #{ g95}#))
     285:10  7 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) (hygiene #{ g95}#))
  In ice-9/eval.scm:
     293:34  6 (_ #<module (#{ g95}#) 559a34125000>)
  In ice-9/boot-9.scm:
     3032:4  5 (define-module* _ #:filename _ #:pure _ #:version _ #:imports _ #:exports _ #:replacements _ #:re-exports _ #:autoloads _ #:duplicates _ #:transformer _)
    3045:24  4 (_)
     222:17  3 (map1 (((sxml ssax input-parse)) ((srfi srfi-1)) ((srfi srfi-13))))
     2961:6  2 (resolve-interface _ #:select _ #:hide _ #:prefix _ #:renamer _ #:version _)
  In unknown file:
             1 (scm-error misc-error #f "~A ~S" ("no code for module" (sxml ssax input-parse)) #f)
  In ice-9/boot-9.scm:
     752:25  0 (dispatch-exception _ _ _)

  ice-9/boot-9.scm:752:25: In procedure dispatch-exception:
  no code for module (sxml ssax input-parse)


Mark H Weaver <mhw@netris.org> writes:

> I've attached a preliminary patch to fix this bug.
>
>       Mark


-- 
Derek Upham
sand@blarg.net





  reply	other threads:[~2018-10-27 14:16 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 [this message]
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

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=878t2jpj8z.fsf@priss.frightenedpiglet.com \
    --to=sand@blarg.net \
    --cc=32367@debbugs.gnu.org \
    --cc=goran@weinholt.se \
    --cc=mhw@netris.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.
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).