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 19:17:28 +0100 Message-ID: <87mv03h6fb.fsf@gmail.com> References: <87r2pfsjm7.fsf@gmail.com> <21ee28b4-c3cd-4664-a501-8df6b78d3e48@email.android.com> <87zi43h8i6.fsf@gmail.com> <87vaerh7wy.fsf@gmail.com> <6cc4f02c-1fcd-8982-a3ed-130bf510dec8@dancol.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1519150957 16224 195.159.176.226 (20 Feb 2018 18:22:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Feb 2018 18:22:37 +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 19:22:33 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 1eoCYi-0003lw-9y for ged-emacs-devel@m.gmane.org; Tue, 20 Feb 2018 19:22:32 +0100 Original-Received: from localhost ([::1]:57100 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoCak-0001ef-8X for ged-emacs-devel@m.gmane.org; Tue, 20 Feb 2018 13:24:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoCTv-0004Yl-EX for emacs-devel@gnu.org; Tue, 20 Feb 2018 13:17:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoCTs-00029N-30 for emacs-devel@gnu.org; Tue, 20 Feb 2018 13:17:35 -0500 Original-Received: from mail-wr0-x232.google.com ([2a00:1450:400c:c0c::232]:38309) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eoCTr-00028v-RI for emacs-devel@gnu.org; Tue, 20 Feb 2018 13:17:31 -0500 Original-Received: by mail-wr0-x232.google.com with SMTP id n7so17064862wrn.5 for ; Tue, 20 Feb 2018 10:17:31 -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=438UYgV+0siKuVo80Oke7+dU3GgJtrgorAWFVRpeKAk=; b=STXUVmyYmXAniwy6NJsroqWLMegVEU1yU19/u6LtPA/UXA3goERsO7lk4jR3A4v1cF LAbRlyAzJV4PCoHue/jmoT72WaghySd9OHh8rrrxqSWqgTaYXI1g21LUaOaNk6WTDBuj f6BsyeE8zaVanEm714JzW9o77sim8/e5rFGH3+HaWdAR8FOYt1/2JxcPeSsbw2pVmBa1 9F+3N0TlEZavOB7L8xafKXVr9+8Q80gqr2pD/JRhff8J/KGpgaWGKQXPd1t+B7CswH79 UwMa18AWPXVXneIxZ8MilOWZ/5vMAH0txNTQplsjRewthrJ5bzehd5lndI+D+B3kY/kN lAXg== 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=438UYgV+0siKuVo80Oke7+dU3GgJtrgorAWFVRpeKAk=; b=MSgM4t1ZBjCKOIA/DrM8i1yoDbStEmvBCs2Wm23kQ9a0KTd954PbqPxP48x/yOdhI1 igQ4dtay56YmXnshe5Jz+atZ5FNuXWvriVMgbPWWwSP2NLGsPNau8dHLT0h82EIaij6z kSKBbzS8fer1qblVHAfKcvXoDfSTgXi2pBb+LyC4d5DHIIEJBZeH9U1Rda/aD5c1NVuP Lq/yBf4WSyvtPw5kjeigF69wOnFFLwYyiYDSOroVlybfYHNfNEnyDCwcR0Wr+lspup9m bMrBfwM3KPF/SZeJAKnszUgezqbpGax7QdBjhlTIm74PcF0i96E4C74dtWoLwRXbtLjD gxfQ== X-Gm-Message-State: APf1xPBpwjqm5MRL5GVF+sYiZe/3tvfRrQuh8rH8qgf9hN97MIe6eVmp 66TjQRW7NnbkqAwwZGefqxI3QJ/8+eI= X-Google-Smtp-Source: AH8x224UqaEB5M1S0wekj/LaVU21b8YJG3GDVv9U/f/q3cOy9URKbaWeV9/lqUNfe0+XHd9VPVevDQ== X-Received: by 10.223.131.133 with SMTP id 5mr439677wre.153.1519150650379; Tue, 20 Feb 2018 10:17:30 -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 4sm20669015wmz.31.2018.02.20.10.17.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Feb 2018 10:17:29 -0800 (PST) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <6cc4f02c-1fcd-8982-a3ed-130bf510dec8@dancol.org> (Daniel Colascione's message of "Tue, 20 Feb 2018 09:59:35 -0800") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::232 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:222937 Archived-At: Daniel Colascione writes: > On 02/20/2018 09:45 AM, Robert Pluim wrote: >> Robert Pluim writes: >> >>>> 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: >> >> And in fact I get that segfault even with >> fca8372020248318f1d0007378607a912b19026e reverted, but only with >> --enable-checking=all > > Can you repro with an -O0 build? Yes. Backtrace: (gdb) bt #0 0x0000000000000000 in ?? () #1 0x000000000066dd30 in do_one_unbind (this_binding=0x7fffffffbf40, unwinding=true, bindflag=SET_INTERNAL_UNBIND) at eval.c:3457 #2 0x000000000066e17e in unbind_to (count=48, value=XIL(0)) at eval.c:3576 #3 0x00000000006be902 in exec_byte_code (bytestr=XIL(0xf1dbf4), vector=XIL(0xef3585), maxdepth=make_number(5), args_template=XIL(0), nargs=0, args=0x0) at bytecode.c:652 #4 0x000000000066cce0 in funcall_lambda (fun=XIL(0xf015c5), nargs=3, arg_vector=0xef3585) at eval.c:3108 #5 0x000000000066bbf8 in Ffuncall (nargs=4, args=0x7fffffffc438) at eval.c:2827 #6 0x00000000006be824 in exec_byte_code (bytestr=XIL(0xf178e4), vector=XIL(0xf2fca5), maxdepth=make_number(4), args_template=XIL(0), nargs=0, args=0x0) at bytecode.c:632 #7 0x000000000066cce0 in funcall_lambda (fun=XIL(0xf014a5), nargs=4, arg_vector=0xf2fca5) at eval.c:3108 #8 0x000000000066bbf8 in Ffuncall (nargs=5, args=0x7fffffffc8e8) at eval.c:2827 #9 0x00000000006be824 in exec_byte_code (bytestr=XIL(0xef7444), vector=XIL(0xf0d6c5), maxdepth=make_number(6), args_template=XIL(0), nargs=0, args=0x0) at bytecode.c:632 #10 0x000000000066cce0 in funcall_lambda (fun=XIL(0xefd155), nargs=9, arg_vector=0xf0d6c5) at eval.c:3108 #11 0x000000000066c4d1 in apply_lambda (fun=XIL(0xefd155), args=XIL(0xefa303), count=30) at eval.c:2962 #12 0x000000000066a40d in eval_sub (form=XIL(0xefa483)) at eval.c:2335 #13 0x00000000006a3627 in readevalloop (readcharfun=XIL(0x6a50), infile0=0x7fffffffd210, sourcename=XIL(0xf38814), printflag=false, unibyte=XIL(0), readfun=XIL(0), start=XIL(0), end=XIL(0)) at lread.c:2073 #14 0x00000000006a17ce in Fload (file=XIL(0xf38894), noerror=XIL(0), nomessage=XIL(0), nosuffix=XIL(0), must_suffix=XIL(0)) at lread.c:1457 #15 0x000000000066a2e4 in eval_sub (form=XIL(0xe9ae83)) at eval.c:2304 #16 0x00000000006a3627 in readevalloop (readcharfun=XIL(0x6a50), infile0=0x7fffffffd5f0, sourcename=XIL(0xee6394), printflag=false, unibyte=XIL(0), readfun=XIL(0), start=XIL(0), end=XIL(0)) at lread.c:2073 #17 0x00000000006a17ce in Fload (file=XIL(0xee6274), noerror=XIL(0), nomessage=XIL(0), nosuffix=XIL(0), must_suffix=XIL(0)) at lread.c:1457 #18 0x000000000066a2e4 in eval_sub (form=XIL(0xee3aa3)) at eval.c:2304 #19 0x00000000006696e0 in Feval (form=XIL(0xee3aa3), lexical=XIL(0)) at eval.c:2110 #20 0x000000000059ed23 in top_level_2 () at keyboard.c:1122 #21 0x0000000000667743 in internal_condition_case (bfun=0x59ed00 , handlers=XIL(0x53d0), hfun=0x59e6ef ) at eval.c:1336 #22 0x000000000059ed67 in top_level_1 (ignore=XIL(0)) at keyboard.c:1130 #23 0x0000000000666c04 in internal_catch (tag=XIL(0xcae0), func=0x59ed25 , arg=XIL(0)) at eval.c:1101 #24 0x000000000059ec52 in command_loop () at keyboard.c:1091 #25 0x000000000059e1d4 in recursive_edit_1 () at keyboard.c:698 #26 0x000000000059e3ce in Frecursive_edit () at keyboard.c:769 #27 0x000000000059c223 in main (argc=5, argv=0x7fffffffdbb8) at emacs.c:1929 (gdb) up #1 0x000000000066dd30 in do_one_unbind (this_binding=0x7fffffffbf40, unwinding=true, bindflag=SET_INTERNAL_UNBIND) at eval.c:3457 3457 this_binding->unwind.func (this_binding->unwind.arg); (gdb) p this_binding->unwind.arg $1 = XIL(0)