From owner-freebsd-haskell@freebsd.org Wed Jun 13 18:01:46 2018 Return-Path: Delivered-To: freebsd-haskell@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7E75E100154F for ; Wed, 13 Jun 2018 18:01:46 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 063A6710B8 for ; Wed, 13 Jun 2018 18:01:46 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id B41BF100154D; Wed, 13 Jun 2018 18:01:45 +0000 (UTC) Delivered-To: haskell@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 547311001546 for ; Wed, 13 Jun 2018 18:01:45 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-pl0-x22f.google.com (mail-pl0-x22f.google.com [IPv6:2607:f8b0:400e:c01::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E3B1A710B0 for ; Wed, 13 Jun 2018 18:01:44 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mail-pl0-x22f.google.com with SMTP id k1-v6so1983361plt.2 for ; Wed, 13 Jun 2018 11:01:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=GgW+nl9O0iJ2EyNy6Ca+QSKXayyD5oHjHaswyEFsgSo=; b=bR2LS1gPHevjVmsfjHY+LjjWutLDjUdZ/I4RP17h+QuOPvnR1rJUxIQehUv3qUiMpw RZoiC8Nm8oBI6G7T2nE2pUwAtu1HPreM9x11wCr0//pteq8HPadoVVPY27E8/irvsSjg 3fgx5/hyBpW9txzND+a/5oU3AZzobVd4yOL2kEfrzcXUWQiYFxnhKyX5jaDVeelFSwt/ xUr1wJDYnrKFc5NatKvp6Rkyx0rt1XgA7DA67ulH/5jUcD3+A9ooBRxWN/xm92/hIMgH jvKemN0ralpTtqJTZReQr3oorqEUlJRcczYgdZWR9TQo7sQN7k4zxj1Q6fB3XQwQUTTp ivFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=GgW+nl9O0iJ2EyNy6Ca+QSKXayyD5oHjHaswyEFsgSo=; b=D0w2vH+l598sm7Wo9taoYL1sQHv2DTpeDJiPbnVpXlsiFsAkKUI+i4cQ7QWxRb6ugf JZhLQushO29Tr8x3DqBR9efeYPnp2MHvCieWJQiq8ArFYFCC3cQd8gItLAmEQRiA/2qA XyZYZmGBZqobXsV62IwkUFpVf1eLay7J1f2mIuhxvmmMigQblbM5rNSkFqkfGa9E7UPL M0bjYMInNq2PjPU1rCQqcVvZb08KZJC+7K0BXf730oD1/sZrvXVU20/i4FWCBvShBl61 JHuNfZLDsXA4FkegC5Jtc210cz2S4PpINc4xSo4hFj/W6e7zOAqqcGYOSeKmgluZa4UK MRFg== X-Gm-Message-State: APt69E2sgTXOqh/xfq+0ZD8/FxTW2aUNCTsZu1u32u3eh10QSgH5i9kF ZS2A2z/C85tkYoiahS2J9Mn36nMqoO8zwKXaFootbds2 X-Google-Smtp-Source: ADUXVKKM+V+W4tHOs9QoPMqbOjdsxQoU+3DnuPbuoPqOvTH+zszbEmESHA8uLGs4a6YITF+26gUZqPyiSg0Y75hbce4= X-Received: by 2002:a17:902:ba8a:: with SMTP id k10-v6mr6198382pls.338.1528912904030; Wed, 13 Jun 2018 11:01:44 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:90a:556:0:0:0:0 with HTTP; Wed, 13 Jun 2018 11:01:13 -0700 (PDT) In-Reply-To: References: From: Gleb Popov <6yearold@gmail.com> Date: Wed, 13 Jun 2018 21:01:13 +0300 Message-ID: Subject: Re: haskell ports failing with signal 10 in poudriere: To: Eitan Adler Cc: haskell@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-haskell@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: FreeBSD-specific Haskell issues and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2018 18:01:46 -0000 On Wed, Jun 13, 2018 at 8:11 PM, Eitan Adler wrote: > On 13 June 2018 at 07:43, Gleb Popov <6yearold@gmail.com> wrote: > > > > > > On Wed, Jun 13, 2018 at 3:26 PM, Eitan Adler > wrote: > >> > >> On 12 June 2018 at 09:50, Gleb Popov <6yearold@gmail.com> wrote: > >> > > >> > > >> > On Tue, Jun 12, 2018 at 7:41 PM, Eitan Adler > >> > wrote: > >> >> > >> >> On 12 June 2018 at 03:54, Gleb Popov <6yearold@gmail.com> wrote: > >> >> > > >> >> > > >> >> > On Mon, Jun 11, 2018 at 6:53 PM, Eitan Adler > > >> >> > wrote: > >> >> >> > >> >> >> On 11 June 2018 at 00:28, Gleb Popov <6yearold@gmail.com> wrote: > >> >> >> > > >> >> >> > > >> >> >> > On Mon, Jun 11, 2018 at 2:52 AM, Eitan Adler > >> >> >> > > >> >> >> > wrote: > >> >> >> >> > >> >> >> >> On 10 June 2018 at 12:59, Gleb Popov <6yearold@gmail.com> > wrote: > >> >> >> >> > > >> >> >> >> > > >> >> >> >> > On Sun, Jun 10, 2018 at 10:30 PM, Eitan Adler > >> >> >> >> > > >> >> >> >> > wrote: > >> >> >> >> >> > >> >> >> >> >> On 10 June 2018 at 02:03, Gleb Popov <6yearold@gmail.com> > >> >> >> >> >> wrote: > >> >> >> >> >> > > >> >> >> >> >> > > >> >> >> >> >> > On Sun, Jun 10, 2018 at 12:00 PM, Eitan Adler > >> >> >> >> >> > > >> >> >> >> >> > wrote: > >> >> >> >> >> >> > >> >> >> >> >> >> On 10 June 2018 at 01:30, Gleb Popov <6yearold@gmail.com > > > >> >> >> >> >> >> wrote: > >> >> >> >> >> >> > > >> >> >> >> >> >> > > >> >> >> >> >> >> > On Sat, Jun 9, 2018 at 8:06 AM, Eitan Adler > >> >> >> >> >> >> > > >> >> >> >> >> >> > wrote: > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> Any idea what may be wrong? > >> >> >> >> >> >> > Can't reproduce. What OS revision are you running? > >> >> >> >> >> >> > >> >> >> >> >> >> FreeBSD fasteagle 12.0-CURRENT FreeBSD 12.0-CURRENT #12 > >> >> >> >> >> >> r334863: > >> >> >> >> >> >> Fri > >> >> >> >> >> >> Jun 8 23:04:30 UTC 2018 > >> >> >> >> >> >> eax@fasteagle:/srv/obj/fbsd/ > usr/src/amd64.amd64/sys/EADLER > >> >> >> >> >> >> amd64 > >> >> >> >> >> > > >> >> >> >> >> > > >> >> >> >> >> > Mine's a bit older. Let me rebuild everything first. > >> >> >> >> >> > >> >> >> >> >> Not well researched but perhaps related to > >> >> >> >> >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214864 ? > >> >> >> >> > > >> >> >> >> > > >> >> >> >> > This should be fixed by > >> >> >> >> > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226872 > >> >> >> >> > >> >> >> >> This as in the SIGBUS or this as in the uninformed guess as to > >> >> >> >> the > >> >> >> >> cause I referenced? > >> >> >> > > >> >> >> > > >> >> >> > My English parser got a bit lost in this sentence. This is > >> >> >> > regarding > >> >> >> > switching ld to lld. GHC had problems with lld, but these were > >> >> >> > fixed > >> >> >> > in > >> >> >> > the > >> >> >> > PR I mentioned. > >> >> >> > >> >> >> So my issues are unrelated. Thanks! > >> >> > > >> >> > > >> >> > I've rebuilt everything from scratch using r334922 of base and > >> >> > hs-random > >> >> > builds fine for me. Do you still have the problem? > >> >> > >> >> Yes. > >> > > >> > > >> > Hum, maybe you can send me the ghc package you are using? > >> > >> freebsd.org/~eadler/files/ghc-8.4.2_1.txz > > > > > > Ok, your package indeed produces broken executables. Even simple Hello > world > > in haskell crashes with bus error. Debugging it gives > > > > Program received signal SIGBUS, Bus error. > > 0x000000000029e60a in new_gc_thread (n= > access memory at address 0x0>, t=) at rts/sm/GC.c:879 > > 879 rts/sm/GC.c: No such file or directory. > > (gdb) bt > > #0 0x000000000029e60a in new_gc_thread (n= Cannot > > access memory at address 0x0>, t=) at rts/sm/GC.c:879 > > #1 initGcThreads (from=, to=) at > > rts/sm/GC.c:918 > > #2 0x0000000000297040 in hs_init_ghc (argc=0x7fffffffe544, > argv= > out>, rts_config=...) at rts/RtsStartup.c:242 > > #3 0x000000000028d15d in hs_main (argc=-7392, argv=0x8, > > main_closure=, rts_config=...) at rts/RtsMain.c:57 > > #4 0x00000000002174a5 in main () > > > > However, I am unable to reproduce the issue on my side. You could try > > building ghc WITH_DEBUG=1 so we can try figure out what's wrong with RTS. > > > > I also noted that OSVERSION of your package is 68, which is even newer > that > > my recently built 67. Just to rule out base version factor, did you also > > have this problem on older version? > > Yes. I keep my system fairly up to date, so its a bit of a moving > target, but its been this way for two weeks or so now. > Stupid me! This has to be this issue: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226059 You are probably compiling with CPYTUPE=native ? > > > -- > Eitan Adler >