From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Derek Upham Newsgroups: gmane.lisp.guile.bugs 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 Message-ID: <878t2jpj8z.fsf@priss.frightenedpiglet.com> References: <87pnyx4p2q.fsf@priss.frightenedpiglet.com> <877el36crs.fsf@teapot.weinholt.se> <87woqbyw5a.fsf@netris.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1540649716 11737 195.159.176.226 (27 Oct 2018 14:15:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 27 Oct 2018 14:15:16 +0000 (UTC) User-Agent: mu4e 0.9.17; emacs 27.0.50 Cc: 32367@debbugs.gnu.org, =?UTF-8?Q?G=C3=B6ran?= Weinholt To: Mark H Weaver Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Oct 27 16:15:11 2018 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGPMt-0002rb-4Y for guile-bugs@m.gmane.org; Sat, 27 Oct 2018 16:15:11 +0200 Original-Received: from localhost ([::1]:36694 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGPOu-0006AK-Ff for guile-bugs@m.gmane.org; Sat, 27 Oct 2018 10:17:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43126) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGPOl-0006AE-QA for bug-guile@gnu.org; Sat, 27 Oct 2018 10:17:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gGPOi-0000dT-BH for bug-guile@gnu.org; Sat, 27 Oct 2018 10:17:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41294) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gGPOg-0000cc-FR for bug-guile@gnu.org; Sat, 27 Oct 2018 10:17:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gGPOg-0001zX-6l for bug-guile@gnu.org; Sat, 27 Oct 2018 10:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Derek Upham Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sat, 27 Oct 2018 14:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32367 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 32367-submit@debbugs.gnu.org id=B32367.15406498097621 (code B ref 32367); Sat, 27 Oct 2018 14:17:02 +0000 Original-Received: (at 32367) by debbugs.gnu.org; 27 Oct 2018 14:16:49 +0000 Original-Received: from localhost ([127.0.0.1]:45552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGPOS-0001yr-Rb for submit@debbugs.gnu.org; Sat, 27 Oct 2018 10:16:49 -0400 Original-Received: from mx-ob1.avvanta.com ([206.124.134.83]:49774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGPOQ-0001yh-Rn for 32367@debbugs.gnu.org; Sat, 27 Oct 2018 10:16:47 -0400 Original-Received: from mail.avvanta.com (smtp61.avvanta.com [206.124.128.61]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx-ob1.avvanta.com (Postfix) with ESMTPS id E3A97C0ACC19; Sat, 27 Oct 2018 07:12:17 -0700 (PDT) Original-Received: from mail.avvanta.com (localhost.drteeth.p.blarg.net [127.0.0.1]) by mail.avvanta.com (Postfix) with ESMTP id 1B904F3936; Sat, 27 Oct 2018 07:16:44 -0700 (PDT) Original-Received: from priss.frightenedpiglet.com (c-73-83-45-232.hsd1.wa.comcast.net [73.83.45.232]) by mail.avvanta.com (Postfix) with ESMTP id 048DDF3935; Sat, 27 Oct 2018 07:16:44 -0700 (PDT) Original-Received: from localhost ([127.0.0.1] helo=priss.frightenedpiglet.com) by priss.frightenedpiglet.com with esmtp (Exim 4.91) (envelope-from ) id 1gGPOO-0004Ws-Qq; Sat, 27 Oct 2018 07:16:44 -0700 In-reply-to: <87woqbyw5a.fsf@netris.org> X-BlargAV-Status: No viruses detected, BlargAV v1.1 on localhost.drteeth.p.blarg.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:9246 Archived-At: I=E2=80=99m not having luck with the patch. Current commit is bbe6daa76 (s= table-2.2). Running ./autogen.sh && ./configure --prefix=3D$HOME/guile-2.2 PKG_CONFIG_PATH=3D= /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 (_ #) In ice-9/threads.scm: 390:8 15 (_ _) In ice-9/boot-9.scm: 3171:20 14 (_ #) 2312:4 13 (save-module-excursion #) 3191:26 12 (_) In unknown file: 11 (primitive-load-path "sxml/ssax" #) In ice-9/eval.scm: 721:20 10 (primitive-eval (define-module (sxml ssax) #:use-module (sxm= l 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-modul= e (sxml ssax input-parse) #:use-module (srfi srfi-1) #:use-module (srfi srf= i-13) #:export (# # ?))) _ ?) 1182:24 8 (parse _ (("placeholder" placeholder)) ((top) #(ribcage () (= ) ())) _ e (eval) (hygiene #{ g95}#)) 285:10 7 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) (hy= giene #{ g95}#)) In ice-9/eval.scm: 293:34 6 (_ #) In ice-9/boot-9.scm: 3032:4 5 (define-module* _ #:filename _ #:pure _ #:version _ #:import= s _ #: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 _ #:rename= r _ #: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 writes: > I've attached a preliminary patch to fix this bug. > > Mark --=20 Derek Upham sand@blarg.net