GNU bug report logs - #37827
Segfault in guile build on mac os 10.15 / xcode 11?

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guile; Reported by: Dan Kegel <dank@HIDDEN>; dated Sat, 19 Oct 2019 23:19:01 UTC; Maintainer for guile is bug-guile@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Oct 2019 00:31:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 20 20:31:09 2019
Received: from localhost ([127.0.0.1]:55482 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iMLbJ-0007uQ-KM
	for submit <at> debbugs.gnu.org; Sun, 20 Oct 2019 20:31:09 -0400
Received: from lists.gnu.org ([209.51.188.17]:45312)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <daniel.r.kegel@HIDDEN>) id 1iMLbI-0007uJ-QC
 for submit <at> debbugs.gnu.org; Sun, 20 Oct 2019 20:31:09 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:41941)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <daniel.r.kegel@HIDDEN>) id 1iMLbG-0006zm-T8
 for bug-guile@HIDDEN; Sun, 20 Oct 2019 20:31:08 -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,
 RCVD_IN_DNSWL_NONE,URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <daniel.r.kegel@HIDDEN>) id 1iMLbE-0002TG-VO
 for bug-guile@HIDDEN; Sun, 20 Oct 2019 20:31:06 -0400
Received: from mail-pf1-f180.google.com ([209.85.210.180]:38452)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <daniel.r.kegel@HIDDEN>)
 id 1iMLbD-0002SO-9b
 for bug-guile@HIDDEN; Sun, 20 Oct 2019 20:31:04 -0400
Received: by mail-pf1-f180.google.com with SMTP id h195so7262614pfe.5
 for <bug-guile@HIDDEN>; Sun, 20 Oct 2019 17:31:02 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to;
 bh=zb2uYgYMmoF8Cx+4Vr/wXd3dOAM3g9BEKPRt3f5zXqI=;
 b=EbYG91wKMV+oxds+OTFFm4aLvqg5I4zVS2NcpRIMJGOlcAqXczMNLYz2hGY1M3aqzO
 F1gd9NMekLrTVGNcWAAu9rhuQRSYxCGH+oOOPWf9YmiYvlIokptFgN7E4aCpWD1ojVR+
 j7YdjI7l2RNP3CUXl0AuwRQGImj92eLH6lPIDjqh9cwR4dzdWmDZmjSWVZftGC0sQ5FW
 jZ9iqCp7RDjw3Oy87uK7IC2jOMCvC4R2dj6GG3ugnMUTFfBB9rMvEipPHaO9Q+vHcrFI
 X0moO0SGiVnm/Ec2hkrhmvdiZI12FAA1Rb1ktjEIh62RRynB714mpGIIMKKJpYOxbRSN
 JBZQ==
X-Gm-Message-State: APjAAAWjoX9RDS1hQYH15R0OBgBNF7XGzKGYH0x73B9BgVrup49g9aLJ
 zK9DoplMbW1qo+n4VgnJpz7t8jNE8/vZAvJeSJ+oF4MgKRQ=
X-Google-Smtp-Source: APXvYqzOLpv0qjxodvxwH8KOZsXnzoFeTdm8wW3tXdJRlXc2r7rLCEx6zHbg+TMVqkoYeqOVyVOekYDF6WFSbcQ38KA=
X-Received: by 2002:a63:1b07:: with SMTP id b7mr22342130pgb.166.1571617860609; 
 Sun, 20 Oct 2019 17:31:00 -0700 (PDT)
MIME-Version: 1.0
References: <CAPF-yOa6xVNQmpzbnhmR3fpM0KgECn9GrYHXansM8oZ1ZDNyOA@HIDDEN>
 <CAPF-yOZKMea5rUKa-_Q8gDx8Xby2gHf+2MZ8ZN0XADS7=7Mg9g@HIDDEN>
 <CAPF-yObgPxg445xfYjw+TqG8wqs7vZOSm_aQ+axWc-ypHvUFSA@HIDDEN>
