GNU bug report logs - #46797
mac_font_shape EXC_BAD_ACCESS

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Jimmy Yuen Ho Wong <wyuenho@HIDDEN>; Keywords: moreinfo; dated Fri, 26 Feb 2021 16:31:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 46797 <at> debbugs.gnu.org:


Received: (at 46797) by debbugs.gnu.org; 27 Feb 2021 05:08:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 27 00:08:16 2021
Received: from localhost ([127.0.0.1]:43048 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lFrpw-0000fr-67
	for submit <at> debbugs.gnu.org; Sat, 27 Feb 2021 00:08:16 -0500
Received: from mail-lj1-f180.google.com ([209.85.208.180]:45942)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <wyuenho@HIDDEN>) id 1lFrpt-0000fP-FX
 for 46797 <at> debbugs.gnu.org; Sat, 27 Feb 2021 00:08:13 -0500
Received: by mail-lj1-f180.google.com with SMTP id y12so121864ljj.12
 for <46797 <at> debbugs.gnu.org>; Fri, 26 Feb 2021 21:08:13 -0800 (PST)
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=NMUXnQ52oavzqO7BQtLPyCP9P5r+yHIM/qrOXi0ybXg=;
 b=lToVRC86t3Ypff7ZVYfvmYjhdrvanVJYlafCdJw4eFdAczLZ4DkMNpKxoqNV7EX73d
 rxzGiiYpV6G0SRYb97Vmp0dom4k9blCvKpkPeUcW5svdIqoxx5Q77Do/GBJAgeJCVV5I
 vMBTt5A8toECDKPbPc993vA01LVaAEuCrbljvCgPGLEIclCgEjPD/u7LywgDeqv8hW1l
 szPHk8isj8ZxdQY7WsIw+D5ixY0EAVT3NLDmipno1y6FelIjbcWGI7RFNDK7ZWvfL1/6
 LfD+fxYSSKowdPTtQTWbXCpca4la4/kXADewxOHz7kj39QcbRCo4WkXrdGWK5lDI766L
 6XIQ==
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=NMUXnQ52oavzqO7BQtLPyCP9P5r+yHIM/qrOXi0ybXg=;
 b=Y+iCP7DhO+PfP0//eNQ5lwyJHsvSBtD5q3VEOJqALH4Dxjn4nrbm7uhG+WdyFITYSa
 Qwd1jBJC7YxZy9/18+WUIQhdXRVpjCJq1vg421Uqhq62TQ8jGGa0cSb4l4IBw5LQQWmK
 EDHrLMj0FBXWNsDVgSAz2TvgZj8YLx7/nnVEgv5J/IwUc3pwMFvbBoXuThFMX3vuSL5m
 QR5XLrxdcgIy/5qJyyTfKLBq0FrmipMD/lhUL9XwwKnjrMWIx46oNfYd0r2mGMGxhFdP
 pJLAVh7+LMOLkFtbP94Y0EpaMhcKqpQKu7tPGO8WGW9cksbrvHoyIXIPUnxpyD95M4y7
 TDyA==
X-Gm-Message-State: AOAM533+ml4a38BrkUkbjIf/LgqAtgJeSTXG8wodg5nyVWqoNOhZGhYh
 i4/QjqXaxpYrNgaajXm0qF22C9/qiw9wK3jIP4E=
X-Google-Smtp-Source: ABdhPJwIZglZal1ZHeMlvA86OC/Tl3q/IXogXo9g+cp4hw+KtybRvFDV6mnGed2ISq8xHUAeQvprYgEzHm6AJ3fPxz4=
X-Received: by 2002:a2e:964e:: with SMTP id z14mr3504847ljh.204.1614402487438; 
 Fri, 26 Feb 2021 21:08:07 -0800 (PST)
MIME-Version: 1.0
References: <CAKDRQS6YGQCDfVKg8R-W42FcbqxFCVF9B-PgKishG4zso2rgwQ@HIDDEN>
 <YDlGDV1FPebgMBQZ@HIDDEN>
In-Reply-To: <YDlGDV1FPebgMBQZ@HIDDEN>
From: Jimmy Yuen Ho Wong <wyuenho@HIDDEN>
Date: Sat, 27 Feb 2021 05:07:31 +0000
Message-ID: <CAKDRQS5sJxiXUgOJQgsnSwM3R7D7YO8=vB7oG+_CY8ZcjwB25A@HIDDEN>
Subject: Re: bug#46797: mac_font_shape EXC_BAD_ACCESS
To: Alan Third <alan@HIDDEN>, Jimmy Yuen Ho Wong <wyuenho@HIDDEN>,
 46797 <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 46797
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

