From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: Philipp Stephani
Newsgroups: gmane.emacs.bugs
Subject: bug#27642: 26.0.50; Assertion failure with nested load
Date: Mon, 10 Jul 2017 17:45:09 +0200
Message-ID:
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Trace: blaine.gmane.org 1499702002 20457 195.159.176.226 (10 Jul 2017 15:53:22 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Mon, 10 Jul 2017 15:53:22 +0000 (UTC)
To: 27642@debbugs.gnu.org
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 10 17:53:16 2017
Return-path:
Envelope-to: geb-bug-gnu-emacs@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 1dUazm-0004js-I2
for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Jul 2017 17:53:11 +0200
Original-Received: from localhost ([::1]:41534 helo=lists.gnu.org)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from )
id 1dUazs-0002OM-0n
for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Jul 2017 11:53:16 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60846)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1dUauu-00066H-3x
for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 11:48:12 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1dUauo-0003bK-IZ
for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 11:48:07 -0400
Original-Received: from debbugs.gnu.org ([208.118.235.43]:58356)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
(Exim 4.71) (envelope-from )
id 1dUauo-0003b9-Cy
for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 11:48:02 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
(envelope-from ) id 1dUauo-0003Fj-5t
for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 11:48:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Philipp Stephani
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Mon, 10 Jul 2017 15:48:02 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 27642
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
X-Debbugs-Original-To: bug-gnu-emacs@gnu.org
Original-Received: via spool by submit@debbugs.gnu.org id=B.149970162112422
(code B ref -1); Mon, 10 Jul 2017 15:48:02 +0000
Original-Received: (at submit) by debbugs.gnu.org; 10 Jul 2017 15:47:01 +0000
Original-Received: from localhost ([127.0.0.1]:32800 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1dUato-0003EA-3G
for submit@debbugs.gnu.org; Mon, 10 Jul 2017 11:47:01 -0400
Original-Received: from eggs.gnu.org ([208.118.235.92]:41291)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1dUatk-0003Dt-LZ
for submit@debbugs.gnu.org; Mon, 10 Jul 2017 11:46:58 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1dUata-0002qu-Tw
for submit@debbugs.gnu.org; Mon, 10 Jul 2017 11:46:51 -0400
Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:40507)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
(Exim 4.71) (envelope-from )
id 1dUata-0002ql-ND
for submit@debbugs.gnu.org; Mon, 10 Jul 2017 11:46:46 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60485)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1dUatV-0005wi-Dt
for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 11:46:46 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1dUatQ-0002lZ-L1
for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 11:46:41 -0400
Original-Received: from mail-wr0-f171.google.com ([209.85.128.171]:36129)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
(Exim 4.71) (envelope-from )
id 1dUatQ-0002fh-68
for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 11:46:36 -0400
Original-Received: by mail-wr0-f171.google.com with SMTP id c11so144012018wrc.3
for ; Mon, 10 Jul 2017 08:46:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=from:to:subject:date:message-id:mime-version
:content-transfer-encoding;
bh=8IiAoRXH74AeBLlObjLtJxeSPUjovZasuufLlYxaQEA=;
b=s04Fgtnb1xnLohVb/YVbpaxcHxTalDhMjsILZgw1RvtQbIWuose1ROGqy0TLBInlYL
PrUW8TLL4oIRFJSB+8/KBmX14Uw2jSJag3/I//tBF5X2IuXBxRU5nrO/VJryZLqG1FQP
GOnW8/YvUqDgbCBSfvNrG3P9OFCDsVbPsdLZZIsmlTqMQWSb8Mh66Cvz6GxFL+ckCHDU
6FBn3BlYBk7vHLyREjMR2z/h4M0Hc5ad4jw6ygyU0TuqTsPH7CRcrzPZInT3YsEtFd2m
UsXg6/YLrj0MCCQUo1TSPdK/fRj8XWcMq2wlmSEpZlcMoHgSm7VwhDNvoZtVKMfckcNu
q00g==
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:date:message-id:mime-version
:content-transfer-encoding;
bh=8IiAoRXH74AeBLlObjLtJxeSPUjovZasuufLlYxaQEA=;
b=rfiExwoTXmNr7wj/vgtc82pIpxjP+zEqsQhS3AVoQgH/vIMzb/0hBukdYnCrq8r1QC
x1MWhmuhDc2p7w+jXn8XePxjofjkFnEYI0+iu86yRFJx5dLc+kda47SayLX4p24IsALO
eziBJUpCmGXladGV3qxUFouT9W/InOHgQ9H3w2THcIaFe/qpTsWaOfSlxzmxML8weZ2u
mRppdv1l8u/Nd3doybUtRdTUkyDbsk1dMsbmz2eBWODZoLDcygIr7oujRoOWW64a4bFT
uxGggOMlV38eP9yF9Gdad4aN+E0uj0nh8YEgWWy13/ta2ePjJ4l7OMhXd9ceXCirJ3Ad
9jHg==
X-Gm-Message-State: AIVw110xLQezkPMEc083432KhXi65iSlIMfNp2qZRqiSJE7lTSh0+jC7
Wa0VwHMSL+ptvcH67Rg=
X-Received: by 10.28.207.66 with SMTP id f63mr8232078wmg.73.1499701511598;
Mon, 10 Jul 2017 08:45:11 -0700 (PDT)
Original-Received: from a.muc.corp.google.com ([2a00:79e0:15:4:ad49:ead2:470a:250f])
by smtp.gmail.com with ESMTPSA id
c55sm12113876wrc.7.2017.07.10.08.45.10 for
(version=TLS1_2 cipher=AES128-SHA bits=128/128);
Mon, 10 Jul 2017 08:45:10 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
[fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.43
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
the Swiss army knife of text editors"
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Original-Sender: "bug-gnu-emacs"
Xref: news.gmane.org gmane.emacs.bugs:134399
Archived-At:
Create a file /tmp/signal.el containing (user-error "foo")
Create a file /tmp/load.el containing (load "/tmp/signal.el")
Byte-compile the two files:
emacs -q -batch -f batch-byte-compile /tmp/load.el /tmp/signal.el
Now run
emacs -q -l /tmp/load.elc
Emacs will crash if assertions are enabled. GDB output:
Program received signal SIGSEGV, Segmentation fault.
0x0000000000677f8c in close_infile_unwind (arg=3D0x1746f20) at lread.c:1069
1069 eassert (infile->stream =3D=3D stream);
#0 0x0000000000677f8c in close_infile_unwind (arg=3D0x1746f20) at lread.c:=
1069
stream =3D 0x1746f20
#1 0x0000000000645fc6 in do_one_unbind (this_binding=3D0x7fffffff9590, unw=
inding=3Dtrue, bindflag=3DSET_INTERNAL_UNBIND) at eval.c:3382
No locals.
#2 0x00000000006463de in unbind_to (count=3D3, value=3DXIL(0)) at eval.c:3=
498
this_binding =3D {
kind =3D SPECPDL_UNWIND_PTR,=20
unwind =3D {
kind =3D SPECPDL_UNWIND_PTR,=20
func =3D 0x677f63 ,=20
arg =3D XIL(0x1746f20)
},=20
unwind_ptr =3D {
kind =3D SPECPDL_UNWIND_PTR,=20
func =3D 0x677f63 ,=20
arg =3D 0x1746f20
},=20
unwind_int =3D {
kind =3D SPECPDL_UNWIND_PTR,=20
func =3D 0x677f63 ,=20
arg =3D 24407840
},=20
unwind_void =3D {
kind =3D SPECPDL_UNWIND_PTR,=20
func =3D 0x677f63
},=20
let =3D {
kind =3D SPECPDL_UNWIND_PTR,=20
symbol =3D XIL(0x677f63),=20
old_value =3D XIL(0x1746f20),=20
where =3D XIL(0x1),=20
saved_value =3D XIL(0)
},=20
bt =3D {
kind =3D SPECPDL_UNWIND_PTR,=20
debug_on_exit =3D false,=20
function =3D XIL(0x677f63),=20
args =3D 0x1746f20,=20
nargs =3D 1
}
}
quitf =3D XIL(0)
#3 0x000000000063f5e2 in unwind_to_catch (catch=3D0x178f000, value=3DXIL(0=
x11bf513)) at eval.c:1139
last_time =3D false
#4 0x00000000006408a2 in signal_or_quit (error_symbol=3DXIL(0xc960), data=
=3DXIL(0x11bf643), keyboard_quit=3Dfalse) at eval.c:1613
unwind_data =3D XIL(0x11bf513)
conditions =3D XIL(0x9d96fb)
string =3D XIL(0x11bf513)
real_error_symbol =3D XIL(0xc960)
clause =3D XIL(0xb8b0)
h =3D 0x178f000
#5 0x00000000006404d9 in Fsignal (error_symbol=3DXIL(0xc960), data=3DXIL(0=
x11bf643)) at eval.c:1508
No locals.
#6 0x0000000000644344 in funcall_subr (subr=3D0xd75358 , numargs=
=3D2, args=3D0x7fffffff9810) at eval.c:2824
internal_argbuf =3D {XIL(0x7fffffff9740), make_number(1438822), XIL=
(0xd7535d), XIL(0xd75358), XIL(0x7fffffff9760), make_number(1438832), XIL(0=
xd7535d), make_number(385)}
internal_args =3D 0x7fffffff9810
#7 0x0000000000643e92 in Ffuncall (nargs=3D3, args=3D0x7fffffff9808) at ev=
al.c:2747
fun =3D XIL(0xd7535d)
original_fun =3D XIL(0xb0a0)
funcar =3D XIL(0x7fffffff97c0)
numargs =3D 2
val =3D XIL(0x19a2564)
count =3D 55
#8 0x000000000069b49b in exec_byte_code (bytestr=3DXIL(0x9e7bbc), vector=
=3DXIL(0x9e7bdd), maxdepth=3Dmake_number(8), args_template=3Dmake_number(38=
5), nargs=3D1, args=3D0x7fffffff9dc8) at bytecode.c:629
op =3D 2
type =3D (CONDITION_CASE | unknown: 2214664192)
targets =3D {0x69e939 , 0x69e9a9 , 0x69e9ab , 0x69e9ad , 0x69e9af , 0x69e9af , 0x69ea=
21 , 0x69eaa5 , 0x69ab15 , 0x69ab17 , 0x69ab19 , 0x69ab1b , 0x69ab1d , 0x69a=
b1d , 0x69ab26 , 0x69aad4 , 0x69b03f , 0x69b041 , 0x69b043 , 0x69b045 , 0x69b0=
47 , 0x69b047 , 0x69b091 , 0x69b050 , 0x69b37e , 0x69b380 , 0x69b382 , 0x69b38=
4 , 0x69b386 , 0x69b386 , 0x69b31d , 0x69b33d , 0x69b459 , 0x69b45b , 0x69b45d=
, 0x69b45f , 0x69b461 , 0x69b461 , 0x69b3f8 =
, 0x69b418 , 0x69b53c , 0x69b53e =
, 0x69b540 , 0x69b542 , 0x69b544 , 0x69b544 ,=
0x69b4db , 0x69b4fb , 0x69be8e <=
exec_byte_code+6489>, 0x69bd61 , 0x69bd55 , 0x69e939 , 0x69e939 =
, 0x69e939 , 0x69e939 , 0x69e93=
9 , 0x69c0ed , 0x69c221 , 0x69c295 , 0x69c30a , 0x69c380 , 0x69ae66 , 0x69aef=
b , 0x69c40e , 0x69ad98 , 0x69af70 , 0x69c48a , 0x69c4ff , 0x69c54e , 0x69c5c3=
, 0x69c61f , 0x69c713 , 0x69c762 , 0x69c7d7 =
, 0x69c86f , 0x69c8be , 0x69c90d =
, 0x69c982 , 0x69c9f7 , 0x69ca6c , 0x69cb04 ,=
0x69cb60 , 0x69cbbc , 0x69ccb0 <=
exec_byte_code+10107>, 0x69cd3a , 0x69cdc4 , 0x69cf9d , 0x69d017 , 0x69d091 , 0x69d10b , 0x69=
d185 , 0x69d1e1 , 0x69d26f , 0x69d2cb , 0x69d327 , 0x69d383 , 0x69d4b0 =
, 0x69bbd4 , 0x69d515 , 0x69d564=
, 0x69d650 , 0x69d6c0 , 0x69d725 , 0x69d774 , 0x69d7c1 , 0x69d80e , 0x=
69d863 , 0x69e939 , 0x69d8c2 , 0x69d90f , 0x69d95c , 0x69d9a9 , 0x69d9f6 , 0x69da43 , 0x69bbd4 , 0x69e9=
39 , 0x69da92 , 0x69daec , 0x69db3b , 0x69db8a , 0x69dbff , 0x69dc74 , =
0x69dcc3 , 0x69de00 , 0x69de75 =
, 0x69deea , 0x69df5f , 0x69dfac , 0x69e939 , 0x69baf0 , 0x69b5f6 , 0x69a=
cee , 0x69b6c1 , 0x69b75c , 0x69b7f4 , 0x69baa0 , 0x69bab5 , 0x69b2c0 , 0x69bb=
8f , 0x69bc0c , 0x69bc99 , 0x69bcde , 0x69bedb , 0x69bf5b , 0x69bff3 , 0x69c05=
d , 0x69b5a7 , 0x69dffb , 0x69e093 , 0x69e0e2 , 0x69e131 , 0x69e180 , 0x6=
9e1cf , 0x69e244 , 0x69e2b9 , 0x69e32e , 0x69e3a3 , 0x69e531 , 0x69e5a6 , 0x69e61b , 0x69e66a , 0x69e6=
df , 0x69e754 , 0x69e7a3 , 0x69e7f2 , 0x69d3df , 0x69d43b , 0x69e84e , =
0x69e8c4 , 0x69e939 , 0x69b88c =
, 0x69b8b2 , 0x69b92f , 0x69b9ac , 0x69ba26 ,=
0x69c67b , 0x69cc18 , 0x69d5b8 <=
exec_byte_code+12419>, 0x69eb54 , 0x69ebd3 , 0x69e939 , 0x69e939 , 0x69ec7f , 0x69ed25 , 0x69=
e939 , 0x69e939 , 0x69e939 , 0x69e939 , 0x69e939 , 0x69e939 , 0x69e939 =
, 0x69e939 , 0x69ef20 }
const_length =3D 4
bytestr_length =3D 10
vectorp =3D 0x9e7be0
quitcounter =3D 1 '\001'
stack_items =3D 9
sa_avail =3D 16302
sa_count =3D 55
sa_must_free =3D false
stack_base =3D 0x7fffffff97f0
stack_lim =3D 0x7fffffff9838
top =3D 0x7fffffff9808
void_stack_lim =3D 0x7fffffff9838
bytestr_data =3D 0x7fffffff9838 "\300\301\302\303\005\005#C\"\207\2=
36"
pc =3D 0x7fffffff9841 "\207\236"
count =3D 55
result =3D make_number(20)
#9 0x0000000000644a99 in funcall_lambda (fun=3DXIL(0x9e7b8d), nargs=3D1, a=
rg_vector=3D0x7fffffff9dc0) at eval.c:2948
size =3D 5
val =3D XIL(0x11bf733)
syms_left =3D make_number(385)
next =3D XIL(0)
lexenv =3D XIL(0)
count =3D 55
i =3D 0
optional =3D false
rest =3D false
previous_optional_or_rest =3D false
#10 0x00000000006446e0 in apply_lambda (fun=3DXIL(0x9e7b8d), args=3DXIL(0x1=
1bf733), count=3D54) at eval.c:2884
args_left =3D XIL(0)
i =3D 1
numargs =3D 1
arg_vector =3D 0x7fffffff9dc0
tem =3D XIL(0x19a2634)
sa_avail =3D 16376
sa_count =3D 55
sa_must_free =3D false
#11 0x000000000064285d in eval_sub (form=3DXIL(0x11bf793)) at eval.c:2268
fun =3D XIL(0x9e7b8d)
val =3D XIL(0x11bf793)
original_fun =3D XIL(0xc960)
original_args =3D XIL(0x11bf733)
funcar =3D XIL(0xa31e45)
count =3D 54
argvals =3D {XIL(0xb8b0), XIL(0x1b5dfd0), XIL(0x11bf793), XIL(0xdf3=
bf0), XIL(0x99cd0), XIL(0x147e318), XIL(0x99cd0), XIL(0x11bf793)}
#12 0x000000000067a0c8 in readevalloop_eager_expand_eval (val=3DXIL(0x11bf7=
93), macroexpand=3DXIL(0x99cd0)) at lread.c:1850
No locals.
#13 0x000000000067aac8 in readevalloop (readcharfun=3DXIL(0x1b5dfd5), infil=
e0=3D0x0, sourcename=3DXIL(0x19a2834), printflag=3Dfalse, unibyte=3DXIL(0),=
readfun=3DXIL(0), start=3DXIL(0), end=3DXIL(0)) at lread.c:2036
count1 =3D 54
c =3D 40
val =3D XIL(0x11bf793)
count =3D 50
b =3D 0x1b5dfd0
continue_reading_p =3D true
lex_bound =3D XIL(0)
whole_buffer =3D true
first_sexp =3D true
macroexpand =3D XIL(0x99cd0)
#14 0x000000000067aee2 in Feval_buffer (buffer=3DXIL(0x1b5dfd5), printflag=
=3DXIL(0), filename=3DXIL(0xea2244), unibyte=3DXIL(0), do_allow_print=3DXIL=
(0xb8b0)) at lread.c:2103
count =3D 46
tem =3D XIL(0)
buf =3D XIL(0x1b5dfd5)
#15 0x00000000006443e9 in funcall_subr (subr=3D0xd77408 , num=
args=3D5, args=3D0x7fffffffa2c0) at eval.c:2834
internal_argbuf =3D {XIL(0x7fffffffa200), make_number(1438822), XIL=
(0xd7740d), XIL(0xd77408), XIL(0x7fffffffa220), make_number(1438832), XIL(0=
xd7740d), XIL(0xea2244)}
internal_args =3D 0x7fffffffa2c0
#16 0x0000000000643e92 in Ffuncall (nargs=3D6, args=3D0x7fffffffa2b8) at ev=
al.c:2747
fun =3D XIL(0xd7740d)
original_fun =3D XIL(0x6f350)
funcar =3D XIL(0x7fffffffa2a0)
numargs =3D 5
val =3D XIL(0xc4b0)
count =3D 45
#17 0x000000000069b49b in exec_byte_code (bytestr=3DXIL(0x9f91c4), vector=
=3DXIL(0x9f91e5), maxdepth=3Dmake_number(6), args_template=3DXIL(0), nargs=
=3D0, args=3D0x0) at bytecode.c:629
op =3D 5
type =3D CATCHER
targets =3D {0x69e939 , 0x69e9a9 , 0x69e9ab , 0x69e9ad , 0x69e9af , 0x69e9af , 0x69ea=
21 , 0x69eaa5 , 0x69ab15 , 0x69ab17 , 0x69ab19 , 0x69ab1b , 0x69ab1d , 0x69a=
b1d , 0x69ab26 , 0x69aad4 , 0x69b03f , 0x69b041 , 0x69b043 , 0x69b045 , 0x69b0=
47 , 0x69b047 , 0x69b091 , 0x69b050 , 0x69b37e , 0x69b380