From unknown Fri Aug 15 14:15:10 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#24666 <24666@debbugs.gnu.org> To: bug#24666 <24666@debbugs.gnu.org> Subject: Status: converting srfi-18.test to standalone test case for debugging Reply-To: bug#24666 <24666@debbugs.gnu.org> Date: Fri, 15 Aug 2025 21:15:10 +0000 retitle 24666 converting srfi-18.test to standalone test case for debugging reassign 24666 guile submitter 24666 Jack Howarth severity 24666 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 11 08:55:20 2016 Received: (at submit) by debbugs.gnu.org; 11 Oct 2016 12:55:20 +0000 Received: from localhost ([127.0.0.1]:51838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btwaV-00011n-My for submit@debbugs.gnu.org; Tue, 11 Oct 2016 08:55:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39243) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btwaT-00011a-Sn for submit@debbugs.gnu.org; Tue, 11 Oct 2016 08:55:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btwaN-0004Nr-PN for submit@debbugs.gnu.org; Tue, 11 Oct 2016 08:55:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btwaN-0004N6-M0 for submit@debbugs.gnu.org; Tue, 11 Oct 2016 08:55:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btwaL-0002Y9-6a for bug-guile@gnu.org; Tue, 11 Oct 2016 08:55:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btwaJ-0004JO-Kn for bug-guile@gnu.org; Tue, 11 Oct 2016 08:55:08 -0400 Received: from mail-qk0-x230.google.com ([2607:f8b0:400d:c09::230]:36779) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btwaJ-0004Io-Gw for bug-guile@gnu.org; Tue, 11 Oct 2016 08:55:07 -0400 Received: by mail-qk0-x230.google.com with SMTP id o68so32029645qkf.3 for ; Tue, 11 Oct 2016 05:55:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=P218eY5aotgCQibDaXwEbHxJOa5QBDbNFI22fT6TWIc=; b=UmBj3hJ/D9EvipxhLshuJmLnZnNJsIA2sjxlgYs5mY+sWpW0ffrXQmlsc207m/HSoe b0coPIkdNS99vQgZOT8U3JyFjQv1ay2GqxpLHE65DjLMqmCFPb5Y/NzvjTljpnP2qFPw L2u16JaFzgXo/bbreYJjfM0u7H2tKIIV2CTbKbgjVJI+t5IrA4xtixbfAC6r38EF0M+a hTqwHkfQEom2VwoZhjX4pK18BUytqGFDnSNyi+1aNbqZK2NGyA6MVZyRsJ+133uXTQEp s8Z1rTvJ5b0meY5RCjxcJwpSwr/89ytz7caxkHU26ArYsocZcmUF4ZS9/Opshhnoac7i BdMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=P218eY5aotgCQibDaXwEbHxJOa5QBDbNFI22fT6TWIc=; b=XvZXR8OJ/uTIqAlamwJLNB0UHEV4LezAD2nKlCE+Gbi4MUPQO7tFlG5VKGYuX1mAYA CYOrexbgLn37gFp/3URLtA3Z04ocCIqSNh+s4AfKCiAazjRCflrTF54GbZecBvJIXAQ9 HPddV9TdpMbgBWIHhGCI85ztxslHJWiSA/GXuZ5nYPcLuy8MtbiszxML79iuCXgCwYmx 18NqphoU5fnrV/MUAi4HYyK0GyqMi5lgk04ZB17FJIaECSZ6IHlhT8JKjYyuOePt+uew l2yMhiLrq1/OQ03I+/33R/igRjctiNes1wxrfcOy0+TRUgcmUJfPjT1tJw761h4E0jUi 0iJg== X-Gm-Message-State: AA6/9RnBKTiKgX7gINDVUCQtDshiFDm7PjvQinZ5uH8rAs8HZ2tWbmLxjiFCYoWTlJPi5CQeeY8jZ94jopTKhg== X-Received: by 10.55.11.3 with SMTP id 3mr2878774qkl.256.1476190506684; Tue, 11 Oct 2016 05:55:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.137.238 with HTTP; Tue, 11 Oct 2016 05:55:06 -0700 (PDT) From: Jack Howarth Date: Tue, 11 Oct 2016 08:55:06 -0400 Message-ID: Subject: converting srfi-18.test to standalone test case for debugging To: bug-guile@gnu.org Content-Type: text/plain; charset=UTF-8 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 20 13:08:19 2016 Received: (at submit) by debbugs.gnu.org; 20 Oct 2016 17:08:19 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 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 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 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 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 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) MIME-Version: 1.0 Received: by 10.12.137.238 with HTTP; Thu, 20 Oct 2016 10:08:07 -0700 (PDT) In-Reply-To: References: From: Jack Howarth Date: Thu, 20 Oct 2016 13:08:07 -0400 Message-ID: Subject: Re: converting srfi-18.test to standalone test case for debugging To: bug-guile@gnu.org Content-Type: text/plain; charset=UTF-8 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 01 04:42:47 2017 Received: (at 24666-done) by debbugs.gnu.org; 1 Mar 2017 09:42:47 +0000 Received: from localhost ([127.0.0.1]:32785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cj0mV-000098-GR for submit@debbugs.gnu.org; Wed, 01 Mar 2017 04:42:47 -0500 Received: from pb-sasl2.pobox.com ([64.147.108.67]:57355 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cj0mU-000091-3L for 24666-done@debbugs.gnu.org; Wed, 01 Mar 2017 04:42:46 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl2.pobox.com (Postfix) with ESMTP id 94FF164F95; Wed, 1 Mar 2017 04:42:44 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=FPXVZySWykKPFBIrhmO44phCLek=; b=CMrVxK UpzWUGGgU7PeERqEyePidU2e478TZxZRR78hev43A9jJe0l41EkTh1zy3yV1v6ln qU6I0lBD1AE86a4LphNVvDUrL/nrAI8/vLg/43pqS/wUgg02HB/68mndx9ia+CvB QgO8M/ohRxGPbtZPmRudSIRmeNMDIlxiJ3+wc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=DTxFQ9x5o3o6EMminyAl8qO8W2mN8NH8 aRO9WA3oVqKj2KN43JaE0DkPDP1W3nvhcWhK1znVyWHGaEr+zCv2Sk5klG+Z+fAz cPYj2nZPUuUX6GTzX2fsXFhD5N6wmkiewxjYJxkIbm1JVct7EVenAXok9g2WiPlU zGU9NWBBhX8= Received: from pb-sasl2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl2.pobox.com (Postfix) with ESMTP id 8BBEA64F94; Wed, 1 Mar 2017 04:42:44 -0500 (EST) Received: from clucks (unknown [109.190.228.233]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl2.pobox.com (Postfix) with ESMTPSA id A750D64F93; Wed, 1 Mar 2017 04:42:43 -0500 (EST) From: Andy Wingo To: Jack Howarth Subject: Re: bug#24666: converting srfi-18.test to standalone test case for debugging References: Date: Wed, 01 Mar 2017 10:42:36 +0100 In-Reply-To: (Jack Howarth's message of "Thu, 20 Oct 2016 13:08:07 -0400") Message-ID: <87efyhib8z.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 6B6D3EB2-FE63-11E6-A85C-85AB91A0D1B0-02397024!pb-sasl2.pobox.com X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 24666-done Cc: 24666-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On Thu 20 Oct 2016 19:08, Jack Howarth writes: > 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. Thanks for tracking this one down. I usually only run "./check-guile srfi-18.test"; I never looked seriously into this file. There's a bit of a mess here and elsewhere in the test suite about modules and paths, but I did add a comment. FYI in the upcoming Guile 2.2 (and already in the prereleases), thread-terminate! should be much more reliable. Andy From unknown Fri Aug 15 14:15:10 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 29 Mar 2017 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator