From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jack Howarth Newsgroups: gmane.lisp.guile.bugs Subject: bug#24666: converting srfi-18.test to standalone test case for debugging Date: Thu, 20 Oct 2016 13:08:07 -0400 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1476983372 23097 195.159.176.226 (20 Oct 2016 17:09:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 20 Oct 2016 17:09:32 +0000 (UTC) To: 24666@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Oct 20 19:09:28 2016 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 1bxGq7-0003fw-89 for guile-bugs@m.gmane.org; Thu, 20 Oct 2016 19:09:11 +0200 Original-Received: from localhost ([::1]:56224 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxGq9-0004vT-Dp for guile-bugs@m.gmane.org; Thu, 20 Oct 2016 13:09:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxGpz-0004tP-DZ for bug-guile@gnu.org; Thu, 20 Oct 2016 13:09:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxGpy-0002GW-DD for bug-guile@gnu.org; Thu, 20 Oct 2016 13:09:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34651) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bxGpy-0002GO-Aa for bug-guile@gnu.org; Thu, 20 Oct 2016 13:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bxGpy-0007tL-3l for bug-guile@gnu.org; Thu, 20 Oct 2016 13:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jack Howarth Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 20 Oct 2016 17:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24666 X-GNU-PR-Package: guile X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.147698329930284 (code B ref -1); Thu, 20 Oct 2016 17:09:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Oct 2016 17:08:19 +0000 Original-Received: from localhost ([127.0.0.1]:40841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxGpH-0007sN-Fx for submit@debbugs.gnu.org; Thu, 20 Oct 2016 13:08:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43414) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxGpF-0007s8-UJ for submit@debbugs.gnu.org; Thu, 20 Oct 2016 13:08:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxGp9-00024P-PN for submit@debbugs.gnu.org; Thu, 20 Oct 2016 13:08:12 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41725) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bxGp9-00024G-MH for submit@debbugs.gnu.org; Thu, 20 Oct 2016 13:08:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxGp8-0004PA-JC for bug-guile@gnu.org; Thu, 20 Oct 2016 13:08:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxGp7-00022n-F1 for bug-guile@gnu.org; Thu, 20 Oct 2016 13:08:10 -0400 Original-Received: from mail-qk0-x22f.google.com ([2607:f8b0:400d:c09::22f]:36235) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bxGp7-00022L-Ap for bug-guile@gnu.org; Thu, 20 Oct 2016 13:08:09 -0400 Original-Received: by mail-qk0-x22f.google.com with SMTP id o68so106216132qkf.3 for ; Thu, 20 Oct 2016 10:08:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=iiCXV74CT212IhTwBe/7W1IxBcTXT3ZBmc0+c+So8Es=; b=ilwOgu+EZw/6vxR+3sOJvfDltXS7LVZsnSf6tBTjbal7JczLrJc5egCTOKaFzcFqCb 7iWfha+hpZWphqajmd82KDpFJfQvyudsESCkOT3WqTJqz2qwcBB6Jsk/+e0fHuTF0o/u ThscUqCMxyocVo+qs5/QuCm0DsrknoXHz0pVae+sLAcF1GxXPJs3QGtcTAsUpOZAirMn qs/6n8BnqmV378R15wslaQ4Y6IW9Uz8lDOT0kihKmC8AzOtX3vwcs5TdndfHUqvS2PLu lMsdHkqJJONHeCY3R1Nf6aQJl5oWE3h7DPSGNwOlNFZxHAdZj3zhym+qblVRKwmOYsuN c1LA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=iiCXV74CT212IhTwBe/7W1IxBcTXT3ZBmc0+c+So8Es=; b=PYLT2ge4akpeTn0G4J5elNGLmSDRE74xYezoJndKXRQRKkXi4RqIKLoDKGDqvZCyvD E7YuDCm5AtZAWauY4JPH/jmC/3ZXjVYsqZ75YwlsNDLlXkWia4b6vJ6h1I43otXVbkmJ cUa0abfzQyX+DCVxrgSxlnrczOTGFg7Q6WMy9oMrvEyFhXp4V4oRCvGmgCAQ2fik79/p I24YeCdHBiwoTg8cyLUi/5RC+u2VztL+vIX+q+Tcz/2UQTYqCvRvvuliIjCepGfpIqFQ 7Udhf2hbhZoU8KZrKX5t6lgjzCPqBO2Gfbju/VTy/Lg/1JAPkYpcguLZtENuQM11HBia FSsg== X-Gm-Message-State: ABUngvdvUf0CnK1vjlMJZ15jedrBHfofdeKmkwGsYGOgrMPvi5OnU0Jlx3OCuh9wJeKYJIOKG5y9V742WylIrQ== X-Received: by 10.55.197.72 with SMTP id p69mr1319567qki.241.1476983288397; Thu, 20 Oct 2016 10:08:08 -0700 (PDT) Original-Received: by 10.12.137.238 with HTTP; Thu, 20 Oct 2016 10:08:07 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:8432 Archived-At: I finally puzzled out how to run the srfi-18.test failing test case as a stand alone one with... cd /opt/local/var/macports/build/_Users_howarth_ports_lang_guile/guile/work/guile-2.0.13/test-suite setenv GUILE_LOAD_PATH /opt/local/var/macports/build/_Users_howarth_ports_lang_guile/guile/work/guile-2.0.13/test-suite setenv TEST_SUITE_DIR /opt/local/var/macports/build/_Users_howarth_ports_lang_guile/guile/work/guile-2.0.13/test-suite/tests /opt/local/bin/guile -e main -s guile-test srfi-18.test Running srfi-18.test FAIL: srfi-18.test: thread-terminate!: termination destroys non-started thread FAIL: srfi-18.test: thread-terminate!: termination destroys started thread Totals for this test run: passes: 59 failures: 2 unexpected passes: 0 expected failures: 0 unresolved test cases: 0 untested test cases: 0 unsupported test cases: 0 errors: 0 While the comments in guile-test mentioned the requirement for setting TEST_SUITE_DIR, it is missing any discussion of the need to set GUILE_LOAD_PATH as well. That should be added. On Tue, Oct 11, 2016 at 8:55 AM, Jack Howarth wrote: > Does anyone know how to convert the srfi-18.test test case into a > standalone one that can be debugged in lldb or gdb? On darwin15, I > have confirmed that the thread-local-storage support is causing the > failures of... > > FAIL: srfi-18.test: thread-terminate!: termination destroys non-started thread > FAIL: srfi-18.test: thread-terminate!: termination destroys started thread > > and that passing configure 'ac_cv_have_thread_storage_class=no' to > configure when building guile 2.0.12 suppresses these failures. > I've opened a radar bug report with Apple, radar:// 2868809 "guile > 2.0.12 exposes potential thread-local-storage bug on Mac OS X", but > still need to add a stand-alone test case derived from srfi-18.test > that can be debugged in lldb. > Jack