From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: Preview: portable dumper Date: Tue, 20 Feb 2018 17:37:04 +0100 Message-ID: <87r2pfsjm7.fsf@gmail.com> References: <1775923222.898447.1518559575706@mail.libero.it> <83inb0xkfx.fsf@gnu.org> <87o9krdftc.fsf@gmail.com> <83a7wby1x4.fsf@gnu.org> <83r2pnwftj.fsf@gnu.org> <08ac43fb-0b13-8a51-4571-11a21b8ffbdc@dancol.org> <87eflmte4j.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1519144607 6871 195.159.176.226 (20 Feb 2018 16:36:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Feb 2018 16:36:47 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux) Cc: Daniel Colascione To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 20 17:36:43 2018 Return-path: Envelope-to: ged-emacs-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 1eoAuI-0001Um-Rm for ged-emacs-devel@m.gmane.org; Tue, 20 Feb 2018 17:36:43 +0100 Original-Received: from localhost ([::1]:56448 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoAwK-00021L-P7 for ged-emacs-devel@m.gmane.org; Tue, 20 Feb 2018 11:38:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoAum-0001bC-0C for emacs-devel@gnu.org; Tue, 20 Feb 2018 11:37:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoAuj-0007Xe-DK for emacs-devel@gnu.org; Tue, 20 Feb 2018 11:37:12 -0500 Original-Received: from mail-wr0-x236.google.com ([2a00:1450:400c:c0c::236]:40295) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eoAuj-0007XB-6h for emacs-devel@gnu.org; Tue, 20 Feb 2018 11:37:09 -0500 Original-Received: by mail-wr0-x236.google.com with SMTP id o76so16161660wrb.7 for ; Tue, 20 Feb 2018 08:37:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:cc:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:user-agent :mime-version; bh=oQp+eyU6Z/1VT6IHaftJp4rX9JbO8KGIICuwYyEC7so=; b=EzLGu76QM2CrTtSdRBiChl8gPl87MNvAzaL+6DBlT53qDW33Tloocq3lG5NY33V9qi sHJOpbStOVHKu4Q90aM69bHLW/upNqiNyEltQ5tTBDIMuZGnhOl3Psqtb/xkiIGVmea2 ymWeGsKIBstWjzMpHpq6zWfKQrmPhuMPt6VU8tpKJYyNHW9RRizzaabm1nSDH6qoaUIa UB9Fgk2uNn4/j8ABN6oK0NzdMx8rTUhCsOKA9y0/ibmys6124ZTUXws68THiAxkZcgjU 5HczjDRlX/xaGaSKKy9+vPfosuK8VZW1wUHVZGbzd0NZrwoOKeSycqzsvXCxgHD0Kanb xzVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:cc:mail-followup-to :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :user-agent:mime-version; bh=oQp+eyU6Z/1VT6IHaftJp4rX9JbO8KGIICuwYyEC7so=; b=Y7jHjMjo1RbpLnqe6fxPnAHq0sJEsdrHroK2cXPrvo/f3veIYlCWTC0z5NnRDg5lsc 2oSANWJpLus1rVfwO9Tk2/zrBAvDIZMbqThk4LlmVB+QLsfvwyWeNUS2BemGG28yHITz FMFD1gv5KoUrGlbKSna44eN+Tfl4xhI4ddU6RJt6CvDV6HiCAMURYvDspOhMrk0ciXuj BQBZFg5Ni3Kqis6Qrs3d4hFQV8OibpchPnrw38LZc4/C93JUvaWdJfsn65n7w2iCJ54F bMSEc4WrEjWF7bTIcPh+7cXs1m+8KnEQTyEjYRjbTbMaM1637d0rYIJC4RtAOvk1hLeK BPWg== X-Gm-Message-State: APf1xPBWsELmrGViloB3F2ejk5leVAKM9yym1CA6s3quDGTDBdhWrHh1 T1uKGI6X3iRKfGdVOWs2ixsHMU59zS0= X-Google-Smtp-Source: AH8x224aIQsq//cLbS9RGpMhAQbUKhXbToT/+bSq30YUxmm1aA3bx1FYgCPcTb56+cWLmQjoFEeu2Q== X-Received: by 10.28.245.3 with SMTP id t3mr709195wmh.134.1519144627991; Tue, 20 Feb 2018 08:37:07 -0800 (PST) Original-Received: from rpluim-ubuntu (vav06-1-78-207-202-134.fbx.proxad.net. [78.207.202.134]) by smtp.gmail.com with ESMTPSA id s80sm19584356wrc.93.2018.02.20.08.37.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Feb 2018 08:37:07 -0800 (PST) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <87eflmte4j.fsf@gmail.com> (Robert Pluim's message of "Thu, 15 Feb 2018 17:24:28 +0100") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::236 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:222926 Archived-At: Robert Pluim writes: > I'm not sure if this was meant for me as well. In any case, I just > pulled and rebuilt, and everything seems to be working well as of > commit 9484bb3ab8e39add474400e5982802b61c56eb3a (I'm using it to write > this message). I spoke too soon. Commit fca8372020248318f1d0007378607a912b19026e is causing ./temacs --batch --load loadup pbootstrap to segfault. As far as I can tell, all that commit does is replace eassert with eassume, but reverting it causes the crash to go away. $ gcc --version gcc-5.real (Ubuntu 5.4.0-6ubuntu1~16.04.6) 5.4.0 20160609 Thread 1 "temacs" received signal SIGSEGV, Segmentation fault. dump_fwd (ctx=0x7fffffffd020, fwd=0x0) at pdumper.c:2277 2277 switch (XFWDTYPE (fwd)) (gdb) bt #0 dump_fwd (ctx=0x7fffffffd020, fwd=0x0) at pdumper.c:2277 #1 0x0000000000559be5 in dump_pre_dump_symbol (symbol=0xbf9040 , ctx=0x7fffffffd020) at pdumper.c:2361 #2 dump_hot_parts_of_discardable_objects (ctx=0x7fffffffd020) at pdumper.c:3214 #3 Fdump_emacs_portable (filename=, track_referrers=) at pdumper.c:3909 #4 0x000000000057184c in eval_sub (form=) at eval.c:2293 #5 0x00000000005718a3 in eval_sub (form=) at eval.c:2242 #6 0x0000000000575228 in Fprogn (body=) at eval.c:459 #7 Flet (args=XIL(0xcbb513)) at eval.c:973 #8 0x00000000005718a3 in eval_sub (form=) at eval.c:2242 #9 0x00000000005718a3 in eval_sub (form=form@entry=XIL(0xcbc6e3)) at eval.c:2242 #10 0x0000000000597953 in readevalloop (readcharfun=readcharfun@entry=XIL(0x6a50), infile0=infile0@entry=0x7fffffffd6e0, sourcename=sourcename@entry=XIL(0xcac744), printflag=printflag@entry=false, unibyte=unibyte@entry=XIL(0), readfun=readfun@entry=XIL(0), start=XIL(0), end=XIL(0)) at lread.c:2073 #11 0x00000000005980fc in Fload (file=XIL(0xcac624), noerror=, nomessage=XIL(0), nosuffix=, must_suffix=) at lread.c:1457 #12 0x0000000000571810 in eval_sub (form=form@entry=XIL(0xca8e73)) at eval.c:2304 #13 0x00000000005757f8 in Feval (form=XIL(0xca8e73), lexical=) at eval.c:2110 #14 0x000000000057088e in internal_condition_case (bfun=bfun@entry=0x4f53a0 , handlers=handlers@entry=XIL(0x53d0), hfun=hfun@entry=0x4fabd0 ) at eval.c:1336 #15 0x00000000004f7bfc in top_level_1 (ignore=ignore@entry=XIL(0)) at keyboard.c:1130 #16 0x000000000057082c in internal_catch (tag=tag@entry=XIL(0xcae0), func=func@entry=0x4f7ba0 , arg=arg@entry=XIL(0)) at eval.c:1101 #17 0x00000000004f5338 in command_loop () at keyboard.c:1091 #18 0x00000000004fa7b6 in recursive_edit_1 () at keyboard.c:698 #19 0x00000000004fab00 in Frecursive_edit () at keyboard.c:769 #20 0x000000000041b015 in main (argc=5, argv=0x7fffffffdaf8) at emacs.c:1929 Lisp Backtrace: "dump-emacs-portable" (0xffffd200) "if" (0xffffd2b8) "let" (0xffffd418) "if" (0xffffd4d8) "load" (0xffffd7f0)