From unknown Mon Jun 23 23:49:06 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#13611 <13611@debbugs.gnu.org> To: bug#13611 <13611@debbugs.gnu.org> Subject: Status: SEGV during SMOB GC Reply-To: bug#13611 <13611@debbugs.gnu.org> Date: Tue, 24 Jun 2025 06:49:06 +0000 retitle 13611 SEGV during SMOB GC reassign 13611 guile submitter 13611 Mike Gran severity 13611 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 02 15:52:44 2013 Received: (at submit) by debbugs.gnu.org; 2 Feb 2013 20:52:44 +0000 Received: from localhost ([127.0.0.1]:33232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U1k4p-0006p9-PA for submit@debbugs.gnu.org; Sat, 02 Feb 2013 15:52:44 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44768) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U1k4n-0006p0-Sy for submit@debbugs.gnu.org; Sat, 02 Feb 2013 15:52:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U1k3t-0001C2-C9 for submit@debbugs.gnu.org; Sat, 02 Feb 2013 15:51:46 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-101.8 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT, RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,T_DKIM_INVALID,USER_IN_WHITELIST autolearn=no version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:58396) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1k3t-0001Bg-8n for submit@debbugs.gnu.org; Sat, 02 Feb 2013 15:51:45 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1k3s-000121-2J for bug-guile@gnu.org; Sat, 02 Feb 2013 15:51:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U1k3q-0001BK-Q4 for bug-guile@gnu.org; Sat, 02 Feb 2013 15:51:44 -0500 Received: from nm31-vm1.bullet.mail.ne1.yahoo.com ([98.138.229.41]:35460) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1k3q-0001BG-GR for bug-guile@gnu.org; Sat, 02 Feb 2013 15:51:42 -0500 Received: from [98.138.90.53] by nm31.bullet.mail.ne1.yahoo.com with NNFMP; 02 Feb 2013 20:51:41 -0000 Received: from [98.138.89.245] by tm6.bullet.mail.ne1.yahoo.com with NNFMP; 02 Feb 2013 20:51:41 -0000 Received: from [127.0.0.1] by omp1059.mail.ne1.yahoo.com with NNFMP; 02 Feb 2013 20:51:41 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 509328.96256.bm@omp1059.mail.ne1.yahoo.com Received: (qmail 89324 invoked by uid 60001); 2 Feb 2013 20:51:41 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1359838301; bh=C6m4I4uJMpkyaLSGvcTIHRDVajrsUiDDt0/FTgrOBEw=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=MaouwKDMGvXADDGUD8niYRUkxXB+R32RxBiuj1E1HKeGqEw0OCWBjab+RIYrm9ilKYriG89Sqcxb8G7ey4z7rV86mbSDIyJwXLBM+XD9lcyLSVG4PBGNjD+Rkd/7YV1pOdxt4ELacIA6aCRsBCj/aQT1n/R8PHMRo5P6l6cAvgw= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=TMw+0lCJAJtoIv2o7JmTA8pjsyMqa7pkVv+pInsAn5r0LUlG5tKAbnMqY1ulxHvKlVmNitHppJHHV8EV4llZhc455sOsR/4auE7bQdIqwGapYgwQPG6G4OXreb5dvpxmaVOKo3qQOfrOmxUwFDiSB2PgkF5BiGWfD/kMmkVwYdg=; X-YMail-OSG: nVJQhXkVM1l4KZtVwnhGAsUDV1a_joElRHMBa492AxE3rBB mNkg8J2AyG3KnsaGLpF10gDMeXosghgM1emAcK0wC_fsBmtv7SZHDIQhGP3D dIynfP0NLIT1OQpBn5R5HxAJQWICqytMbz60.V4lo4piqwxLG5uKz0_od5Ah __iVqHO6Pgu3PbJgKjnJ1qSnQSZkOOdZ5Qd6oc2Na6JATc_TkcNI4vjJVs4b GoJyAXFFo47kj609afK9hDHfLjyNtZxJnXyJ0p2_f82JT5p9iluZNBde3UGZ Vba2wM94MZdYqLK70_AwBBBTwmt8BjJTqC8B6DUlg84zqEcjwWVAzLxzc1O8 ncRCVKgBurXbCttHyAcQ_0DclXyeoG4.hzJHfQ7x64tgM_9cuYF5kJ8k0XSI iFJ6iPWj0H4vBcrb7akGZ4scv9_WhLrelKOt6ClFiND0MpKLlwL_unbaoxI0 YdI9lx4wOavWANrE3CQ2m3662ynoy9sSm_Sczf8o8AgwOidIlsBzCjt9.4HB mb4NkStsiBFFFQnIDF6I_06QRU3RLE6fG5NhGGVzDQWAR5a3c Received: from [71.130.223.191] by web120405.mail.ne1.yahoo.com via HTTP; Sat, 02 Feb 2013 12:51:40 PST X-Rocket-MIMEInfo: 001.001, SGVsbG8tCgpJIGhhdmUgYSByZXByb2R1Y2libGUgU0VHViBkdXJpbmcgR0Mgb2YgU01PQnMgb24gR3VpbGUgMi4wLjcuCkl0IHdhcyBhbHNvIHByZXNlbnQgaW4gMi4wLjYuCgoKVG8gcmVwcm9kdWNlIGNvbXBpbGUgbWFpbi5jIGFzIAoKJCBnY2MgLXN0ZD1nbnU5OSAtc2hhcmVkIC1vIHNtb2JidWcuc28gLVdhbGwgLVdleHRyYSBgcGtnLWNvbmZpZyBndWlsZS0yLjAgLS1jZmxhZ3MgLS1saWJzYCAtZlBJQyBtYWluLmMKCgpUaGVuIHdpdGgKJCBMRF9QUkVMT0FEPS4vc21vYmJ1Zy5zbyBMRF9MSUJSQVJZX1ABMAEBAQE- X-Mailer: YahooMailWebService/0.8.131.499 Message-ID: <1359838300.89158.YahooMailNeo@web120405.mail.ne1.yahoo.com> Date: Sat, 2 Feb 2013 12:51:40 -0800 (PST) From: Mike Gran Subject: SEGV during SMOB GC To: Bug Guile MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="1501580392-229250612-1359838300=:89158" X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -3.7 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Mike Gran List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) --1501580392-229250612-1359838300=:89158 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hello-=0A=0AI have a reproducible SEGV during GC of SMOBs on Guile 2.0.7.= =0AIt was also present in 2.0.6.=0A=0A=0ATo reproduce compile main.c as =0A= =0A$ gcc -std=3Dgnu99 -shared -o smobbug.so -Wall -Wextra `pkg-config guile= -2.0 --cflags --libs` -fPIC main.c=0A=0A=0AThen with=0A$ LD_PRELOAD=3D./smo= bbug.so LD_LIBRARY_PATH=3D. GUILE_LOAD_PATH=3D. guile=0A=0A;; At the repl, = load the lib=0A=0A=A0(use-modules (smobbug))=0A;; Make a SMOB to be GC'd=0A= =0A=A0(handlesmob-init)=0A;; Trigger a GC from the GC thread=0A=A0(string-l= ength (make-string 10000000))=0A=0AThis gives=0A=0A=A0 Program received sig= nal SIGSEGV, Segmentation fault.=0A=A0 [Switching to Thread 0xb7d98b40 (LWP= 20488)]=0A=A0 0xb7f251ab in smob_mark (addr=3D0x8608ff0, mark_stack_ptr=3D= 0xb7d90308, =0A=A0=A0 =A0=A0 mark_stack_limit=3D0xb7d982f0, env=3D0) at smo= b.c:325=0A=A0 325=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 SCM_I_CURRENT_THREAD->curre= nt_mark_stack_ptr =3D mark_stack_ptr;=0A=0AHere's what's happening internal= ly.=A0 When Guile starts up, it creates 3=0Athreads=0A* Initial thread=0A* = GC thread from scm_storage_prehistory GC_INIT()=0A* signal delivery thread= =0A=0AThat second thread is the one from which automatic garbage collection= =0Aoccurs.=A0 The way that thread gets created, it has an=0Ascm_i_current_t= hread =3D=3D NULL, apparently.=0A=0A=0ASo dereferencing scm_i_current_threa= d causes null dereference.=0AAnd smob_mark() will dereference scm_i_current= _thread when collecting a=0Asmob with a mark function.=0A=0A-Mike=0A --1501580392-229250612-1359838300=:89158 Content-Type: text/x-scheme; name="smobbug.scm" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smobbug.scm" KGRlZmluZS1tb2R1bGUgKHNtb2JidWcpCiAgIzpleHBvcnQgKCAKCSAgICBo YW5kbGVzbW9iLWluaXQKCSAgICApKQoKKGxvYWQtZXh0ZW5zaW9uICJzbW9i YnVnIiAic21vYmJ1Z19pbml0IikKCihkZWZpbmUgKGhhbmRsZXNtb2ItaW5p dCkKICAiZG9jc3RyaW5nIgogICglaGFuZGxlc21vYi1pbml0KSkK --1501580392-229250612-1359838300=:89158 Content-Type: text/x-csrc; name="main.c" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="main.c" I2RlZmluZSBfR05VX1NPVVJDRQojaW5jbHVkZSA8c3RkaW8uaD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IoZnJlZWQpIiwgcG9y dCk7CiAgICB9CiAgZWxzZQogICAgewogICAgICBpZiAoYXNwcmludGYgKCZz dHIsICIlcCIsIGZybSkgPCAwKQoJc2NtX3B1dHMgKCI/Pz8iLCBwb3J0KTsK ICAgICAgZWxzZQoJc2NtX3B1dHMgKHN0ciwgcG9ydCk7CiAgICB9CgogIHNj bV9wdXRzICgiPiIsIHBvcnQpOwogIAogIC8vIG5vbi16ZXJvIG1lYW5zIHN1 Y2Nlc3MgCiAgcmV0dXJuIDE7Cn0KCnZvaWQKc21vYmJ1Z19pbml0ICgpCnsK ICBoYW5kbGVzbW9iX3RhZyA9IHNjbV9tYWtlX3Ntb2JfdHlwZSAoImhhbmRs ZXNtb2IiLCBzaXplb2YgKGNoYXIgKikpOwogIHNjbV9zZXRfc21vYl9tYXJr IChoYW5kbGVzbW9iX3RhZywgbWFya19oYW5kbGVzbW9iKTsKICBzY21fc2V0 X3Ntb2JfZnJlZSAoaGFuZGxlc21vYl90YWcsIGZyZWVfaGFuZGxlc21vYik7 CiAgc2NtX3NldF9zbW9iX3ByaW50IChoYW5kbGVzbW9iX3RhZywgcHJpbnRf aGFuZGxlc21vYik7CiAgc2NtX2NfZGVmaW5lX2dzdWJyICgiJWhhbmRsZXNt b2ItaW5pdCIsIDAsIDAsIDAsIGhhbmRsZXNtb2JfaW5pdCk7Cn0K --1501580392-229250612-1359838300=:89158-- From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 05 05:09:05 2013 Received: (at 13611) by debbugs.gnu.org; 5 Feb 2013 10:09:05 +0000 Received: from localhost ([127.0.0.1]:37123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2fSb-0002fI-E2 for submit@debbugs.gnu.org; Tue, 05 Feb 2013 05:09:05 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:22186) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2fSY-0002f0-Mo for 13611@debbugs.gnu.org; Tue, 05 Feb 2013 05:09:04 -0500 X-IronPort-AV: E=Sophos;i="4.84,602,1355094000"; d="scan'208";a="1426002" Received: from nat-eduroam-37.bordeaux.inria.fr (HELO pluto) ([194.199.1.37]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 05 Feb 2013 11:07:51 +0100 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Mike Gran Subject: Re: bug#13611: SEGV during SMOB GC References: <1359838300.89158.YahooMailNeo@web120405.mail.ne1.yahoo.com> Date: Tue, 05 Feb 2013 11:07:51 +0100 In-Reply-To: <1359838300.89158.YahooMailNeo@web120405.mail.ne1.yahoo.com> (Mike Gran's message of "Sat, 2 Feb 2013 12:51:40 -0800 (PST)") Message-ID: <87y5f3t6o8.fsf@gnu.org> User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 13611 Cc: 13611@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Mike, Mike Gran skribis: > This gives > > =C2=A0 Program received signal SIGSEGV, Segmentation fault. > =C2=A0 [Switching to Thread 0xb7d98b40 (LWP 20488)] > =C2=A0 0xb7f251ab in smob_mark (addr=3D0x8608ff0, mark_stack_ptr=3D0xb7d9= 0308,=20 > =C2=A0=C2=A0 =C2=A0=C2=A0 mark_stack_limit=3D0xb7d982f0, env=3D0) at smob= .c:325 > =C2=A0 325=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 SC= M_I_CURRENT_THREAD->current_mark_stack_ptr =3D mark_stack_ptr; > > Here's what's happening internally.=C2=A0 When Guile starts up, it create= s 3 > threads > * Initial thread > * GC thread from scm_storage_prehistory GC_INIT() > * signal delivery thread > > That second thread is the one from which automatic garbage collection > occurs.=C2=A0 The way that thread gets created, it has an > scm_i_current_thread =3D=3D NULL, apparently. Is there any chance that you=E2=80=99re using a GC 7.3 pre-release? There was a similar report on IRC, and the fix appears to be: --=-=-= Content-Type: text/x-patch Content-Disposition: inline --- a/libguile/smob.c +++ b/libguile/smob.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995,1996,1998,1999,2000,2001, 2003, 2004, 2006, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. +/* Copyright (C) 1995,1996,1998,1999,2000,2001, 2003, 2004, 2006, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License @@ -318,7 +318,7 @@ smob_mark (GC_word *addr, struct GC_ms_entry *mark_stack_ptr, mark_stack_ptr, mark_stack_limit, NULL); - if (scm_smobs[smobnum].mark) + if (scm_smobs[smobnum].mark && SCM_I_CURRENT_THREAD != NULL) { SCM obj; --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable (Note that on 2.0 SMOB mark procedures are unnecessary.) Ludo=E2=80=99. --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 05 11:31:04 2013 Received: (at 13611) by debbugs.gnu.org; 5 Feb 2013 16:31:04 +0000 Received: from localhost ([127.0.0.1]:38089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2lQF-0004R4-Mp for submit@debbugs.gnu.org; Tue, 05 Feb 2013 11:31:04 -0500 Received: from nm14-vm1.bullet.mail.ne1.yahoo.com ([98.138.91.38]:44746) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2lQC-0004Qe-SJ for 13611@debbugs.gnu.org; Tue, 05 Feb 2013 11:31:01 -0500 Received: from [98.138.90.49] by nm14.bullet.mail.ne1.yahoo.com with NNFMP; 05 Feb 2013 16:29:48 -0000 Received: from [98.138.89.245] by tm2.bullet.mail.ne1.yahoo.com with NNFMP; 05 Feb 2013 16:29:48 -0000 Received: from [127.0.0.1] by omp1059.mail.ne1.yahoo.com with NNFMP; 05 Feb 2013 16:29:48 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 538295.73102.bm@omp1059.mail.ne1.yahoo.com Received: (qmail 6488 invoked by uid 60001); 5 Feb 2013 16:29:48 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1360081788; bh=IGOpIE5MEY0unIbhovxbgEE1cANCiRQ9FKQSjikuYbM=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=HOCJgfyja2hDm/+4yn+Z2Xd5gl/DSjEhL/AxH8GH3ltcncNL5GObL8dMw+2oRmXkbcmCRj/UlrFVBVpflxMfb/gLDhRlsV0QD6L+KWas5gO3c1yAxVKjx0ozOYfSZc6EGNp6KYUNOVQ+jSLgEjE1GRYCnLOfSnUo3M119Yvh90c= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=LP70Gl63mgyhFpUa4IofMMJvYmAHurMH0knIdT26LTBOl1ajZikFQLJSu2VLC7bEOWKBt1C6SYFng7c+U0v7qYgZA1wMpNIOmp9+/F5WdFhNC9p0YCV5Nwb/MDrZnQajHqqIAT7caz/ylnz9cRvIK1TpMkV6LHCVvN1fM4ToJGc=; X-YMail-OSG: qRdJSbAVM1kNiZ_q.MY.R2ifv.vYUNQhJopaiR26KsRLVOK m15PBRZufMef.0ufVA0ne_ByiPMprj_I1mFE0aUzug1m6tCd2xUo6P9sWuQb m3Cp8NSdmhJvvAJlIwhuM7p8brEQeP0oXEoKIAZqiY_dJyijAZr4vQ9d8Y2n 82iNivCOHRUnh.0OXX8_zTmD1JRQCcARu53o581jGbW1xL6a2Cxjcwjrvxh_ 7Dop_35jacmTcSJFk6gcVBNE70h1uqbIsAcEL43IMnMTmY_5jzAYQFfD0th4 FWq8CBwfv0vWWPbLo2hqLm73sNzpfWMxz8gAKfrZXSrFN2rJFES77Qp41Ka6 LDUkpQxNxSTUvGQjdYpUrlRsiCkxxcvL5zBGK2d7Hwukfdtr5sGHgHGzKuZQ ShLVgum.bZA.BHJBB.HSdjtPrqf32MLAlNR7lXaotuCQGtFVrPOpNu50d8aE 3aP4HQAm2mVvcfLw1ceIruHzsOSURgAZjk7.4mIxi.rPkx.ZW_vEGPCjAqIg w53leV_niwLhkL26sICw- Received: from [71.130.223.191] by web120406.mail.ne1.yahoo.com via HTTP; Tue, 05 Feb 2013 08:29:48 PST X-Rocket-MIMEInfo: 001.001, PiBGcm9tOiBMdWRvdmljIENvdXJ0w6hzIDxsdWRvQGdudS5vcmc.Cgo.IElzIHRoZXJlIGFueSBjaGFuY2UgdGhhdCB5b3XigJlyZSB1c2luZyBhIEdDIDcuMyBwcmUtcmVsZWFzZT8KClVzaW5nIGdjLTcuMmItMi5mYzE3Lmk2ODYKb24gTGludXggMy42LjEwLTIuZmMxNy5pNjg2ICMxIFNNUCAKCj4gVGhlcmUgd2FzIGEgc2ltaWxhciByZXBvcnQgb24gSVJDLCBhbmQgdGhlIGZpeCBhcHBlYXJzIHRvIGJlOgoKSXQgZG9lcyBmaXggbXkgU0VHVgoKPiAoTm90ZSB0aGF0IG9uIDIuMCBTTU9CIG1hcmsgcHJvY2UBMAEBAQE- X-Mailer: YahooMailWebService/0.8.132.503 References: <1359838300.89158.YahooMailNeo@web120405.mail.ne1.yahoo.com> <87y5f3t6o8.fsf@gnu.org> Message-ID: <1360081788.3781.YahooMailNeo@web120406.mail.ne1.yahoo.com> Date: Tue, 5 Feb 2013 08:29:48 -0800 (PST) From: Mike Gran Subject: Re: bug#13611: SEGV during SMOB GC To: =?utf-8?B?THVkb3ZpYyBDb3VydMOocw==?= In-Reply-To: <87y5f3t6o8.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="1635569886-88612283-1360081788=:3781" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 13611 Cc: "13611@debbugs.gnu.org" <13611@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Mike Gran List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.0 (/) --1635569886-88612283-1360081788=:3781 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > From: Ludovic Court=C3=A8s =0A=0A> Is there any chance that= you=E2=80=99re using a GC 7.3 pre-release?=0A=0AUsing gc-7.2b-2.fc17.i686= =0Aon Linux 3.6.10-2.fc17.i686 #1 SMP =0A=0A> There was a similar report on= IRC, and the fix appears to be:=0A=0AIt does fix my SEGV=0A=0A> (Note that= on 2.0 SMOB mark procedures are unnecessary.)=0A=0ACool.=C2=A0 Let's yank = it from the manual.=C2=A0 Case closed.=0A=0AYet...=0A=0AFor what it is wort= h, I decided to get som statistics on how=0Aoften smob_mark is called from = a thread with scm_i_current_thread=0A=3D=3D NULL vs how often it is called = from a thread where it is =0Anot null.=0A=0AI wrote the attached patch, and= then, using the same little=0Alibrary as in my initial report, I ran=0A=0A= =C2=A0(use-modules (smobbug))=0A=C2=A0;; Create a SMOB type=0A=C2=A0(handle= smob-init)=0A=C2=A0(for-each (lambda (x) (gc))=0A=C2=A0=C2=A0=C2=A0=C2=A0 = =C2=A0 (iota 1000))=0A=C2=A0(gc-smob-mark-report)=0A=0AThis returned=0A=0A= =C2=A0Count of GC SMOB marks from null thread: 176=0A=C2=A0Count of GC SMOB= marks from current thread: 825=0A=0AIs that expected that GC is sometimes = called from a =0Athread where scm_i_current_thread is null and sometimes=0A= called from a thread where scm_i_current_thread is=0Anot null?=0A=0A-Mike --1635569886-88612283-1360081788=:3781 Content-Type: text/x-patch; name="smob_gc_mark_report.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smob_gc_mark_report.patch" RnJvbSA4MDdiMDBkOTFmYTNiNzAxNjk4N2VjZmQ2OTkyZTdiN2U5NDNkMWUz IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBNaWtlIEdyYW4gPHNw azEyMUB5YWhvby5jb20+CkRhdGU6IFR1ZSwgNSBGZWIgMjAxMyAwODoxODow NyAtMDgwMApTdWJqZWN0OiBbUEFUQ0hdIEFkZCBmdW5jdGlvbiB0byBkZWJ1 ZyBzbW9iIGdjCgoqIGxpYmd1aWxlL2djLmMgKHNjbV9nY19zbW9iX21hcmtf cmVwb3J0KTogbmV3IHJlcG9ydCBmdW5jdGlvbgoqIGxpYmd1aWxlL2djLmg6 IG5ldyBkZWNsYXJhdGlvbiBvZiBzY21fZ2Nfc21vYl9tYXJrX3JlcG9ydAoq IGxpYmd1aWxlL3Ntb2IuYyAoc21vYl9tYXJrKTogZ2F0aGVyIHN0YXRpc3Rp Y3MKLS0tCiBsaWJndWlsZS9nYy5jICAgfCAyMiArKysrKysrKysrKysrKysr KysrKysrCiBsaWJndWlsZS9nYy5oICAgfCAgMSArCiBsaWJndWlsZS9zbW9i LmMgfCAgOCArKysrKysrLQogMyBmaWxlcyBjaGFuZ2VkLCAzMCBpbnNlcnRp b25zKCspLCAxIGRlbGV0aW9uKC0pCgpkaWZmIC0tZ2l0IGEvbGliZ3VpbGUv Z2MuYyBiL2xpYmd1aWxlL2djLmMKaW5kZX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rX3B0ciwKIAkJCQkgICAgIG1hcmtfc3RhY2tfcHRyLAogCQkJ CSAgICAgbWFya19zdGFja19saW1pdCwgTlVMTCk7CiAKLSAgaWYgKHNjbV9z bW9ic1tzbW9ibnVtXS5tYXJrKQorICBpZiAoc2NtX3Ntb2JzW3Ntb2JudW1d Lm1hcmsgJiYgU0NNX0lfQ1VSUkVOVF9USFJFQUQgIT0gTlVMTCkKICAgICB7 CiAgICAgICBTQ00gb2JqOwogCi0tIAoxLjcuMTEuNwoK --1635569886-88612283-1360081788=:3781-- From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 05 11:42:38 2013 Received: (at 13611) by debbugs.gnu.org; 5 Feb 2013 16:42:38 +0000 Received: from localhost ([127.0.0.1]:38120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2lbR-0004iy-QR for submit@debbugs.gnu.org; Tue, 05 Feb 2013 11:42:38 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:57006) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2lbP-0004ip-3X for 13611@debbugs.gnu.org; Tue, 05 Feb 2013 11:42:36 -0500 X-IronPort-AV: E=Sophos;i="4.84,609,1355094000"; d="scan'208";a="1503385" Received: from unknown (HELO pluto) ([193.50.110.227]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 05 Feb 2013 17:41:22 +0100 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Mike Gran Subject: Re: bug#13611: SEGV during SMOB GC References: <1359838300.89158.YahooMailNeo@web120405.mail.ne1.yahoo.com> <87y5f3t6o8.fsf@gnu.org> <1360081788.3781.YahooMailNeo@web120406.mail.ne1.yahoo.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 17 =?utf-8?Q?Pluvi=C3=B4se?= an 221 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu Date: Tue, 05 Feb 2013 17:41:22 +0100 In-Reply-To: <1360081788.3781.YahooMailNeo@web120406.mail.ne1.yahoo.com> (Mike Gran's message of "Tue, 5 Feb 2013 08:29:48 -0800 (PST)") Message-ID: <876226sogd.fsf@gnu.org> User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 13611 Cc: "13611@debbugs.gnu.org" <13611@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) Hi, Mike Gran skribis: >> From: Ludovic Court=C3=A8s > >> Is there any chance that you=E2=80=99re using a GC 7.3 pre-release? > > Using gc-7.2b-2.fc17.i686 OK. >> There was a similar report on IRC, and the fix appears to be: > > It does fix my SEGV Good. [...] > =C2=A0Count of GC SMOB marks from null thread: 176 > =C2=A0Count of GC SMOB marks from current thread: 825 > > Is that expected that GC is sometimes called from a=20 > thread where scm_i_current_thread is null and sometimes > called from a thread where scm_i_current_thread is > not null? Can you check whether your GC was built with --enable-parallel-mark? I=E2=80=99m confident that the SMOB mark procedure is never called with null scm_i_current_thread with 7.2 compiled with the default options (the GnuTLS bindings rely on this, and I had not seen any such report until someone tried with GC 7.3pre, which uses the parallel marker by default.) Thanks! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 05 12:06:03 2013 Received: (at 13611) by debbugs.gnu.org; 5 Feb 2013 17:06:03 +0000 Received: from localhost ([127.0.0.1]:38137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2ly7-0005I2-Aj for submit@debbugs.gnu.org; Tue, 05 Feb 2013 12:06:03 -0500 Received: from nm23-vm2.bullet.mail.ne1.yahoo.com ([98.138.91.211]:48349) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2ly5-0005HU-5R for 13611@debbugs.gnu.org; Tue, 05 Feb 2013 12:06:01 -0500 Received: from [98.138.226.177] by nm23.bullet.mail.ne1.yahoo.com with NNFMP; 05 Feb 2013 17:04:48 -0000 Received: from [98.138.87.12] by tm12.bullet.mail.ne1.yahoo.com with NNFMP; 05 Feb 2013 17:04:48 -0000 Received: from [127.0.0.1] by omp1012.mail.ne1.yahoo.com with NNFMP; 05 Feb 2013 17:04:48 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 641881.17543.bm@omp1012.mail.ne1.yahoo.com Received: (qmail 63280 invoked by uid 60001); 5 Feb 2013 17:04:48 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1360083888; bh=T6gnhyn/dNMpZB1iDz7KHL40uwj5P/CrX/8jMPlfzZw=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=CjzDgVs+21dSALEoOGdvw86J1E+TzAONM8kHGfMMf/qloICxDjHpMe5egLjCGdSPi/LPsJ+G5zpo1pMCsj0oeLIRLrRIKg7YrUpY5iUEbWO8EYOz++cZaODxT5V/QqsBReOMr+19PlWub8v4tsnTZTIgtZELFma/Iy5PgeSq6Cc= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=sCZGp95KE2Xu9ljqTRx/ZNQvn4/LNWTQg7loJKHDRksAa5hrQKA2cORL4ZzUnbuzrZ7FxDylVr9fxAj8w1Z1nt80ttPZ8VzJabRNflvG80x/V59OHeKe33GjXKAB7OIO3jwYByTw1ErtDBzAGZ9duvO8QpvJpK3giFemY8aHBBc=; X-YMail-OSG: hmiTWocVM1nKacfAucnp9YmRtqrPXSpj7N6blfn5xNC.Fbq HHZuFXOo6GZ1WOcK5_m6Kg.6nOTyeQGN.G_pBAlq07URqlGFcAYzE4SFEAt5 7OTr2uGUIOjtArJJgcQBodIWcIbnwVCQGPWvl7UbtX2tAVx2ySeoW0sDfugM g8yMegvcl070iqZU64qODxa9S.vpz7IvAYPrMWoxhefQVdkObEwbflSm52Sn 7DRhukQbfy0h5BQR90Nv0kIOlVIs1XkjQ2C6xWtNDcQn6xtl3KE0QCTDMeos AnQ80tbWVEexOEvm7omiaaX5yjqtj6hJpTcGI7WfjlIz2K70wj5P5LHHThcc .b83cZ1I8sNNubhnZ2CPTdBhBWHu8xzqM8MGaTz_TYm5ZVbT7M7gdV6Vw4zB iEqBUFiCIUkceYQN8GynYL4vpA83ScLRC9nCyR4dF2wWc.zTms0V1fFW0S0M 8wRDwiMBizFtO3mCA72um8L4VVSYogJfOsHE6N3Br8R8EiUszMrLouYsSBDX _d0t2uFJXWkmfKTOzEuLUbnwzBWj505xrMrkrb2IBi5Q1ZMs1F4uaWHsgRS6 kOmNPAP93U6Nfcyc7jAdA92Yi0Xob03x9gGsWSVi7sbw0iJO6jr_grWHZsWF P4wJd9ujrbz6md8a54qsboy6EGQaA Received: from [71.130.223.191] by web120402.mail.ne1.yahoo.com via HTTP; Tue, 05 Feb 2013 09:04:48 PST X-Rocket-MIMEInfo: 001.001, Pj4gIElzIHRoYXQgZXhwZWN0ZWQgdGhhdCBHQyBpcyBzb21ldGltZXMgY2FsbGVkIGZyb20gYSAKCj4.ICB0aHJlYWQgd2hlcmUgc2NtX2lfY3VycmVudF90aHJlYWQgaXMgbnVsbCBhbmQgc29tZXRpbWVzCj4.ICBjYWxsZWQgZnJvbSBhIHRocmVhZCB3aGVyZSBzY21faV9jdXJyZW50X3RocmVhZCBpcwo.PiAgbm90IG51bGw_Cj4gCj4gQ2FuIHlvdSBjaGVjayB3aGV0aGVyIHlvdXIgR0Mgd2FzIGJ1aWx0IHdpdGggLS1lbmFibGUtcGFyYWxsZWwtbWFyaz8KPiAKPiBJ4oCZbSBjb25maWRlbnQgdGhhdCB0aGUBMAEBAQE- X-Mailer: YahooMailWebService/0.8.132.503 References: <1359838300.89158.YahooMailNeo@web120405.mail.ne1.yahoo.com> <87y5f3t6o8.fsf@gnu.org> <1360081788.3781.YahooMailNeo@web120406.mail.ne1.yahoo.com> <876226sogd.fsf@gnu.org> Message-ID: <1360083888.57707.YahooMailNeo@web120402.mail.ne1.yahoo.com> Date: Tue, 5 Feb 2013 09:04:48 -0800 (PST) From: Mike Gran Subject: Re: bug#13611: SEGV during SMOB GC To: =?utf-8?B?THVkb3ZpYyBDb3VydMOocw==?= In-Reply-To: <876226sogd.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: >> Is that expected that GC is sometimes called from a >> thread where scm_i_current_thread is null and sometimes >> called from a thread where scm_i_current_thread is >> not null? > > Can you check whether your GC was built with --enable-parallel-mark? > > I’m confident that the SMOB mark procedure is never called with null > scm_i_current_thread with 7.2 compiled with the default options (the > GnuTLS bindings rely on this, and I had not seen any such report until > someone tried with GC 7.3pre, which uses the parallel marker by > default.) [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (spk121[at]yahoo.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [98.138.91.211 listed in list.dnswl.org] 0.2 FREEMAIL_REPLYTO_END_DIGIT Reply-To freemail username ends in digit (mike gran ) -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (spk121[at]yahoo.com) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Debbugs-Envelope-To: 13611 Cc: "13611@debbugs.gnu.org" <13611@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Mike Gran List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: >> Is that expected that GC is sometimes called from a >> thread where scm_i_current_thread is null and sometimes >> called from a thread where scm_i_current_thread is >> not null? > > Can you check whether your GC was built with --enable-parallel-mark? > > I’m confident that the SMOB mark procedure is never called with null > scm_i_current_thread with 7.2 compiled with the default options (the > GnuTLS bindings rely on this, and I had not seen any such report until > someone tried with GC 7.3pre, which uses the parallel marker by > default.) [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [98.138.91.211 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (spk121[at]yahoo.com) 0.2 FREEMAIL_REPLYTO_END_DIGIT Reply-To freemail username ends in digit (mike gran ) -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (spk121[at]yahoo.com) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid >> Is that expected that GC is sometimes called from a =0A=0A>> thread wh= ere scm_i_current_thread is null and sometimes=0A>> called from a thread w= here scm_i_current_thread is=0A>> not null?=0A> =0A> Can you check whether= your GC was built with --enable-parallel-mark?=0A> =0A> I=E2=80=99m confid= ent that the SMOB mark procedure is never called with null=0A> scm_i_curren= t_thread with 7.2 compiled with the default options (the=0A> GnuTLS binding= s rely on this, and I had not seen any such report until=0A> someone tried = with GC 7.3pre, which uses the parallel marker by=0A> default.)=0A=0AIt loo= ks like fedora gc rpms do use --enable-parallel-mark=0Afor x86 architecture= s.=0A=0AYou can see that here:=0A=C2=A0 http://pkgs.fedoraproject.org/cgit/= gc.git/tree/gc.spec?h=3Df17=0A=0ABut it looks like it has been that way for= a long time.=0ASince 2005 at least.=0A=0A-Mike From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 05 16:14:27 2013 Received: (at 13611) by debbugs.gnu.org; 5 Feb 2013 21:14:27 +0000 Received: from localhost ([127.0.0.1]:38389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2pqU-0003ZY-RP for submit@debbugs.gnu.org; Tue, 05 Feb 2013 16:14:27 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:20056) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2pqR-0003ZQ-Sr for 13611@debbugs.gnu.org; Tue, 05 Feb 2013 16:14:25 -0500 X-IronPort-AV: E=Sophos;i="4.84,609,1355094000"; d="scan'208";a="1182447" Received: from reverse-83.fdn.fr (HELO pluto) ([80.67.176.83]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 05 Feb 2013 22:07:32 +0100 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Mike Gran Subject: Re: bug#13611: SEGV during SMOB GC References: <1359838300.89158.YahooMailNeo@web120405.mail.ne1.yahoo.com> <87y5f3t6o8.fsf@gnu.org> <1360081788.3781.YahooMailNeo@web120406.mail.ne1.yahoo.com> <876226sogd.fsf@gnu.org> <1360083888.57707.YahooMailNeo@web120402.mail.ne1.yahoo.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 17 =?utf-8?Q?Pluvi=C3=B4se?= an 221 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu Date: Tue, 05 Feb 2013 22:13:09 +0100 In-Reply-To: <1360083888.57707.YahooMailNeo@web120402.mail.ne1.yahoo.com> (Mike Gran's message of "Tue, 5 Feb 2013 09:04:48 -0800 (PST)") Message-ID: <87a9rih3bu.fsf@gnu.org> User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 13611 Cc: "13611@debbugs.gnu.org" <13611@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) Mike Gran skribis: >>> Is that expected that GC is sometimes called from a=20 > >>> thread where scm_i_current_thread is null and sometimes >>> called from a thread where scm_i_current_thread is >>> not null? >>=20 >> Can you check whether your GC was built with --enable-parallel-mark? >>=20 >> I=E2=80=99m confident that the SMOB mark procedure is never called with = null >> scm_i_current_thread with 7.2 compiled with the default options (the >> GnuTLS bindings rely on this, and I had not seen any such report until >> someone tried with GC 7.3pre, which uses the parallel marker by >> default.) > > It looks like fedora gc rpms do use --enable-parallel-mark > for x86 architectures. Then that=E2=80=99s the problem. > But it looks like it has been that way for a long time. > Since 2005 at least. And you did not have the problem before? That part of Guile hasn=E2=80=99t changed in a long time, I think. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 05 23:57:35 2013 Received: (at 13611) by debbugs.gnu.org; 6 Feb 2013 04:57:35 +0000 Received: from localhost ([127.0.0.1]:38570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2x4h-0008Ch-F0 for submit@debbugs.gnu.org; Tue, 05 Feb 2013 23:57:35 -0500 Received: from nm17-vm4.bullet.mail.ne1.yahoo.com ([98.138.91.177]:23486) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2x4f-0008Ca-Gn for 13611@debbugs.gnu.org; Tue, 05 Feb 2013 23:57:34 -0500 Received: from [98.138.90.53] by nm17.bullet.mail.ne1.yahoo.com with NNFMP; 06 Feb 2013 04:56:18 -0000 Received: from [98.138.87.8] by tm6.bullet.mail.ne1.yahoo.com with NNFMP; 06 Feb 2013 04:56:18 -0000 Received: from [127.0.0.1] by omp1008.mail.ne1.yahoo.com with NNFMP; 06 Feb 2013 04:56:18 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 684250.97909.bm@omp1008.mail.ne1.yahoo.com Received: (qmail 14474 invoked by uid 60001); 6 Feb 2013 04:56:18 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1360126578; bh=a67Pf6LNSYtCf+FuVjTo2UoqfAvenqN5u867pL1wP5Y=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=l3qMv131f7I+7bVLTG9fShUNb8aRmysA4Wl6N9DHoRGnFaxbHL5Mb8/RJLvJDt1UXVGyqboyduBKqvjqqzOPEVFH+NtHWmabF1xioqblD7crRSuNNyKsQb8ZdJ21cOh4f6Hlqi0IDkV7p/gCBAEN/rLvKpaHYW94SFoHupYrKio= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=vBXRyulDzGnUOmHS7B1GpGS3IG+0ZbGNuvrSPHKLpJSBUWfD8QTEPkf72TSi6SoktydczkbtwbUF5UpF6/qj9udphl1fWCFToKES1I9pjU0D9aTCiSFBb9V5DomeGu+vByWw5jnAj3OFHPcxPks/9Vbj7JmcB0fX9rjT/zSjMW4=; X-YMail-OSG: waD9WNYVM1npPwNQWCrdfE.Yo5pcxplIP85ExGaxqnSKHXv soaYYBNxclVpEku3ppQ8uzbgfJTFAkouKF08SD_souCqDzfOBshg195E_u0t gETz8VyfLjtusLNrLEj50ZAHROsZSHt7d5dEV7ntLLGpTYWs.kJuf5tKmV9Q 5sLeP9WkxlkrtAdkSg96yK5I8SKrPc4cJ.VM7zKRniz3XAGqmYEG_J5GKWP2 gVbies3y2bUss074UAI4hptLdMcXWFiA6UMlb1Y8.Xb0TNk5Pi0vR2o31M9V N9lbuZrvE6vy3YjllSj5Mg427SiKqgSkXZcvRaJld90uA0A1mDOj9IbXXx7_ eT8PAD82w3AdBMv6gw1qdTw6wd0jNRHpEonXVILQSspggKqLw.SQmoUMU96X btncq28PWEqVr7aFEsWz6kxKCne6e0IVi7geau75ySmk_N2dZVfmq7KMTkEA BtAeN3lsCRgkwN3OZKPfJqZ6N8qM6_km76aCN9YC6aCKqTch5AoB5ohNWzhV CKGgf7PFDDmQSqD097Q4- Received: from [71.130.223.191] by web120401.mail.ne1.yahoo.com via HTTP; Tue, 05 Feb 2013 20:56:18 PST X-Rocket-MIMEInfo: 001.001, PiBGcm9tOiBMdWRvdmljIENvdXJ0w6hzIDxsdWRvQGdudS5vcmc.Cgo.Pj4gIEnigJltIGNvbmZpZGVudCB0aGF0IHRoZSBTTU9CIG1hcmsgcHJvY2VkdXJlIGlzIG5ldmVyIGNhbGxlZCB3aXRoIG51bGwKPj4.ICBzY21faV9jdXJyZW50X3RocmVhZCB3aXRoIDcuMiBjb21waWxlZCB3aXRoIHRoZSBkZWZhdWx0IG9wdGlvbnMgKHRoZQo.Pj4gIEdudVRMUyBiaW5kaW5ncyByZWx5IG9uIHRoaXMsIGFuZCBJIGhhZCBub3Qgc2VlbiBhbnkgc3VjaCByZXBvcnQgdW50aWwKPj4.ICBzb21lb25lIHRyaWVkIHdpdGgBMAEBAQE- X-Mailer: YahooMailWebService/0.8.132.503 References: <1359838300.89158.YahooMailNeo@web120405.mail.ne1.yahoo.com> <87y5f3t6o8.fsf@gnu.org> <1360081788.3781.YahooMailNeo@web120406.mail.ne1.yahoo.com> <876226sogd.fsf@gnu.org> <1360083888.57707.YahooMailNeo@web120402.mail.ne1.yahoo.com> <87a9rih3bu.fsf@gnu.org> Message-ID: <1360126578.13840.YahooMailNeo@web120401.mail.ne1.yahoo.com> Date: Tue, 5 Feb 2013 20:56:18 -0800 (PST) From: Mike Gran Subject: Re: bug#13611: SEGV during SMOB GC To: =?utf-8?B?THVkb3ZpYyBDb3VydMOocw==?= In-Reply-To: <87a9rih3bu.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Ludovic Courtès >>> I’m confident that the SMOB mark procedure is never called with null >>> scm_i_current_thread with 7.2 compiled with the default options (the >>> GnuTLS bindings rely on this, and I had not seen any such report until >>> someone tried with GC 7.3pre, which uses the parallel marker by >>> default.) >> >> It looks like fedora gc rpms do use --enable-parallel-mark >> for x86 architectures. > > Then that’s the problem. > >> But it looks like it has been that way for a long time. >> Since 2005 at least. > > And you did not have the problem before? That part of Guile hasn’t > changed in a long time, I think. [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (spk121[at]yahoo.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [98.138.91.177 listed in list.dnswl.org] 0.2 FREEMAIL_REPLYTO_END_DIGIT Reply-To freemail username ends in digit (mike gran ) -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (spk121[at]yahoo.com) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Debbugs-Envelope-To: 13611 Cc: "13611@debbugs.gnu.org" <13611@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Mike Gran List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Ludovic Courtès >>> I’m confident that the SMOB mark procedure is never called with null >>> scm_i_current_thread with 7.2 compiled with the default options (the >>> GnuTLS bindings rely on this, and I had not seen any such report until >>> someone tried with GC 7.3pre, which uses the parallel marker by >>> default.) >> >> It looks like fedora gc rpms do use --enable-parallel-mark >> for x86 architectures. > > Then that’s the problem. > >> But it looks like it has been that way for a long time. >> Since 2005 at least. > > And you did not have the problem before? That part of Guile hasn’t > changed in a long time, I think. [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [98.138.91.177 listed in list.dnswl.org] 0.0 SINGLE_HEADER_2K A single header contains 2K-3K characters 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (spk121[at]yahoo.com) 0.2 FREEMAIL_REPLYTO_END_DIGIT Reply-To freemail username ends in digit (mike gran ) -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (spk121[at]yahoo.com) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4987] 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid > From: Ludovic Court=C3=A8s =0A=0A>>> I=E2=80=99m confident= that the SMOB mark procedure is never called with null=0A>>> scm_i_curren= t_thread with 7.2 compiled with the default options (the=0A>>> GnuTLS bind= ings rely on this, and I had not seen any such report until=0A>>> someone = tried with GC 7.3pre, which uses the parallel marker by=0A>>> default.)=0A= >> =0A>> It looks like fedora gc rpms do use --enable-parallel-mark=0A>> = for x86 architectures.=0A> =0A> Then that=E2=80=99s the problem.=0A> =0A>> = But it looks like it has been that way for a long time.=0A>> Since 2005 a= t least.=0A> =0A> And you did not have the problem before?=C2=A0 That part = of Guile hasn=E2=80=99t=0A> changed in a long time, I think.=0A=0AI have a = different box than before: more cores.=0A=0AWell, I guess that, for my libr= aries, I can make a preprocessor conditional=0Aon SCM_MAJOR_VERSION =3D=3D = 2 to eliminate all smob marking for guile-2.x.=0A=0ACould parallel marking = have other, non-SMOB-related, side effects?=0AI can disable it by setting t= he envirnomnent variable GC_MARKERS to 1.=0A=0AThanks,=0A=0AMike=0A From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 01 12:04:39 2013 Received: (at 13611) by debbugs.gnu.org; 1 Mar 2013 17:04:39 +0000 Received: from localhost ([127.0.0.1]:58382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UBTNv-0005EF-66 for submit@debbugs.gnu.org; Fri, 01 Mar 2013 12:04:39 -0500 Received: from xanadu.aquilenet.fr ([88.191.123.111]:43893) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UBTNt-0005E5-3d for 13611@debbugs.gnu.org; Fri, 01 Mar 2013 12:04:38 -0500 Received: from localhost (localhost [127.0.0.1]) by xanadu.aquilenet.fr (Postfix) with ESMTP id EA728C6B9; Fri, 1 Mar 2013 18:02:32 +0100 (CET) Received: from xanadu.aquilenet.fr ([127.0.0.1]) by localhost (xanadu.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ikgi3uWOxg55; Fri, 1 Mar 2013 18:02:32 +0100 (CET) Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by xanadu.aquilenet.fr (Postfix) with ESMTPSA id 8CAC5C50B; Fri, 1 Mar 2013 18:02:32 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Mike Gran Subject: Re: bug#13611: SEGV during SMOB GC References: <1359838300.89158.YahooMailNeo@web120405.mail.ne1.yahoo.com> <87y5f3t6o8.fsf@gnu.org> <1360081788.3781.YahooMailNeo@web120406.mail.ne1.yahoo.com> <876226sogd.fsf@gnu.org> <1360083888.57707.YahooMailNeo@web120402.mail.ne1.yahoo.com> <87a9rih3bu.fsf@gnu.org> <1360126578.13840.YahooMailNeo@web120401.mail.ne1.yahoo.com> Date: Fri, 01 Mar 2013 18:02:32 +0100 In-Reply-To: <1360126578.13840.YahooMailNeo@web120401.mail.ne1.yahoo.com> (Mike Gran's message of "Tue, 5 Feb 2013 20:56:18 -0800 (PST)") Message-ID: <87txov6ok7.fsf@gnu.org> User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Mike, AFAICS, commit 01b69e7 fixes the problem for me. I tested with your test-smob-mark.c program, both with a 7.2ish and 7.3ish libgc. Can you confirm that it works for you, and commit your test case with the changes as discussed on the list? [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] X-Debbugs-Envelope-To: 13611 Cc: 13611@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Mike, AFAICS, commit 01b69e7 fixes the problem for me. I tested with your test-smob-mark.c program, both with a 7.2ish and 7.3ish libgc. Can you confirm that it works for you, and commit your test case with the changes as discussed on the list? [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4998] Hi Mike, AFAICS, commit 01b69e7 fixes the problem for me. I tested with your test-smob-mark.c program, both with a 7.2ish and 7.3ish libgc. Can you confirm that it works for you, and commit your test case with the changes as discussed on the list? Thanks! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 13 08:43:53 2013 Received: (at 13611-done) by debbugs.gnu.org; 13 Mar 2013 12:43:53 +0000 Received: from localhost ([127.0.0.1]:50557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UFl28-0005wm-F7 for submit@debbugs.gnu.org; Wed, 13 Mar 2013 08:43:53 -0400 Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:56682 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UFl24-0005wd-VF for 13611-done@debbugs.gnu.org; Wed, 13 Mar 2013 08:43:50 -0400 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id E4DBBB46D; Wed, 13 Mar 2013 08:42:42 -0400 (EDT) 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:content-transfer-encoding; s=sasl; bh=H/nBFVXXrysd V8s63l72bsH22kw=; b=jtp9uH9nuY+0+vDkstZ7jVyuYoWbviWX2VcvwXcE72ou WNoVX/I3/4z3qsV2JYJX4kBv39XhiXZ8fqhoF8QegHYXzpJRGzymoR7okGH+M3G0 Fbu/fupKCdaFpoKKYI7b5DeaIqkH7w9th1pmCfZ7f7RPDNiJm1ch4LmdXi7FY4o= 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:content-transfer-encoding; q=dns; s=sasl; b=pZI3dg w6fesYSlC/pra8WYgP9Kpnsw6IMcw2Mp8e752tg/PP0QdHuegHk8GMmwUOs3WlPz AKzF6aAJlFMc9lkffqRAjnD7wqSNBd1BYf4MM/ZDOVGAzXpAQ+W4Qam5X3xRtbxD mSxk9PTUGfxBP73OBuzgKgD8UpQAg50evuIZQ= Received: from a-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id DDD51B46C; Wed, 13 Mar 2013 08:42:42 -0400 (EDT) Received: from badger (unknown [88.160.190.192]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 5DADBB46B; Wed, 13 Mar 2013 08:42:42 -0400 (EDT) From: Andy Wingo To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: bug#13611: SEGV during SMOB GC References: <1359838300.89158.YahooMailNeo@web120405.mail.ne1.yahoo.com> <87y5f3t6o8.fsf@gnu.org> <1360081788.3781.YahooMailNeo@web120406.mail.ne1.yahoo.com> <876226sogd.fsf@gnu.org> <1360083888.57707.YahooMailNeo@web120402.mail.ne1.yahoo.com> <87a9rih3bu.fsf@gnu.org> <1360126578.13840.YahooMailNeo@web120401.mail.ne1.yahoo.com> <87txov6ok7.fsf@gnu.org> Date: Wed, 13 Mar 2013 13:42:38 +0100 In-Reply-To: <87txov6ok7.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Fri, 01 Mar 2013 18:02:32 +0100") Message-ID: <87obenh3nl.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Pobox-Relay-ID: 7F57A1F0-8BDB-11E2-9545-59240E5B5709-02397024!a-pb-sasl-quonix.pobox.com X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: 13611-done Cc: 13611-done@debbugs.gnu.org, Mike Gran X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.3 (----) On Fri 01 Mar 2013 18:02, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > AFAICS, commit 01b69e7 fixes the problem for me. I tested with your > test-smob-mark.c program, both with a 7.2ish and 7.3ish libgc. > > Can you confirm that it works for you, and commit your test case with > the changes as discussed on the list? Changes committed, closing bug. Thanks, all! Andy --=20 http://wingolog.org/ From unknown Mon Jun 23 23:49:06 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 11 Apr 2013 11:24:04 +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