All I did was type really fast under emacs-lisp-mode that has company
and company-box setup, I just typed faster than company was able to
show me a completion menu.

Like many emacs crashes and hangs, I have no way of reproducing them
consistently. Given there's not even an lldbinit written, I can't even
debug it effectively. All I can do is run emacs compiled with
debugging information under lldb.

Jimmy

On Fri, Feb 26, 2021 at 7:03 PM Alan Third <alan@HIDDEN> wrote:
>
> On Fri, Feb 26, 2021 at 04:30:13PM +0000, Jimmy Yuen Ho Wong wrote:
> > Emacs crash on the NSPort of emacs27 HEAD, here's the LLDB info:
> >
> > Process 94921 stopped
> > * thread #1, queue =3D 'com.apple.main-thread', stop reason =3D
> > EXC_BAD_ACCESS (code=3D1, address=3D0x7ffeefc00000)
> >     frame #0: 0x00000001003abd3a
> > Emacs`mac_font_shape(font=3D0x000000011fb480c0, string=3D@"=F0=9D=87=80=
=F0=9D=89=82\0\0\0\0",
> > glyph_layouts=3D0x00007ffeefbe9a50, glyph_len=3D8, dir=3DDIR_UNKNOWN) a=
t
> > macfont.m:3754:34
> >    3751               struct mac_glyph_layout *gl =3D
> >    3752                 glbuf + range.location + range.length;
> >    3753
> > -> 3754               if (gl->comp_range.length
> >    3755                   > comp_range.location + comp_range.length)
> >    3756                 comp_range.length =3D gl->comp_range.length -
> > comp_range.location;
> >    3757               min_location =3D gl->comp_range.location;
> > Target 0: (Emacs) stopped.
> > (lldb) bt --all
> > error: bt [<digit> | all]
> > (lldb) bt all
> > * thread #1, queue =3D 'com.apple.main-thread', stop reason =3D
> > EXC_BAD_ACCESS (code=3D1, address=3D0x7ffeefc00000)
> >   * frame #0: 0x00000001003abd3a
> > Emacs`mac_font_shape(font=3D0x000000011fb480c0, string=3D@"=F0=9D=87=80=
=F0=9D=89=82\0\0\0\0",
> > glyph_layouts=3D0x00007ffeefbe9a50, glyph_len=3D8, dir=3DDIR_UNKNOWN) a=
t
> > macfont.m:3754:34
> >     frame #1: 0x00000001003a529e
> > Emacs`macfont_shape(lgstring=3D0x0000000106e2f005,
> > direction=3D0x0000000000000000) at macfont.m:3000:16
>
> The interesting bit here is missing.
>
> Can you repeat the crash and give us a recipe?
> --
> Alan Third




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46797; Package emacs. Full text available.
Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 46797 <at> debbugs.gnu.org:


Received: (at 46797) by debbugs.gnu.org; 26 Feb 2021 19:03:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 26 14:03:58 2021
Received: from localhost ([127.0.0.1]:42545 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lFiP8-00038T-2L
	for submit <at> debbugs.gnu.org; Fri, 26 Feb 2021 14:03:58 -0500
Received: from outbound.soverin.net ([116.202.65.218]:36825)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alan@HIDDEN>) id 1lFiP2-00038A-F9
 for 46797 <at> debbugs.gnu.org; Fri, 26 Feb 2021 14:03:56 -0500
Received: from smtp.soverin.net (unknown [10.10.3.28])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
 (No client certificate requested)
 by outbound.soverin.net (Postfix) with ESMTPS id DCEF960232
 for <46797 <at> debbugs.gnu.org>; Fri, 26 Feb 2021 19:03:45 +0000 (UTC)
Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.142]) by
 soverin.net
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin;
 t=1614366225; bh=HuWUTauFMEI3C+Pv87lwXby8J0xz27hBdXXITFDagDE=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
 b=X17ERtpTS6J8lw169u2vqR/X9sQFiJqwbRwmIHPsvEQ9oC9/Vo1sM7qzrKer0VqS4
 uW+3QfNU9dzw2RwF84run8xzYz+ktOX697+Y4K3nXZO2HwP2G4lDw/ANOJHsKN+v8V
 HxpmWWZUnPhD2osKAFda0c9vn481aTv7HR6fpT7rERmTpMH/4gF0DCvwoIgvH79WeV
 Q+RdxuYvlZggUvD1t2p6YfCd4l0AH6K2O84klWJP9z4T3Z9pGP001mFaIyBv6y/OSi
 ZphtunN2EaC1YSp7q4QSrNeEjwR6h8YQk7GdVzpXjdtcgSabix3GWENzgfF+hDkP8y
 8k0MB/rK1U6PQ==
Received: by breton.holly.idiocy.org (Postfix, from userid 501)
 id 4B6BB202AB32D8; Fri, 26 Feb 2021 19:03:41 +0000 (GMT)
Date: Fri, 26 Feb 2021 19:03:41 +0000
From: Alan Third <alan@HIDDEN>
To: Jimmy Yuen Ho Wong <wyuenho@HIDDEN>
Subject: Re: bug#46797: mac_font_shape EXC_BAD_ACCESS
Message-ID: <YDlGDV1FPebgMBQZ@HIDDEN>
Mail-Followup-To: Alan Third <alan@HIDDEN>,
 Jimmy Yuen Ho Wong <wyuenho@HIDDEN>, 46797 <at> debbugs.gnu.org
References: <CAKDRQS6YGQCDfVKg8R-W42FcbqxFCVF9B-PgKishG4zso2rgwQ@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAKDRQS6YGQCDfVKg8R-W42FcbqxFCVF9B-PgKishG4zso2rgwQ@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 46797
Cc: 46797 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On Fri, Feb 26, 2021 at 04:30:13PM +0000, Jimmy Yuen Ho Wong wrote:
> Emacs crash on the NSPort of emacs27 HEAD, here's the LLDB info:
> 
> Process 94921 stopped
> * thread #1, queue = 'com.apple.main-thread', stop reason =
> EXC_BAD_ACCESS (code=1, address=0x7ffeefc00000)
>     frame #0: 0x00000001003abd3a
> Emacs`mac_font_shape(font=0x000000011fb480c0, string=@"𝆺𝅥𝅯𝉂\0\0\0\0",
> glyph_layouts=0x00007ffeefbe9a50, glyph_len=8, dir=DIR_UNKNOWN) at
> macfont.m:3754:34
>    3751               struct mac_glyph_layout *gl =
>    3752                 glbuf + range.location + range.length;
>    3753
> -> 3754               if (gl->comp_range.length
>    3755                   > comp_range.location + comp_range.length)
>    3756                 comp_range.length = gl->comp_range.length -
> comp_range.location;
>    3757               min_location = gl->comp_range.location;
> Target 0: (Emacs) stopped.
> (lldb) bt --all
> error: bt [<digit> | all]
> (lldb) bt all
> * thread #1, queue = 'com.apple.main-thread', stop reason =
> EXC_BAD_ACCESS (code=1, address=0x7ffeefc00000)
>   * frame #0: 0x00000001003abd3a
> Emacs`mac_font_shape(font=0x000000011fb480c0, string=@"𝆺𝅥𝅯𝉂\0\0\0\0",
> glyph_layouts=0x00007ffeefbe9a50, glyph_len=8, dir=DIR_UNKNOWN) at
> macfont.m:3754:34
>     frame #1: 0x00000001003a529e
> Emacs`macfont_shape(lgstring=0x0000000106e2f005,
> direction=0x0000000000000000) at macfont.m:3000:16

