GNU logs - #46797, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#46797: mac_font_shape EXC_BAD_ACCESS
Resent-From: Jimmy Yuen Ho Wong <wyuenho@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 26 Feb 2021 16:31:02 +0000
Resent-Message-ID: <handler.46797.B.16143570594694 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 46797
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 46797 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.16143570594694
          (code B ref -1); Fri, 26 Feb 2021 16:31:02 +0000
Received: (at submit) by debbugs.gnu.org; 26 Feb 2021 16:30:59 +0000
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>
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-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




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Jimmy Yuen Ho Wong <wyuenho@HIDDEN>
Subject: bug#46797: Acknowledgement (mac_font_shape EXC_BAD_ACCESS)
Message-ID: <handler.46797.B.16143570594694.ack <at> debbugs.gnu.org>
References: <CAKDRQS6YGQCDfVKg8R-W42FcbqxFCVF9B-PgKishG4zso2rgwQ@HIDDEN>
X-Gnu-PR-Message: ack 46797
X-Gnu-PR-Package: emacs
Reply-To: 46797 <at> debbugs.gnu.org
Date: Fri, 26 Feb 2021 16:31:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 46797 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
46797: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D46797
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#46797: mac_font_shape EXC_BAD_ACCESS
Resent-From: Alan Third <alan@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 26 Feb 2021 19:04:02 +0000
Resent-Message-ID: <handler.46797.B46797.161436623812062 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 46797
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Jimmy Yuen Ho Wong <wyuenho@HIDDEN>
Cc: 46797 <at> debbugs.gnu.org
Received: via spool by 46797-submit <at> debbugs.gnu.org id=B46797.161436623812062
          (code B ref 46797); Fri, 26 Feb 2021 19:04:02 +0000
Received: (at 46797) by debbugs.gnu.org; 26 Feb 2021 19:03:58 +0000
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>
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-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




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


Received: (at control) by debbugs.gnu.org; 27 Feb 2021 05:04:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 27 00:04:30 2021
Received: from localhost ([127.0.0.1]:43032 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lFrmI-0000Z7-A9
	for submit <at> debbugs.gnu.org; Sat, 27 Feb 2021 00:04:30 -0500
Received: from quimby.gnus.org ([95.216.78.240]:43720)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1lFrmH-0000Ys-Bd
 for control <at> debbugs.gnu.org; Sat, 27 Feb 2021 00:04:29 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc:
 MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=YXx+D/46i0+nMKcAlgeYGUjo2ogwTr4qOzcxmR7/px8=; b=OznmFbE/AgM/dhIJSwZVUDSQD7
 EWlorloo4IDDPCHcMZKaB+21mMtr2RNcnPxwK9wgg/o+4iwVa7DOfzIANBEeqI4RnfOZnfu7x+lgl
 Ne29BdNppmrYcQUYhs4Aid0G0PX1OTr9i7tw/xjY3eW1pHvxtVa0NJ3RKk9OcgVpyDLo=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1lFrm9-00029E-Ov
 for control <at> debbugs.gnu.org; Sat, 27 Feb 2021 06:04:23 +0100
Date: Sat, 27 Feb 2021 06:04:20 +0100
Message-Id: <878s7aje3v.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: control message for bug #46797
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  tags 46797 + moreinfo quit 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
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 (-)

tags 46797 + moreinfo
quit





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#46797: mac_font_shape EXC_BAD_ACCESS
Resent-From: Jimmy Yuen Ho Wong <wyuenho@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 27 Feb 2021 05:09:02 +0000
Resent-Message-ID: <handler.46797.B46797.16144024962599 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 46797
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Alan Third <alan@HIDDEN>, Jimmy Yuen Ho Wong <wyuenho@HIDDEN>, 46797 <at> debbugs.gnu.org
Received: via spool by 46797-submit <at> debbugs.gnu.org id=B46797.16144024962599
          (code B ref 46797); Sat, 27 Feb 2021 05:09:02 +0000
Received: (at 46797) by debbugs.gnu.org; 27 Feb 2021 05:08:16 +0000
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>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
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





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.