From owner-svn-src-head@freebsd.org Fri Aug 14 00:39:47 2020 Return-Path: Delivered-To: svn-src-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DFD533B08AD; Fri, 14 Aug 2020 00:39:47 +0000 (UTC) (envelope-from gonzo@bluezbox.com) Received: from id.bluezbox.com (id.bluezbox.com [45.55.20.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BSPhx2lvyz43GG; Fri, 14 Aug 2020 00:39:44 +0000 (UTC) (envelope-from gonzo@bluezbox.com) Received: from localhost ([127.0.0.1] helo=id.bluezbox.com) by id.bluezbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94 (FreeBSD)) (envelope-from ) id 1k6Nl1-000JLQ-00; Thu, 13 Aug 2020 17:39:43 -0700 Received: (from gonzo@localhost) by id.bluezbox.com (8.15.2/8.15.2/Submit) id 07E0dgmK074363; Thu, 13 Aug 2020 17:39:42 -0700 (PDT) (envelope-from gonzo@bluezbox.com) X-Authentication-Warning: id.bluezbox.com: gonzo set sender to gonzo@bluezbox.com using -f Date: Thu, 13 Aug 2020 17:39:42 -0700 From: Oleksandr Tymoshenko To: Ed Maste Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r364222 - in head: lib/liblua libexec/flua Message-ID: <20200814003942.GA74291@bluezbox.com> References: <202008132313.07DND57i064095@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202008132313.07DND57i064095@repo.freebsd.org> X-Operating-System: FreeBSD/11.2-RELEASE-p10 (amd64) X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: Ed Maste (emaste@FreeBSD.org) wrote: > Author: emaste > Date: Thu Aug 13 23:13:05 2020 > New Revision: 364222 > URL: https://svnweb.freebsd.org/changeset/base/364222 > > Log: > flua: support "require" [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Rspamd-Queue-Id: 4BSPhx2lvyz43GG X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of gonzo@bluezbox.com designates 45.55.20.155 as permitted sender) smtp.mailfrom=gonzo@bluezbox.com X-Spamd-Result: default: False [-2.19 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.78)[-0.782]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; DMARC_NA(0.00)[bluezbox.com]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-0.998]; NEURAL_HAM_SHORT(-0.11)[-0.109]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:45.55.0.0/19, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2020 00:39:48 -0000 Ed Maste (emaste@FreeBSD.org) wrote: > Author: emaste > Date: Thu Aug 13 23:13:05 2020 > New Revision: 364222 > URL: https://svnweb.freebsd.org/changeset/base/364222 > > Log: > flua: support "require" for binary objects in the base system > > Export symbols from flua, and enable dlopen. > > Sponsored by: The FreeBSD Foundation > Differential Revision: https://reviews.freebsd.org/D26059 > > Modified: > head/lib/liblua/luaconf.h > head/libexec/flua/Makefile Hi Ed, This change breaks the build. flua segfaults when it is called during libifconfig build. Backtrace: * thread #1, name = 'flua', stop reason = signal SIGSEGV * frame #0: 0x00000000002e166c flua.full`__je_malloc_tsd_boot0 [inlined] tsd_fetch_impl(init=true, minimal=false) at tsd.h:265:6 frame #1: 0x00000000002e166c flua.full`__je_malloc_tsd_boot0 [inlined] tsd_fetch at tsd.h:292 frame #2: 0x00000000002e166c flua.full`__je_malloc_tsd_boot0 at jemalloc_tsd.c:266 frame #3: 0x00000000002c30d5 flua.full`__malloc [inlined] malloc_init_hard at jemalloc_jemalloc.c:1527:8 frame #4: 0x00000000002c30bd flua.full`__malloc [inlined] malloc_init at jemalloc_jemalloc.c:221 frame #5: 0x00000000002c30bd flua.full`__malloc [inlined] imalloc(sopts=, dopts=) at jemalloc_jemalloc.c:1990 frame #6: 0x00000000002c2d10 flua.full`__malloc(size=1560) at jemalloc_jemalloc.c:2042 frame #7: 0x000000000027e742 flua.full`lua_newstate(f=(flua.full`l_alloc at lauxlib.c:1008), ud=0x0000000000000000) at lstate.c:299:11 frame #8: 0x000000000027e0d2 flua.full`luaL_newstate at lauxlib.c:1027:18 frame #9: 0x000000000026d316 flua.full`main(argc=3, argv=0x00007fffffffc458) at lua.c:598:18 frame #10: 0x000000000026d10f flua.full`_start(ap=, cleanup=) at crt1.c:76:7 Host build system: 12.1-RELEASE-p7 Target: arm64 -- gonzo