The interesting bit here is missing.

Can you repeat the crash and give us a recipe?
-- 
Alan Third




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46797; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Feb 2021 16:30:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 26 11:30:59 2021
Received: from localhost ([127.0.0.1]:42119 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lFg14-0001Dd-N8
	for submit <at> debbugs.gnu.org; Fri, 26 Feb 2021 11:30:59 -0500
Received: from lists.gnu.org ([209.51.188.17]:38392)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <wyuenho@HIDDEN>) id 1lFg12-0001DV-JF
 for submit <at> debbugs.gnu.org; Fri, 26 Feb 2021 11:30:56 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:52836)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <wyuenho@HIDDEN>) id 1lFg10-00035O-Rx
 for bug-gnu-emacs@HIDDEN; Fri, 26 Feb 2021 11:30:56 -0500
Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]:39612)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <wyuenho@HIDDEN>) id 1lFg0y-0006sq-Pc
 for bug-gnu-emacs@HIDDEN; Fri, 26 Feb 2021 11:30:54 -0500
Received: by mail-lj1-x22a.google.com with SMTP id u4so11276421ljh.6
 for <bug-gnu-emacs@HIDDEN>; Fri, 26 Feb 2021 08:30:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to
 :content-transfer-encoding;
 bh=D4DN8uMoB62xsP3OYsBlgRMgT5RO6h8fcVVMtx7lWdw=;
 b=d9zyOWWUh7UVIcAsLKVlSb5X6lOsIEeFPf931UgsVjnPmfNd8RKeRBPVFpTCD7F9NZ
 PlG8+qWsL4bPJJ5w7bYh/T0Da1M4WVtcEqxTXQgBMKPLFUyNXXrCmizjUJjW/rCPviWQ
 m4oeM9lEN+oHizSGlYCjUbfiMN4pM5lhiXfF/ENqlh1XMRBr7Z8tnU48PQyfTUl/hUtP
 5vPm5uDBwkCtTDpVU+tnLKRmbAcD3yb/rrc1sIf7rVsPPEpN9mD7HcvB5ncdJxo5u3pA
 Wd+o8lCnzMLUHqJufnIc4yyyB6wsQaWfkf+WzR/iV18Ru2Q5wsnu66ujx3cN2GdZ3ZUJ
 7DoQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to
 :content-transfer-encoding;
 bh=D4DN8uMoB62xsP3OYsBlgRMgT5RO6h8fcVVMtx7lWdw=;
 b=OHAEy4lNfFwGrD6aJ+hrHEFWNeZRhNXycp855vOeBVKYE1XfFYVqco8piKVa5f2YBc
 oENhSegDRQhbI7pvm1taOWCCzPw8DAcJO8w62toPldUsRE4sEtg4lfKK852tcOaVmXW2
 5NLqDHHgRHHUubbVGbQ8d3SoQf7O+CaFm3xjjidNnc1uc1Hh97zpAgMvfQy+E40CPPnp
 Vneoe3oBPJIfdBPKrszKB+maFBV15bcsclFYjp4PsJSnycS1oT8xksdxw7HLsjdkwaCu
 BUYBr0JgW+Z+OzOEXMwgX0LEvQtZa4eRAfu6VWdiy1W4achBHPt2izu0khjADmM6CIrv
 8Rhg==
