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 18:32:33 +0100 Message-ID: <87zi43h8i6.fsf@gmail.com> References: <87r2pfsjm7.fsf@gmail.com> <21ee28b4-c3cd-4664-a501-8df6b78d3e48@email.android.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1519147890 22335 195.159.176.226 (20 Feb 2018 17:31:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Feb 2018 17:31:30 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux) Cc: emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 20 18:31:26 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 1eoBlF-0005Kr-Qt for ged-emacs-devel@m.gmane.org; Tue, 20 Feb 2018 18:31:26 +0100 Original-Received: from localhost ([::1]:56800 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoBnH-0006JO-W2 for ged-emacs-devel@m.gmane.org; Tue, 20 Feb 2018 12:33:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoBmS-0006Ij-GY for emacs-devel@gnu.org; Tue, 20 Feb 2018 12:32:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoBmP-0003Ne-AO for emacs-devel@gnu.org; Tue, 20 Feb 2018 12:32:40 -0500 Original-Received: from mail-wr0-x22a.google.com ([2a00:1450:400c:c0c::22a]:44928) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eoBmP-0003Mz-0W for emacs-devel@gnu.org; Tue, 20 Feb 2018 12:32:37 -0500 Original-Received: by mail-wr0-x22a.google.com with SMTP id v65so16644097wrc.11 for ; Tue, 20 Feb 2018 09:32:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:user-agent :mime-version; bh=Emt8k9Xutl0mdvLoR2cnaARvnMq5q0rsoZnxpzsThNk=; b=hwwBAb7dtVphuuKP3vBbBYr+NV8iF6JAqdVlciuaJgYtjVE7ID6pP4ytMEw95oxTQg qtxsha8EzWM0GLlyEQkxcItaYvsSRKT2qBi+LrSCHzwG9MNkf7CNsg99x7GHMu8v/+sg b9tzCq8ZexpUvlJ4SP065kgMqL29+p3KugSGRQG2pw353MEgD7INa0t7CTog2WZy0uZU 4RxbxD0Y6i6gf2kH6GQjj37t6RDq9hJFQtQ8vthRtYtPuayCz2EIiCBG5zikE3LdCfv/ MZ6agZfIPGAOjpzRSwPCAboO1hAVODuObVPc4VsqyVutWMlh7XeUNlNB3mjs5djombhl KZFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :user-agent:mime-version; bh=Emt8k9Xutl0mdvLoR2cnaARvnMq5q0rsoZnxpzsThNk=; b=nPoMrqaVef6vbr9JQOvMzhcfyUgRJQhcWmUvIseqj8utg31jnXMJ1VMj7eYByqMFrp LZq1I+16jUoIfYiMfCHY39LN9kVT1vMipAUOBdBE7sGp/tYCQceJ3f3tVPQoVdxkrS9L 3+FignDvUalzyNKCrCy7GJRq7+COaNUzPcXmX5rU6p9+ny1eNl0O0eFewETsZZ+LiseY 1bVcSdivF90z+N1fkpq6OhQ6Tha3SjMyfwzLXYoiJB/+9x3Z1WnD2OrZqcB1x7yFaFED whOHxA3SK6AS6TMRo8hEpIQttwk09WVlUadjjoHEFib1El7+hWAEvqtPGrVPfXjdBFPW SbEQ== X-Gm-Message-State: APf1xPD8nng/pRpJ4oMWTlR1zxIONTUN0UWz6ycfzBsMb4aLJO+kygwk vCXQChvPIiOqU6vW6cAJTmiaCGSmNig= X-Google-Smtp-Source: AH8x227vS/orE/wLVv1XxlNnPTk+/klnNASIKE8hVVaFzz2q2+uqaftgJcG3YcW4MCIfhN+hgM3xTA== X-Received: by 10.223.156.205 with SMTP id h13mr355883wre.123.1519147955334; Tue, 20 Feb 2018 09:32:35 -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 q1sm25393427wrf.40.2018.02.20.09.32.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Feb 2018 09:32:34 -0800 (PST) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <21ee28b4-c3cd-4664-a501-8df6b78d3e48@email.android.com> (Daniel Colascione's message of "Tue, 20 Feb 2018 09:19:11 -0800") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22a 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:222931 Archived-At: Daniel Colascione writes: > On Feb 20, 2018 8:37 AM, Robert Pluim wrote: > > 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. > > Do you get an assertion failure if you enable assertion checking? If we're seeing this kind of problem from the compiler expectation alone, I'll definitely revert that change. No, --enable-checking=all gets me a different segfault: (gdb) bt #0 0x0000000000000000 in ?? () #1 0x00000000005d4556 in unbind_to (count=, value=value@entry=XIL(0)) at eval.c:3576 #2 0x000000000061bb01 in exec_byte_code (bytestr=, vector=, maxdepth=, args_template=args_template@entry=XIL(0), nargs=nargs@entry=0, args=, args@entry=0x0) at bytecode.c:652 #3 0x00000000005d5538 in funcall_lambda (fun=XIL(0xe005c5), nargs=nargs@entry=3, arg_vector=arg_vector@entry=0x7fffffffccb0) at eval.c:3108 #4 0x00000000005d5983 in Ffuncall (nargs=4, args=args@entry=0x7fffffffcca8) at eval.c:2839 #5 0x000000000061bb88 in exec_byte_code (bytestr=, vector=, maxdepth=, args_template=args_template@entry=XIL(0), nargs=nargs@entry=0, args=, args@entry=0x0) at bytecode.c:632 #6 0x00000000005d5538 in funcall_lambda (fun=XIL(0xe004a5), nargs=nargs@entry=4, arg_vector=arg_vector@entry=0x7fffffffcec0) at eval.c:3108 #7 0x00000000005d5983 in Ffuncall (nargs=5, args=args@entry=0x7fffffffceb8) at eval.c:2839 #8 0x000000000061bb88 in exec_byte_code (bytestr=, vector=, maxdepth=, args_template=args_template@entry=XIL(0), nargs=nargs@entry=0, args=, args@entry=0x0) at bytecode.c:632 #9 0x00000000005d5538 in funcall_lambda (fun=fun@entry=XIL(0xdfc155), nargs=nargs@entry=9, arg_vector=arg_vector@entry=0x7fffffffd160) at eval.c:3108 #10 0x00000000005d4765 in apply_lambda (fun=XIL(0xdfc155), args=, count=count@entry=30) at eval.c:2962 #11 0x00000000005d4b42 in eval_sub (form=form@entry=XIL(0xdf94a3)) at eval.c:2365 #12 0x0000000000607604 in readevalloop (readcharfun=readcharfun@entry=XIL(0x6a50), infile0=infile0@entry=0x7fffffffd480, sourcename=sourcename@entry=XIL(0xe37814), printflag=printflag@entry=false, unibyte=unibyte@entry=XIL(0), readfun=readfun@entry=XIL(0), start=XIL(0), end=XIL(0)) at lread.c:2073 #13 0x0000000000607d9b in Fload (file=XIL(0xe37894), noerror=, nomessage=XIL(0), nosuffix=, must_suffix=) at lread.c:1457 #14 0x00000000005d4d64 in eval_sub (form=form@entry=XIL(0xd99ea3)) at eval.c:2304 #15 0x0000000000607604 in readevalloop (readcharfun=readcharfun@entry=XIL(0x6a50), infile0=infile0@entry=0x7fffffffd7a0, sourcename=sourcename@entry=XIL(0xde5394), printflag=printflag@entry=false, unibyte=unibyte@entry=XIL(0), readfun=readfun@entry=XIL(0), start=XIL(0), end=XIL(0)) at lread.c:2073 #16 0x0000000000607d9b in Fload (file=XIL(0xde5274), noerror=, nomessage=XIL(0), nosuffix=, must_suffix=) at lread.c:1457 #17 0x00000000005d4d64 in eval_sub (form=form@entry=XIL(0xde2aa3)) at eval.c:2304 #18 0x00000000005d9db8 in Feval (form=XIL(0xde2aa3), lexical=) at eval.c:2110 #19 0x00000000005d3be7 in internal_condition_case (bfun=bfun@entry=0x53b320 , handlers=handlers@entry=XIL(0x53d0), hfun=hfun@entry=0x541d80 ) at eval.c:1336 #20 0x000000000053ee4c in top_level_1 (ignore=ignore@entry=XIL(0)) at keyboard.c:1130 #21 0x00000000005d3b2c in internal_catch (tag=tag@entry=XIL(0xcae0), func=func@entry=0x53edf0 , arg=arg@entry=XIL(0)) at eval.c:1101 #22 0x000000000053b2b8 in command_loop () at keyboard.c:1091 #23 0x00000000005418b6 in recursive_edit_1 () at keyboard.c:698 #24 0x0000000000541c38 in Frecursive_edit () at keyboard.c:769 #25 0x000000000041c197 in main (argc=5, argv=0x7fffffffdbb8) at emacs.c:1929 (gdb)