From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Matt Wette Newsgroups: gmane.lisp.guile.devel Subject: Re: GNU Guile 2.1.5 released (beta) Date: Sat, 10 Dec 2016 16:42:47 -0800 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1481417077 18995 195.159.176.226 (11 Dec 2016 00:44:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 11 Dec 2016 00:44:37 +0000 (UTC) Cc: Andy Wingo , guile-devel@gnu.org To: Daniel Llorens Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Dec 11 01:44:33 2016 Return-path: Envelope-to: guile-devel@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 1cFsFk-0003Wc-WB for guile-devel@m.gmane.org; Sun, 11 Dec 2016 01:44:33 +0100 Original-Received: from localhost ([::1]:53609 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cFsFl-00061X-SJ for guile-devel@m.gmane.org; Sat, 10 Dec 2016 19:44:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cFsFU-00061F-RC for guile-devel@gnu.org; Sat, 10 Dec 2016 19:44:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cFsFR-00014G-I0 for guile-devel@gnu.org; Sat, 10 Dec 2016 19:44:16 -0500 Original-Received: from mail-pf0-f195.google.com ([209.85.192.195]:35966) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cFsFR-000112-BA for guile-devel@gnu.org; Sat, 10 Dec 2016 19:44:13 -0500 Original-Received: by mail-pf0-f195.google.com with SMTP id c4so2771638pfb.3 for ; Sat, 10 Dec 2016 16:43:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=RQNDaVhfdxt+1bm5TiO9a6W7NzOhmGvPLkmXX+5FAxI=; b=cYMnQtfujuU6l6v3DL813epGd5WLwPJB2eGCs2bwqGzVNfDnYRk9EHm7ofzoKK2VQz Av98t8L86WWvDq/XQl5Bk/+3eJqWBHvvE00frnNRigH83fIesXYdti53yPpZysKdoKXn 9rHRHA6wuJHQDkpcojFJr5Z8+q3G3SYW4uB9MYImOkVVpavz5VtVmdMlv5tp0Lq/bGvq KatU3QPiVeWLqvp2n9f3gnI1xVbHtaiGk/GQMXP8eNLt8sRnhQDXAAHBZqy4V/ghWG+3 Y9nSZRWeoAQAMbG6pp6/o5ZDsxMIcwDqKwqKVxyq1s7j/J7RLbl9RWqaHvTIaF7j9M0n vcFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=RQNDaVhfdxt+1bm5TiO9a6W7NzOhmGvPLkmXX+5FAxI=; b=CZDOedwVAhFkz/Mg6WpSYstn6A/aSCiATdUhjiXIE+T5jcvCIRzsSWuh/SjFd0RXPR t07trGL2yJvVHq6HidxyrMAzyATZ/c4CwerdHqQCVr9paCszDftuUezGoEeo4/uFhj4j k510q7P56tZvkfRWpZaAawMNFAzbT6kAclD6zPwRUz7Yn9+mcnT3kByO+91Cnj9WQmFU 4AOPL+QHMzNQVPbbPyA9s48pbq25nZ7m+4PHaCGUXsZZd4dWxJk5VSFbiERGFcH/iYSI /j00OICAW7eSeNgS2qIaAJunTkk8+5LVLK/n+Il3mgTFPBzooQ6GYlLlZXzYADD+t7/7 BOZw== X-Gm-Message-State: AKaTC034VVQZ7beuLMMc4VaXK7ib16Qp8JQVBCgxW8jJ6t2Zs/tbIpMiCLunBbcdpHV/LQ== X-Received: by 10.84.217.70 with SMTP id e6mr171058933plj.161.1481416970536; Sat, 10 Dec 2016 16:42:50 -0800 (PST) Original-Received: from nautilus.championbroadband.com (216-165-246-244.championbroadband.com. [216.165.246.244]) by smtp.gmail.com with ESMTPSA id 71sm66859400pft.25.2016.12.10.16.42.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 10 Dec 2016 16:42:49 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3251) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.192.195 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:18782 Archived-At: On Dec 10, 2016, at 9:11 AM, Daniel Llorens = wrote: >=20 >=20 >>> Make check is failing on test-language, so I will be chasing that = down. >=20 >=20 > FWIW this is the only test that fails on 10.9.5 and the backtrace = looks identical too. The problem appears in libguile/loader.c, alloc_aligned(). Check the = value of =E2=80=9Cret=E2=80=9D I get after malloc and after the = alignment. I started looking at type size for uintptr_t vs char* but = then got confused why guile is being compiled as x86_64, but my test = programs are always x86 alignment=3D4096 /* This function leaks the memory that it allocates. */ static char* alloc_aligned (size_t len, unsigned alignment) { char *ret; if (alignment =3D=3D 8) { /* FIXME: Assert that we actually have an 8-byte-aligned malloc. = */ ret =3D malloc (len); } #if defined(HAVE_SYS_MMAN_H) && defined(MMAP_ANONYMOUS) else if (alignment =3D=3D SCM_PAGE_SIZE) { ret =3D mmap (NULL, len, PROT_READ | PROT_WRITE, -1, 0); if (ret =3D=3D MAP_FAILED) SCM_SYSERROR; } #endif else { if (len + alignment < len) abort (); ret =3D malloc (len + alignment - 1); ret=3D0x0000000104000000 if (!ret) abort (); ret =3D (char *) ALIGN ((scm_t_uintptr) ret, alignment); ret=3D0x0000000004000000 } return ret; }