X-Gm-Message-State: AOAM5312YGm/Bjqk+wvwgIODa0j9se+ByC3Z7ixuKp8RgZJIhIroI3OE
 doEIJIKdZmZfv/PiXoYO2DHZ74L2JGYEbGe9w3JSwTQUWMc=
X-Google-Smtp-Source: ABdhPJzZbT26YlWh7qs+4eOYYE5Ud1YujtPOxgua+9pF0Qg8STK/L5RXmKIlgIn7IjdQNVUQduWDi6ODiFuiFrpePmQ=
X-Received: by 2002:a05:651c:11c7:: with SMTP id
 z7mr2181439ljo.469.1614357049486; 
 Fri, 26 Feb 2021 08:30:49 -0800 (PST)
MIME-Version: 1.0
From: Jimmy Yuen Ho Wong <wyuenho@HIDDEN>
Date: Fri, 26 Feb 2021 16:30:13 +0000
Message-ID: <CAKDRQS6YGQCDfVKg8R-W42FcbqxFCVF9B-PgKishG4zso2rgwQ@HIDDEN>
Subject: mac_font_shape EXC_BAD_ACCESS
To: bug-gnu-emacs@HIDDEN
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2a00:1450:4864:20::22a;
 envelope-from=wyuenho@HIDDEN; helo=mail-lj1-x22a.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Emacs crash on the NSPort of emacs27 HEAD, here's the LLDB info:

Process 94921 stopped
* thread #1, queue =3D 'com.apple.main-thread', stop reason =3D
EXC_BAD_ACCESS (code=3D1, address=3D0x7ffeefc00000)
    frame #0: 0x00000001003abd3a
Emacs`mac_font_shape(font=3D0x000000011fb480c0, string=3D@"=F0=9D=87=80=F0=
=9D=89=82\0\0\0\0",
glyph_layouts=3D0x00007ffeefbe9a50, glyph_len=3D8, dir=3DDIR_UNKNOWN) at
macfont.m:3754:34
   3751               struct mac_glyph_layout *gl =3D
   3752                 glbuf + range.location + range.length;
   3753
-> 3754               if (gl->comp_range.length
   3755                   > comp_range.location + comp_range.length)
   3756                 comp_range.length =3D gl->comp_range.length -
comp_range.location;
   3757               min_location =3D gl->comp_range.location;
Target 0: (Emacs) stopped.
(lldb) bt --all
error: bt [<digit> | all]
(lldb) bt all
* thread #1, queue =3D 'com.apple.main-thread', stop reason =3D
EXC_BAD_ACCESS (code=3D1, address=3D0x7ffeefc00000)
  * frame #0: 0x00000001003abd3a
Emacs`mac_font_shape(font=3D0x000000011fb480c0, string=3D@"=F0=9D=87=80=F0=
=9D=89=82\0\0\0\0",
glyph_layouts=3D0x00007ffeefbe9a50, glyph_len=3D8, dir=3DDIR_UNKNOWN) at
macfont.m:3754:34
    frame #1: 0x00000001003a529e
