From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Philipp Stephani
Newsgroups: gmane.emacs.bugs
Subject: bug#42540: 28.0.50; macOS assertion failure in src/alloc-tests
Date: Sat, 1 Aug 2020 21:06:23 +0200
Message-ID:
References:
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
logging-data="34346"; mail-complaints-to="usenet@ciao.gmane.io"
To: 42540-done@debbugs.gnu.org
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 01 21:07:12 2020
Return-path:
Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.92)
(envelope-from )
id 1k1wqe-0008qk-9P
for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Aug 2020 21:07:12 +0200
Original-Received: from localhost ([::1]:50078 helo=lists1p.gnu.org)
by lists.gnu.org with esmtp (Exim 4.90_1)
(envelope-from )
id 1k1wqd-0006uo-Ap
for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Aug 2020 15:07:11 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47390)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1k1wqV-0006uI-Ry
for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2020 15:07:03 -0400
Original-Received: from debbugs.gnu.org ([209.51.188.43]:57773)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from )
id 1k1wqV-0003gm-J8
for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2020 15:07:03 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
(envelope-from ) id 1k1wqU-0001Co-EU
for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2020 15:07:02 -0400
Resent-From: Philipp Stephani
Original-Sender: "Debbugs-submit"
Resent-To: bug-gnu-emacs@gnu.org
Resent-Date: Sat, 01 Aug 2020 19:07:02 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: cc-closed 42540
X-GNU-PR-Package: emacs
Mail-Followup-To: 42540@debbugs.gnu.org, p.stephani2@gmail.com,
p.stephani2@gmail.com
Original-Received: via spool by 42540-done@debbugs.gnu.org id=D42540.15963088034598
(code D ref 42540); Sat, 01 Aug 2020 19:07:02 +0000
Original-Received: (at 42540-done) by debbugs.gnu.org; 1 Aug 2020 19:06:43 +0000
Original-Received: from localhost ([127.0.0.1]:41078 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1k1wqB-0001C5-7S
for submit@debbugs.gnu.org; Sat, 01 Aug 2020 15:06:43 -0400
Original-Received: from mail-ot1-f51.google.com ([209.85.210.51]:46431)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1k1wq8-0001Bm-W2
for 42540-done@debbugs.gnu.org; Sat, 01 Aug 2020 15:06:41 -0400
Original-Received: by mail-ot1-f51.google.com with SMTP id v6so14347258ota.13
for <42540-done@debbugs.gnu.org>; Sat, 01 Aug 2020 12:06:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:content-transfer-encoding;
bh=uXMYAcfCRsRBTd7CL0bZGLxP3qttDApHP2Ws+CpjDWQ=;
b=Sk4jlyBCp/B+cKR2aEQ5ujnGgOdihNSxUKo8hunPX4D+MdB8TamSzHAN+cW2QZHZU0
LvxwtqwwJ0yC1X7ucLs0hSGV136/YlaRRwX9DZxh3q7BOfsHIbtpl/6yLhAFd12/0Ruv
z4bR5OeCNtRcy6yAurZACoGb98SVxvqcv6lOaCZ9H3h80KN+YmWIjoCYkT/pAGQF+zEd
+WuEeHfT0PH1CtsC4iqysVm1KiiFRgugH7L46NE8eZHYf+trfN7494GpRhLdit6Yx5RO
p1JK2dpkAKOBeeB1o9DqJ592cs4CwIIj7XvG9NB07pjtFGK0Y4hQRthK1VIQqvctpYXH
e3Ig==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:content-transfer-encoding;
bh=uXMYAcfCRsRBTd7CL0bZGLxP3qttDApHP2Ws+CpjDWQ=;
b=Widc5AesfIT3R1jp+v4SR7ce9/m837e8beJr5Jztgszz/a97yFiWHpQAGp0FtgTrMq
ce4oH3CF8RHRco2Qhk4TRTlHS/QdR27oKUPWTlspTNn8GFEnMBeNeJK+mLNk9idZ6x7d
e9Vf2offxHDrXOsGTjFRJCZ3NYQKecLhkRkPtIpGIWlEj2QXlZi0s71bC9c6oh1Tl1fV
EQ+LDljvQASndupLd2dlmni+7uhPGrjwVq4bxIX+sUeh0uREtzRPrKcwuaOYNIS9iI6h
rtLti+7maVj/EtaJQSI0ElYUGo2kH0gSbLWpf3N0oE3AbbuPWOLGHDWFDnaO4Rk95887
UHsw==
X-Gm-Message-State: AOAM533+gVqARJju3twzYfI+bX8DWR166cp4CkWJBgRuJmDHdU5LyxtY
shRRZTIYgVvYx2H9q33Qa66m1lGjVHtT4FFK5otQE1ie
X-Google-Smtp-Source: ABdhPJym1fdqT6VJlsRixnqM3l9ghf2kX0SCf0oMQFuszZc5Ut+INzbxbGgvOQKxLaDH5clFZh9sON/tgy0P6CB5CwM=
X-Received: by 2002:a9d:170c:: with SMTP id i12mr7763813ota.36.1596308794750;
Sat, 01 Aug 2020 12:06:34 -0700 (PDT)
In-Reply-To:
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
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-mx.org@gnu.org
Original-Sender: "bug-gnu-emacs"
Xref: news.gmane.io gmane.emacs.bugs:183788
Archived-At:
.
Am So., 26. Juli 2020 um 14:20 Uhr schrieb Philipp Stephani
:
>
> Am Sa., 25. Juli 2020 um 21:28 Uhr schrieb Philipp :
> >
> >
> > This is another follow-up to Bug#30700. It's rather subtle, and I
> > couldn't get GDB to work, so here's the LLDB backtrace:
> >
> > * thread #1, queue =3D 'com.apple.main-thread', stop reason =3D signal =
SIGABRT
> > * frame #0: 0x00007fff6fa6f33a libsystem_kernel.dylib`__pthread_kill =
+ 10
> > frame #1: 0x00007fff6fb2be60 libsystem_pthread.dylib`pthread_kill +=
430
> > frame #2: 0x00007fff6f98693e libsystem_c.dylib`raise + 26
> > frame #3: 0x00000001004a24e2 emacs`terminate_due_to_signal(sig=3D6,=
backtrace_limit=3D40) at emacs.c:409:3
> > frame #4: 0x00000001004a28f3 emacs`emacs_abort at sysdep.c:2431:3
> > frame #5: 0x0000000100292071 emacs`string_bytes(s=3D0x0000000101330=
300) at alloc.c:1702:5
> > frame #6: 0x000000010031e7c5 emacs`STRING_BYTES(s=3D0x0000000101330=
300) at lisp.h:1621:22
> > frame #7: 0x0000000100300fcd emacs`SBYTES(string=3D(i =3D 0x0000000=
101330304)) at lisp.h:1632:10
> > frame #8: 0x000000010030e411 emacs`internal_equal(o1=3D(i =3D 0x000=
0000101330304), o2=3D(i =3D 0x00000001013302e4), equal_kind=3DEQUAL_PLAIN, =
depth=3D0, ht=3D(i =3D 0x0000000000000000)) at fns.c:2489:11
> > frame #9: 0x00000001003073b5 emacs`Fequal(o1=3D(i =3D 0x00000001013=
30304), o2=3D(i =3D 0x00000001013302e4)) at fns.c:2321:10
> > frame #10: 0x00000001002f94a6 emacs`funcall_subr(subr=3D0x000000010=
05290e8, numargs=3D2, args=3D0x00007ffeefbf1928) at eval.c:2870:19
> > frame #11: 0x00000001002f7b1d emacs`Ffuncall(nargs=3D3, args=3D0x00=
007ffeefbf1920) at eval.c:2795:11
> > frame #12: 0x00000001002f78d9 emacs`Fapply(nargs=3D2, args=3D0x0000=
7ffeefbf1a90) at eval.c:2425:24
> > frame #13: 0x00000001002e9de2 emacs`eval_sub(form=3D(i =3D 0x000000=
0101898993)) at eval.c:2246:10
> > frame #14: 0x00000001002eaffa emacs`Fsetq(args=3D(i =3D 0x000000010=
18989b3)) at eval.c:509:13
> > frame #15: 0x00000001002e85d9 emacs`eval_sub(form=3D(i =3D 0x000000=
01018989c3)) at eval.c:2227:8
> > frame #16: 0x00000001002efe9e emacs`Funwind_protect(args=3D(i =3D 0=
x0000000101897d83)) at eval.c:1213:9
> > frame #17: 0x00000001002e85d9 emacs`eval_sub(form=3D(i =3D 0x000000=
0101897d73)) at eval.c:2227:8
> > frame #18: 0x00000001002ea8ad emacs`Fif(args=3D(i =3D 0x00000001018=
97dd3)) at eval.c:414:10
> > frame #19: 0x00000001002e85d9 emacs`eval_sub(form=3D(i =3D 0x000000=
0101897dc3)) at eval.c:2227:8
> > frame #20: 0x00000001002eaa97 emacs`Fprogn(body=3D(i =3D 0x00000000=
00000000)) at eval.c:462:13
> > frame #21: 0x00000001002ef0df emacs`Flet(args=3D(i =3D 0x0000000101=
897e23)) at eval.c:987:9
> > frame #22: 0x00000001002e85d9 emacs`eval_sub(form=3D(i =3D 0x000000=
0101897e33)) at eval.c:2227:8
> > frame #23: 0x00000001002eaa97 emacs`Fprogn(body=3D(i =3D 0x00000001=
018986a3)) at eval.c:462:13
> > frame #24: 0x00000001002ef0df emacs`Flet(args=3D(i =3D 0x0000000101=
897e63)) at eval.c:987:9
> > frame #25: 0x00000001002e85d9 emacs`eval_sub(form=3D(i =3D 0x000000=
0101897e73)) at eval.c:2227:8
> > frame #26: 0x00000001002eaa97 emacs`Fprogn(body=3D(i =3D 0x00000000=
00000000)) at eval.c:462:13
> > frame #27: 0x00000001002ed57f emacs`FletX(args=3D(i =3D 0x000000010=
1897e93)) at eval.c:919:9
> > frame #28: 0x00000001002e85d9 emacs`eval_sub(form=3D(i =3D 0x000000=
0101897ea3)) at eval.c:2227:8
> > frame #29: 0x00000001002eaa97 emacs`Fprogn(body=3D(i =3D 0x00000001=
01898d53)) at eval.c:462:13
> > frame #30: 0x00000001002ef0df emacs`Flet(args=3D(i =3D 0x0000000101=
897f13)) at eval.c:987:9
> > frame #31: 0x00000001002e85d9 emacs`eval_sub(form=3D(i =3D 0x000000=
0101897f23)) at eval.c:2227:8
> > frame #32: 0x00000001002eaa97 emacs`Fprogn(body=3D(i =3D 0x00000000=
00000000)) at eval.c:462:13
> > frame #33: 0x00000001002eacd5 emacs`prog_ignore(body=3D(i =3D 0x000=
0000101897f53)) at eval.c:473:3
> > frame #34: 0x00000001002ef309 emacs`Fwhile(args=3D(i =3D 0x00000001=
01897f43)) at eval.c:1008:7
> > frame #35: 0x00000001002e85d9 emacs`eval_sub(form=3D(i =3D 0x000000=
0101897f33)) at eval.c:2227:8
> > frame #36: 0x00000001002eaa97 emacs`Fprogn(body=3D(i =3D 0x00000000=
00000000)) at eval.c:462:13
> > frame #37: 0x00000001002ef0df emacs`Flet(args=3D(i =3D 0x0000000101=
897f73)) at eval.c:987:9
> > frame #38: 0x00000001002e85d9 emacs`eval_sub(form=3D(i =3D 0x000000=
0101897f83)) at eval.c:2227:8
> > frame #39: 0x00000001002eaa97 emacs`Fprogn(body=3D(i =3D 0x00000000=
00000000)) at eval.c:462:13
> > frame #40: 0x00000001002ef0df emacs`Flet(args=3D(i =3D 0x0000000101=
897fa3)) at eval.c:987:9
> > frame #41: 0x00000001002e85d9 emacs`eval_sub(form=3D(i =3D 0x000000=
0101897fb3)) at eval.c:2227:8
> > frame #42: 0x00000001002eaa97 emacs`Fprogn(body=3D(i =3D 0x00000000=
00000000)) at eval.c:462:13
> > frame #43: 0x00000001002fa133 emacs`funcall_lambda(fun=3D(i =3D 0x0=
00000010189e763), nargs=3D0, arg_vector=3D0x00007ffeefbf4a38) at eval.c:306=
5:11
> > frame #44: 0x00000001002f7cff emacs`Ffuncall(nargs=3D1, args=3D0x00=
007ffeefbf4a30) at eval.c:2809:8
> > frame #45: 0x000000010037f7ef emacs`exec_byte_code(bytestr=3D(i =3D=
0x0000000101313e64), vector=3D(i =3D 0x0000000101848fad), maxdepth=3D(i =
=3D 0x000000000000002a), args_template=3D(i =3D 0x0000000000000406), nargs=
=3D1, args=3D0x00007ffeefbf5ac8) at bytecode.c:635:12
> > frame #46: 0x00000001002fe8e1 emacs`fetch_and_exec_byte_code(fun=3D=
(i =3D 0x00000001018490ed), syms_left=3D(i =3D 0x0000000000000406), nargs=
=3D1, args=3D0x00007ffeefbf5ac0) at eval.c:2917:10
> > frame #47: 0x00000001002f9a8b emacs`funcall_lambda(fun=3D(i =3D 0x0=
0000001018490ed), nargs=3D1, arg_vector=3D0x00007ffeefbf5ac0) at eval.c:299=
8:11
> > frame #48: 0x00000001002f7b6f emacs`Ffuncall(nargs=3D2, args=3D0x00=
007ffeefbf5ab8) at eval.c:2797:11
> > frame #49: 0x000000010037f7ef emacs`exec_byte_code(bytestr=3D(i =3D=
0x0000000101314344), vector=3D(i =3D 0x000000010184967d), maxdepth=3D(i =
=3D 0x0000000000000036), args_template=3D(i =3D 0x0000000000000406), nargs=
=3D1, args=3D0x00007ffeefbf6b10) at bytecode.c:635:12
> > frame #50: 0x00000001002fe8e1 emacs`fetch_and_exec_byte_code(fun=3D=
(i =3D 0x00000001018497a5), syms_left=3D(i =3D 0x0000000000000406), nargs=
=3D1, args=3D0x00007ffeefbf6b08) at eval.c:2917:10
> > frame #51: 0x00000001002f9a8b emacs`funcall_lambda(fun=3D(i =3D 0x0=
0000001018497a5), nargs=3D1, arg_vector=3D0x00007ffeefbf6b08) at eval.c:299=
8:11
> > frame #52: 0x00000001002f7b6f emacs`Ffuncall(nargs=3D2, args=3D0x00=
007ffeefbf6b00) at eval.c:2797:11
> > frame #53: 0x000000010037f7ef emacs`exec_byte_code(bytestr=3D(i =3D=
0x00000001013162d4), vector=3D(i =3D 0x0000000101858975), maxdepth=3D(i =
=3D 0x000000000000003a), args_template=3D(i =3D 0x0000000000000c0e), nargs=
=3D3, args=3D0x00007ffeefbf7b78) at bytecode.c:635:12
> > frame #54: 0x00000001002fe8e1 emacs`fetch_and_exec_byte_code(fun=3D=
(i =3D 0x0000000101858a3d), syms_left=3D(i =3D 0x0000000000000c0e), nargs=
=3D3, args=3D0x00007ffeefbf7b60) at eval.c:2917:10
> > frame #55: 0x00000001002f9a8b emacs`funcall_lambda(fun=3D(i =3D 0x0=
000000101858a3d), nargs=3D3, arg_vector=3D0x00007ffeefbf7b60) at eval.c:299=
8:11
> > frame #56: 0x00000001002f7b6f emacs`Ffuncall(nargs=3D4, args=3D0x00=
007ffeefbf7b58) at eval.c:2797:11
> > frame #57: 0x000000010037f7ef emacs`exec_byte_code(bytestr=3D(i =3D=
0x0000000101316394), vector=3D(i =3D 0x0000000101858ae5), maxdepth=3D(i =
=3D 0x000000000000003a), args_template=3D(i =3D 0x0000000000000c0a), nargs=
=3D3, args=3D0x00007ffeefbf8b98) at bytecode.c:635:12
> > frame #58: 0x00000001002fe8e1 emacs`fetch_and_exec_byte_code(fun=3D=
(i =3D 0x0000000101858bdd), syms_left=3D(i =3D 0x0000000000000c0a), nargs=
=3D3, args=3D0x00007ffeefbf8b80) at eval.c:2917:10
> > frame #59: 0x00000001002f9a8b emacs`funcall_lambda(fun=3D(i =3D 0x0=
000000101858bdd), nargs=3D3, arg_vector=3D0x00007ffeefbf8b80) at eval.c:299=
8:11
> > frame #60: 0x00000001002f7b6f emacs`Ffuncall(nargs=3D4, args=3D0x00=
007ffeefbf8b78) at eval.c:2797:11
> > frame #61: 0x000000010037f7ef emacs`exec_byte_code(bytestr=3D(i =3D=
0x0000000101316b94), vector=3D(i =3D 0x000000010185b875), maxdepth=3D(i =
=3D 0x000000000000002a), args_template=3D(i =3D 0x0000000000000402), nargs=
=3D1, args=3D0x00007ffeefbf9b40) at bytecode.c:635:12
> > frame #62: 0x00000001002fe8e1 emacs`fetch_and_exec_byte_code(fun=3D=
(i =3D 0x000000010185b8d5), syms_left=3D(i =3D 0x0000000000000402), nargs=
=3D1, args=3D0x00007ffeefbf9b38) at eval.c:2917:10
> > frame #63: 0x00000001002f9a8b emacs`funcall_lambda(fun=3D(i =3D 0x0=
00000010185b8d5), nargs=3D1, arg_vector=3D0x00007ffeefbf9b38) at eval.c:299=
8:11
> > frame #64: 0x00000001002f7b6f emacs`Ffuncall(nargs=3D2, args=3D0x00=
007ffeefbf9b30) at eval.c:2797:11
> > frame #65: 0x000000010037f7ef emacs`exec_byte_code(bytestr=3D(i =3D=
0x00000001013172f4), vector=3D(i =3D 0x000000010185d4f5), maxdepth=3D(i =
=3D 0x000000000000001a), args_template=3D(i =3D 0x0000000000000402), nargs=
=3D1, args=3D0x00007ffeefbfa9b8) at bytecode.c:635:12
> > frame #66: 0x00000001002fe8e1 emacs`fetch_and_exec_byte_code(fun=3D=
(i =3D 0x000000010185d55d), syms_left=3D(i =3D 0x0000000000000402), nargs=
=3D1, args=3D0x00007ffeefbfa9b0) at eval.c:2917:10
> > frame #67: 0x00000001002f9a8b emacs`funcall_lambda(fun=3D(i =3D 0x0=
00000010185d55d), nargs=3D1, arg_vector=3D0x00007ffeefbfa9b0) at eval.c:299=
8:11
> > frame #68: 0x00000001002f3fd2 emacs`apply_lambda(fun=3D(i =3D 0x000=
000010185d55d), args=3D(i =3D 0x000000010189e123), count=3D12) at eval.c:29=
42:9
> > frame #69: 0x00000001002ea26d emacs`eval_sub(form=3D(i =3D 0x000000=
010189e0b3)) at eval.c:2319:12
> > frame #70: 0x00000001002f265b emacs`Feval(form=3D(i =3D 0x000000010=
189e0b3), lexical=3D(i =3D 0x0000000000000030)) at eval.c:2103:28
> > frame #71: 0x00000001002f94a6 emacs`funcall_subr(subr=3D0x000000010=
0527c48, numargs=3D2, args=3D0x00007ffeefbfb0d8) at eval.c:2870:19
> > frame #72: 0x00000001002f7b1d emacs`Ffuncall(nargs=3D3, args=3D0x00=
007ffeefbfb0d0) at eval.c:2795:11
> > frame #73: 0x000000010037f7ef emacs`exec_byte_code(bytestr=3D(i =3D=
0x00000001040676cc), vector=3D(i =3D 0x0000000104066275), maxdepth=3D(i =
=3D 0x0000000000000066), args_template=3D(i =3D 0x0000000000000406), nargs=
=3D1, args=3D0x00007ffeefbfc4e8) at bytecode.c:635:12
> > frame #74: 0x00000001002fe8e1 emacs`fetch_and_exec_byte_code(fun=3D=
(i =3D 0x0000000104066245), syms_left=3D(i =3D 0x0000000000000406), nargs=
=3D1, args=3D0x00007ffeefbfc4e0) at eval.c:2917:10
> > frame #75: 0x00000001002f9a8b emacs`funcall_lambda(fun=3D(i =3D 0x0=
000000104066245), nargs=3D1, arg_vector=3D0x00007ffeefbfc4e0) at eval.c:299=
8:11
> > frame #76: 0x00000001002f7b6f emacs`Ffuncall(nargs=3D2, args=3D0x00=
007ffeefbfc4d8) at eval.c:2797:11
> > frame #77: 0x000000010037f7ef emacs`exec_byte_code(bytestr=3D(i =3D=
0x000000010406b424), vector=3D(i =3D 0x000000010406791d), maxdepth=3D(i =
=3D 0x000000000000003a), args_template=3D(i =3D 0x0000000000000002), nargs=
=3D0, args=3D0x00007ffeefbfdb18) at bytecode.c:635:12
> > frame #78: 0x00000001002fe8e1 emacs`fetch_and_exec_byte_code(fun=3D=
(i =3D 0x00000001040678ed), syms_left=3D(i =3D 0x0000000000000002), nargs=
=3D0, args=3D0x00007ffeefbfdb18) at eval.c:2917:10
> > frame #79: 0x00000001002f9a8b emacs`funcall_lambda(fun=3D(i =3D 0x0=
0000001040678ed), nargs=3D0, arg_vector=3D0x00007ffeefbfdb18) at eval.c:299=
8:11
> > frame #80: 0x00000001002f7b6f emacs`Ffuncall(nargs=3D1, args=3D0x00=
007ffeefbfdb10) at eval.c:2797:11
> > frame #81: 0x000000010037f7ef emacs`exec_byte_code(bytestr=3D(i =3D=
0x000000010406c0ec), vector=3D(i =3D 0x000000010406b5f5), maxdepth=3D(i =
=3D 0x0000000000000032), args_template=3D(i =3D 0x0000000000000002), nargs=
=3D0, args=3D0x00007ffeefbfeb90) at bytecode.c:635:12
> > frame #82: 0x00000001002fe8e1 emacs`fetch_and_exec_byte_code(fun=3D=
(i =3D 0x000000010406b5c5), syms_left=3D(i =3D 0x0000000000000002), nargs=
=3D0, args=3D0x00007ffeefbfeb90) at eval.c:2917:10
> > frame #83: 0x00000001002f9a8b emacs`funcall_lambda(fun=3D(i =3D 0x0=
00000010406b5c5), nargs=3D0, arg_vector=3D0x00007ffeefbfeb90) at eval.c:299=
8:11
> > frame #84: 0x00000001002f3fd2 emacs`apply_lambda(fun=3D(i =3D 0x000=
000010406b5c5), args=3D(i =3D 0x0000000000000000), count=3D4) at eval.c:294=
2:9
> > frame #85: 0x00000001002ea26d emacs`eval_sub(form=3D(i =3D 0x000000=
010421c09b)) at eval.c:2319:12
> > frame #86: 0x00000001002f265b emacs`Feval(form=3D(i =3D 0x000000010=
421c09b), lexical=3D(i =3D 0x0000000000000000)) at eval.c:2103:28
> > frame #87: 0x00000001001d8c0a emacs`top_level_2 at keyboard.c:1100:=
10
> > frame #88: 0x00000001002f095f emacs`internal_condition_case(bfun=3D=
(emacs`top_level_2 at keyboard.c:1099), handlers=3D(i =3D 0x000000000000009=
0), hfun=3D(emacs`cmd_error at keyboard.c:919)) at eval.c:1356:25
> > frame #89: 0x00000001001d8831 emacs`top_level_1(ignore=3D(i =3D 0x0=
000000000000000)) at keyboard.c:1108:5
> > frame #90: 0x00000001002efd4a emacs`internal_catch(tag=3D(i =3D 0x0=
00000000000c900), func=3D(emacs`top_level_1 at keyboard.c:1105), arg=3D(i =
=3D 0x0000000000000000)) at eval.c:1117:25
> > frame #91: 0x00000001001b5083 emacs`command_loop at keyboard.c:1069=
:2
> > frame #92: 0x00000001001b4ea4 emacs`recursive_edit_1 at keyboard.c:=
714:9
> > frame #93: 0x00000001001b5326 emacs`Frecursive_edit at keyboard.c:7=
86:3
> > frame #94: 0x00000001001b1f35 emacs`main(argc=3D14, argv=3D0x00007f=
feefbff570) at emacs.c:2043:3
> > frame #95: 0x00007fff6f927cc9 libdyld.dylib`start + 1
> >
> > This runs into the following codepath:
> >
> > frame #5: 0x0000000100292071 emacs`string_bytes(s=3D0x0000000101330300)=
at alloc.c:1702:5
> > 1699
> > 1700 if (!PURE_P (s) && !pdumper_object_p (s) && s->u.s.data
> > 1701 && nbytes !=3D SDATA_NBYTES (SDATA_OF_STRING (s)))
> > -> 1702 emacs_abort ();
> > 1703 return nbytes;
> > 1704 }
> > 1705
> >
> > Here we have:
> >
> > (lldb) p *((sdata*)( s->u.s.data - 16))
> > (sdata) $11 =3D {
> > string =3D 0x0000000101330300
> > n =3D {
> > string =3D 0x0000000101330300
> > nbytes =3D 1
> > }
> > }
> > (lldb) p *$11.string
> > (Lisp_String) $12 =3D {
> > u =3D {
> > s =3D {
> > size =3D 1
> > size_byte =3D 3
> > intervals =3D 0x0000000000000000
> > data =3D 0x0000000102060ce0 "=E2=9C=93"
> > }
> > next =3D 0x0000000000000001
> > gcaligned =3D '\x01'
> > }
> > }
> >
> > That is, the string "=E2=9C=93" has 3 bytes and 1 character, yet sdata.=
n.nbytes
> > is 1 instead of 3, triggering the assertion failure. I have no idea
> > where this comes from, though.
> >
>
>
> The issue also happens on GNU/Linux with --enable-checking=3Dall, here's
> the output of 'bt full':
Fixed with commit 1d70fbe4c8.