In-Reply-To: <CAPF-yObgPxg445xfYjw+TqG8wqs7vZOSm_aQ+axWc-ypHvUFSA@HIDDEN>
From: Dan Kegel <dank@HIDDEN>
Date: Sun, 20 Oct 2019 17:30:49 -0700
Message-ID: <CAPF-yOaxs99fAJJJJweVuKx_z7DTktkuL9xT4dKLg07288VQCQ@HIDDEN>
Subject: Re: Segfault in guile build on mac os 10.15 / xcode 11?
To: bug-guile@HIDDEN
Content-Type: text/plain; charset="UTF-8"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 209.85.210.180
X-Spam-Score: -1.1 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.1 (--)

They did.  See
https://forums.developer.apple.com/thread/121887
https://github.com/jedisct1/libsodium/issues/848
https://bitbucket.org/multicoreware/x265/issues/514/wrong-code-generated-on-macos-1015
https://github.com/Homebrew/homebrew-core/issues/45602
Evidently Apple turns -fstack-check on by default on mac os 10.15,
which exposed this bug.
One workaround is to add -fno-stack-check when compiling anything on
Mac OS 10.15.
Hopefully it'll be fixed in xcode 11.2.

On Sat, Oct 19, 2019 at 9:48 PM Dan Kegel <dank@HIDDEN> wrote:
>
> Verified that the problem happens even with xcode 11.1.  Filed a bug
> with the brew folks,
> https://github.com/Homebrew/homebrew-core/issues/45602
> in case they have any bright ideas.




Information forwarded to bug-guile@HIDDEN:
bug#37827; Package guile. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 20 Oct 2019 04:49:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 20 00:49:10 2019
Received: from localhost ([127.0.0.1]:53680 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iM39S-0006He-Aq
	for submit <at> debbugs.gnu.org; Sun, 20 Oct 2019 00:49:10 -0400
Received: from lists.gnu.org ([209.51.188.17]:38366)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <daniel.r.kegel@HIDDEN>) id 1iM39P-0006HU-JW
 for submit <at> debbugs.gnu.org; Sun, 20 Oct 2019 00:49:08 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:45682)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <daniel.r.kegel@HIDDEN>) id 1iM39O-0001W9-Cl
 for bug-guile@HIDDEN; Sun, 20 Oct 2019 00:49:07 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_50,BODY_URI_ONLY,
 FREEMAIL_FROM,RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <daniel.r.kegel@HIDDEN>) id 1iM39N-0005NR-DT
 for bug-guile@HIDDEN; Sun, 20 Oct 2019 00:49:06 -0400
Received: from mail-pl1-f172.google.com ([209.85.214.172]:42390)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <daniel.r.kegel@HIDDEN>)
 id 1iM39N-0005N1-8E
 for bug-guile@HIDDEN; Sun, 20 Oct 2019 00:49:05 -0400
Received: by mail-pl1-f172.google.com with SMTP id c16so1124138plz.9
 for <bug-guile@HIDDEN>; Sat, 19 Oct 2019 21:49:05 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to;
 bh=SYI+Ej+EACQVPQ8CU32SjcxUsWWu0D8D/rNmKKRCwvs=;
 b=lkbRq9t+B2r/SZvSlsyG4IgzoMCkEr/mLJJ7VJEXcEd85XZZg6yGMUcSEC1TdVc/g6
 dPA6VEjnKj2rQg5ocuyWapDvdsdxpfLamv4a/d7JyHtVvZ5mCMvYulAP1L+r/N7kkLgV
 Sg2ufQQAlVsMu3NMSorYdi4NwY8ccBa23CfHk8TN6TqFDOKT/TaQXytuTzm29yLXJPGe
 a+lUELnQiwehQWPH5rrArIAXGSKWRhs3NVu1LNVN/abC3GBoIYeuez6txkuEaLEo0H0I
 2JyEx+cAH8TIy3DhEmRWFDhIn55WFGjEgzLeIZRAAfy7KaxORYbsYBxuh6zZ/nwLEGQ7
 yixA==