Emacs`macfont_shape(lgstring=3D0x0000000106e2f005,
direction=3D0x0000000000000000) at macfont.m:3000:16
  thread #4, name =3D 'gmain'
    frame #0: 0x00007fff203211fe libsystem_kernel.dylib`__select + 10
    frame #1: 0x0000000101f4cbef libglib-2.0.0.dylib`g_poll + 505
    frame #2: 0x0000000101f40a3e
libglib-2.0.0.dylib`g_main_context_iterate + 340
    frame #3: 0x0000000101f40aec
libglib-2.0.0.dylib`g_main_context_iteration + 55
    frame #4: 0x0000000101f41b99 libglib-2.0.0.dylib`glib_worker_main + 30
    frame #5: 0x0000000101f620bd libglib-2.0.0.dylib`g_thread_proxy + 90
    frame #6: 0x00007fff2034d950 libsystem_pthread.dylib`_pthread_start + 2=
24
    frame #7: 0x00007fff2034947b libsystem_pthread.dylib`thread_start + 15
  thread #7
    frame #0: 0x00007fff203211fe libsystem_kernel.dylib`__select + 10
    frame #1: 0x000000010036dd4d Emacs`-[EmacsApp
fd_handler:](self=3D0x000000010532b7f0, _cmd=3D"fd_handler:",
unused=3D0x0000000000000000) at nsterm.m:6066:20
    frame #2: 0x00007fff211c9e1d Foundation`__NSThread__start__ + 1042
    frame #3: 0x00007fff2034d950 libsystem_pthread.dylib`_pthread_start + 2=
24
    frame #4: 0x00007fff2034947b libsystem_pthread.dylib`thread_start + 15
  thread #9, name =3D 'com.apple.NSEventThread'
    frame #0: 0x00007fff20318e7e libsystem_kernel.dylib`mach_msg_trap + 10
    frame #1: 0x00007fff203191f0 libsystem_kernel.dylib`mach_msg + 60
    frame #2: 0x00007fff20445bf7 CoreFoundation`__CFRunLoopServiceMachPort =
+ 316
    frame #3: 0x00007fff204442ca CoreFoundation`__CFRunLoopRun + 1315
    frame #4: 0x00007fff204436ce CoreFoundation`CFRunLoopRunSpecific + 563
    frame #5: 0x00007fff22de97c6 AppKit`_NSEventThread + 124
    frame #6: 0x00007fff2034d950 libsystem_pthread.dylib`_pthread_start + 2=
24
    frame #7: 0x00007fff2034947b libsystem_pthread.dylib`thread_start + 15
  thread #293
    frame #0: 0x00007fff2031a53e libsystem_kernel.dylib`__workq_kernreturn =
+ 10
    frame #1: 0x0019a19a00004000
    frame #2: 0x00007fff20349467 libsystem_pthread.dylib`start_wqthread + 1=
5
(lldb) vars
error: 'vars' is not a valid command.
(lldb) var
(CTFontRef) font =3D 0x000000011fb480c0
(CFStringRef) string =3D 0x0000000110d6b1c0 @"=F0=9D=87=80=F0=9D=89=82\0\0\=
0\0"
(mac_glyph_layout *) glyph_layouts =3D 0x00007ffeefbe9a50
(CFIndex) glyph_len =3D 8
(lgstring_direction) dir =3D DIR_UNKNOWN
(CFIndex) used =3D 4
(CFIndex) result =3D 0
(CTLineRef) ctline =3D 0x00000001242fa0a0
(CFArrayRef) ctruns =3D 0x0000000110da2e10 @"2 elements"
(CFIndex) k =3D 0
(CFIndex) ctrun_count =3D 2
(CGFloat) total_advance =3D 0
(CFIndex) total_glyph_count =3D 0
(CTRunRef) ctrun =3D 0x00000001242f9d00
(CFIndex) i =3D 14
(CFIndex) min_location =3D 8458716092896928869
(CFIndex) glyph_count =3D 1
(mac_glyph_layout *) glbuf =3D 0x00007ffeefbe9a50
(CFRange) string_range =3D location=3D0 length=3D2
(CFRange) comp_range =3D location=3D9223372036854775807 length=3D0
(CFRange) range =3D location=3D1142 length=3D493
(CFIndex *) permutation =3D 0x0000000000000000
(mac_glyph_layout *) gl =3D 0x00007ffeefbffff8


Jimmy Yuen Ho Wong




Acknowledgement sent to Jimmy Yuen Ho Wong <wyuenho@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#46797; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 27 Feb 2021 05:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.