X-Gm-Message-State: APjAAAVain42MsZCkvb4EX7ChTz28GDjpU+1D+/qDD/xox7Yj+LEOppD
 vpPvARepA6F0bgzRj+UaIQ+It4Ivqh32/CJb8LjwXSQfcWg=
X-Google-Smtp-Source: APXvYqwIuH76Buvho+CXd/ADc29yO7ozZx8hFhGm0/MrwJCuT+T42ybwovBvCmXHF79DH2E3e32/EoUEMMAM0CAwf3s=
X-Received: by 2002:a17:902:b703:: with SMTP id
 d3mr18851318pls.194.1571546943856; 
 Sat, 19 Oct 2019 21:49:03 -0700 (PDT)
MIME-Version: 1.0
References: <CAPF-yOa6xVNQmpzbnhmR3fpM0KgECn9GrYHXansM8oZ1ZDNyOA@HIDDEN>
 <CAPF-yOZKMea5rUKa-_Q8gDx8Xby2gHf+2MZ8ZN0XADS7=7Mg9g@HIDDEN>
In-Reply-To: <CAPF-yOZKMea5rUKa-_Q8gDx8Xby2gHf+2MZ8ZN0XADS7=7Mg9g@HIDDEN>
From: Dan Kegel <dank@HIDDEN>
Date: Sat, 19 Oct 2019 21:48:52 -0700
Message-ID: <CAPF-yObgPxg445xfYjw+TqG8wqs7vZOSm_aQ+axWc-ypHvUFSA@HIDDEN>
Subject: Re: Segfault in guile build on mac os 10.15 / xcode 11?
To: bug-guile@HIDDEN
Content-Type: text/plain; charset="UTF-8"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 209.85.214.172
X-Spam-Score: -0.1 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.1 (-)

Verified that the problem happens even with xcode 11.1.  Filed a bug
with the brew folks,
https://github.com/Homebrew/homebrew-core/issues/45602
in case they have any bright ideas.




Information forwarded to bug-guile@HIDDEN:
bug#37827; Package guile. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Oct 2019 23:36:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 19 19:36:15 2019
Received: from localhost ([127.0.0.1]:53647 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iLyGc-00074q-OY
	for submit <at> debbugs.gnu.org; Sat, 19 Oct 2019 19:36:15 -0400
Received: from lists.gnu.org ([209.51.188.17]:52481)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <daniel.r.kegel@HIDDEN>) id 1iLyGa-00074j-Q8
 for submit <at> debbugs.gnu.org; Sat, 19 Oct 2019 19:36:13 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:33693)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <daniel.r.kegel@HIDDEN>) id 1iLyGZ-0006fG-Q1
 for bug-guile@HIDDEN; Sat, 19 Oct 2019 19:36: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,
 RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <daniel.r.kegel@HIDDEN>) id 1iLyGY-0007oI-T3
 for bug-guile@HIDDEN; Sat, 19 Oct 2019 19:36:11 -0400
Received: from mail-pl1-f181.google.com ([209.85.214.181]:35926)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <daniel.r.kegel@HIDDEN>)
 id 1iLyGY-0007o9-Nm
 for bug-guile@HIDDEN; Sat, 19 Oct 2019 19:36:10 -0400
Received: by mail-pl1-f181.google.com with SMTP id j11so4674845plk.3
 for <bug-guile@HIDDEN>; Sat, 19 Oct 2019 16:36:10 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to;
 bh=+0tStsID2iCHW2D3YFglqPAm/xKQPAgWBBRg256/41s=;
 b=X+genJOfquHx/g/WH9eCfNWgEByKsSUqyt6flSLLlHwtfRYuz1RBR+ThdyFo6xYxkK
 U1yWA80tNzJUrPd7kt4JvzuNaiA98TTbHmlim4BL6etdbpDyNWruMvhzuVfyYM7+1/6Q
 mMvdQGIcGFbJSsgkRIDusrfM2bcrVNI31LT8v7qDHd6m/SyId+gz1QwcN1kObxRr8Lk9
 hR8slqd4PYbwNLXONeQDzZUe4L/HKqevhazp8yJ1/obhIpS2dTa7oSsXVFyLdLDDRpS+
 jUJPtRU/Dd23GQWIeFJGPuWWM4OJc7YzDa26q30CWCgNWb6gG/MQiTwmJGBjtC95XXsc
 iBhw==
X-Gm-Message-State: APjAAAVhOISYoxBNnpFnX8MmrlR9nEh+weD7hjxvJF25++1/Cu2H/fuY
 UnC574cKSKYc6TjVmNNRkK6+My1EajQHCV+aHVmYuqET
X-Google-Smtp-Source: APXvYqzz+CmPqAMQFhvp17ZoRRXMM28SuZO5s3PUpN8yk/9Amiq7UII3YmXIgyCR73KUg40NWvq/afyqZbWmOuXJI6s=
X-Received: by 2002:a17:902:126:: with SMTP id
 35mr17465246plb.327.1571528169047; 
 Sat, 19 Oct 2019 16:36:09 -0700 (PDT)
MIME-Version: 1.0
References: <CAPF-yOa6xVNQmpzbnhmR3fpM0KgECn9GrYHXansM8oZ1ZDNyOA@HIDDEN>
In-Reply-To: <CAPF-yOa6xVNQmpzbnhmR3fpM0KgECn9GrYHXansM8oZ1ZDNyOA@HIDDEN>
From: Dan Kegel <dank@HIDDEN>
Date: Sat, 19 Oct 2019 16:35:58 -0700
Message-ID: <CAPF-yOZKMea5rUKa-_Q8gDx8Xby2gHf+2MZ8ZN0XADS7=7Mg9g@HIDDEN>
Subject: Re: Segfault in guile build on mac os 10.15 / xcode 11?
To: bug-guile@HIDDEN
Content-Type: text/plain; charset="UTF-8"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 209.85.214.181
X-Spam-Score: -1.1 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.1 (--)

Simpler way to reproduce:

$ brew install -s guile

:-)

So it's not just me!




Information forwarded to bug-guile@HIDDEN:
bug#37827; Package guile. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Oct 2019 23:18:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 19 19:18:17 2019
Received: from localhost ([127.0.0.1]:53641 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iLxzF-0006d8-0C
	for submit <at> debbugs.gnu.org; Sat, 19 Oct 2019 19:18:17 -0400
Received: from lists.gnu.org ([209.51.188.17]:33555)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <daniel.r.kegel@HIDDEN>) id 1iLxzD-0006d1-3M
 for submit <at> debbugs.gnu.org; Sat, 19 Oct 2019 19:18:15 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:32795)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <daniel.r.kegel@HIDDEN>) id 1iLxzB-0003C2-K0
 for bug-guile@HIDDEN; Sat, 19 Oct 2019 19:18:14 -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,
 RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <daniel.r.kegel@HIDDEN>) id 1iLxzA-0006GC-8x
 for bug-guile@HIDDEN; Sat, 19 Oct 2019 19:18:13 -0400
Received: from mail-pg1-f174.google.com ([209.85.215.174]:37038)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <daniel.r.kegel@HIDDEN>)
 id 1iLxzA-0006Fu-3X
 for bug-guile@HIDDEN; Sat, 19 Oct 2019 19:18:12 -0400
Received: by mail-pg1-f174.google.com with SMTP id p1so5392492pgi.4
 for <bug-guile@HIDDEN>; Sat, 19 Oct 2019 16:18:11 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to
 :content-transfer-encoding;
 bh=CklL50LVBOWzFJqOIdsRKC9WAZ3GyZ/vyATVOBr634Q=;
 b=oREjjg7j00lQY6w5mkxRvmRkl7JDYPK7zMsaoLOuybWOHOrmESNtOeZrrUYcL5FMQ1
 mOWJqRZljXx5nXLf+lyO7lgGsXEwlWevHH9N/MauSL4ULqCm0v+E3Ch2DRPWBVZWgMjO
 wjiPL/h008211+PL7emO/JPtHm4U+zZ1vAU2+JC6eF9jykdHR/gQXndgsEydNacsXk4S
 S78ATUD1h80m/eSWYpW5DQJSRP4BBkG9nYkZhQrdlNOhn+LE/3gKVIebQS8WMnSI1dlE
 oerCTG9E//8S1n6hMdIi/B+Jn9Yzn5ohgeYG8a9LiXwoGpX3ZAyipeSd7QyXYwiI1J5q
 8NTQ==
X-Gm-Message-State: APjAAAXKTQ5XaZ43QdtTVI4gekF3UDL4qxHY40qvyRgIheG0XDG72zPz
 gildMPr447n3WGL9tgU3JgE8xF7W4F1Fdgs8IFcpQ1dY1q8=
X-Google-Smtp-Source: APXvYqwGKsXf5FbDLCx0oTbdcNXQH1/BBCmU5wqpbvTWjXTds2oN/qDMfWkHriLsi6EfZ93hre9XHLpPBTolo/nhRN4=
X-Received: by 2002:a63:3fce:: with SMTP id
 m197mr15611305pga.328.1571527089901; 
 Sat, 19 Oct 2019 16:18:09 -0700 (PDT)
MIME-Version: 1.0
From: Dan Kegel <dank@HIDDEN>
Date: Sat, 19 Oct 2019 16:17:58 -0700
Message-ID: <CAPF-yOa6xVNQmpzbnhmR3fpM0KgECn9GrYHXansM8oZ1ZDNyOA@HIDDEN>
Subject: Segfault in guile build on mac os 10.15 / xcode 11?
To: bug-guile@HIDDEN
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 209.85.215.174
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.1 (--)

I build guile and a few other things (including libgc, libffi,
libintl, libunistring, libgmp, and libltdl) locally using a
reproducible script.
I've been using it on linux and mac since the days of ubuntu 12.04 and
osx 10.8, and have kept it updated to work up through ubuntu 18.04 and
os 10.15 beta (as of 3 months ago).

Today I tried running it on final mac os 10.15 and more up to date xcode 11=
.
It explodes repeatably while building guile; the log shows

      4880 Segmentation fault: 11  | GUILE_AUTO_COMPILE=3D0
../meta/build-env guild snarf-check-and-output-texi >
guile-procedures.texi
make[3]: *** [guile-procedures.texi] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

This is with either guile-2.2.3 or 2.2.6.

~/Library/Logs/DiagnosticReports/guile_2019-10-19-154334_rbb-osx1015-2.cras=
h
shows a backtrace:

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libguile-2.2.1.dylib                0x0000000101e23e14
scm_i_symbol_chars + 4 (strings.c:818)
1   libguile-2.2.1.dylib                0x0000000101e2a1da
scm_i_struct_inherit_vtable_magic + 42 (struct.c:204)
2   libguile-2.2.1.dylib                0x0000000101e2a7f9
scm_c_make_structv + 329 (struct.c:507)
3   libguile-2.2.1.dylib                0x0000000101e2ab7c
scm_c_make_struct + 236
4   libguile-2.2.1.dylib                0x0000000101e2bc9b
scm_init_struct + 219 (struct.c:1088)
5   libguile-2.2.1.dylib                0x0000000101dc3a71
scm_i_init_guile + 129 (init.c:413)
6   libguile-2.2.1.dylib                0x0000000101e2cf08
scm_i_init_thread_for_guile + 120 (threads.c:590)
7   libguile-2.2.1.dylib                0x0000000101e2f1b9 with_guile
+ 25 (threads.c:654)
8   libgc.1.dylib                       0x0000000101f441bb
GC_call_with_stack_base + 27
9   libguile-2.2.1.dylib                0x0000000101e2cf6b
scm_with_guile + 43 (threads.c:710)
10  libguile-2.2.1.dylib                0x0000000101dc3995
scm_boot_guile + 69 (init.c:329)
11  guile                               0x0000000101d88e9f main + 191
(guile.c:102)
12  libdyld.dylib                       0x00007fff64dd6405 start + 1
...

 812 const char *
 813 scm_i_symbol_chars (SCM sym)
 814 {
 815   SCM buf;
 816
 817   buf =3D SYMBOL_STRINGBUF (sym);
 818   if (!STRINGBUF_WIDE (buf))
 819     return (const char *) STRINGBUF_CHARS (buf);

I tried to get the OS to generate a full core dump, but apple's
instructions to make sure /cores is
writable fail on os 10.15.  Maybe if I turn off SIP, but I can't do
that until Monday.

I can reproduce the problem by running just

GUILE_AUTO_COMPILE=3D0 meta/build-env guild

in the top level of the source tree, but I haven't figured out how to
reproduce it in lldb yet.

I tried unwinding all the wrappers, e.g.

tail +5 meta/guild > guild.txt
# do what meta-env would do:
export GUILE=3D/Users/buildbot/src/yobuild/recipes/guile/btmp/guile-2.2.6/l=
ibguile/guile
export GUILE_LOAD_COMPILED_PATH=3D/Users/buildbot/src/yobuild/recipes/guile=
/btmp/guile-2.2.6/module:/Users/buildbot/src/yobuild/recipes/guile/btmp/gui=
le-2.2.6/bootstrap:/Users/buildbot/src/yobuild/recipes/guile/btmp/guile-2.2=
.6/prebuilt/64-bit-little-endian:/Users/buildbot/src/yobuild/recipes/guile/=
btmp/guile-2.2.6/guile-readline
export GUILE_LOAD_PATH=3D/Users/buildbot/src/yobuild/recipes/guile/btmp/gui=
le-2.2.6/module:/Users/buildbot/src/yobuild/recipes/guile/btmp/guile-2.2.6/=
guile-readline
export GUILE_SYSTEM_COMPILED_PATH=3D
export GUILE_SYSTEM_EXTENSIONS_PATH=3D
export GUILE_SYSTEM_PATH=3D
export LTDL_LIBRARY_PATH=3D/Users/buildbot/src/yobuild/recipes/guile/btmp/g=
uile-2.2.6/libguile:/Users/buildbot/src/yobuild/recipes/guile/btmp/guile-2.=
2.6/guile-readline
export PATH=3D/Users/buildbot/src/yobuild/recipes/guile/btmp/guile-2.2.6/me=
ta:/Users/buildbot/src/yobuild/recipes/guile/btmp/guile-2.2.6/libguile:/usr=
/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Library/Ap=
ple/bin:/opt/X11/bin:/Users/buildbot/Library/Python/3.7/bin
export PKG_CONFIG_PATH=3D/Users/buildbot/src/yobuild/recipes/guile/btmp/gui=
le-2.2.6/meta
export XDG_CACHE_HOME=3D/Users/buildbot/src/yobuild/recipes/guile/btmp/guil=
e-2.2.6/cache
export GUILE_AUTO_COMPILE=3D0
$GUILE  -e '(@@ (guild) main)' guild.txt

That still crashes, and so does replacing the last line with

/Users/buildbot/src/yobuild/recipes/guile/btmp/guile-2.2.6/libguile/.libs/g=
uile
-e '(@@ (guild) main)' guild.txt

but alas replacing the last line with

lldb /Users/buildbot/src/yobuild/recipes/guile/btmp/guile-2.2.6/libguile/.l=
ibs/guile
-- -e '(@@ (guild) main)' guild.txt

and running it just exits with status -1.




Acknowledgement sent to Dan Kegel <dank@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#37827; Package guile. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.