From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22818: 25.1.1 Emacs.app crash ns_compute_glyph_string_overhangs Date: Sat, 19 Nov 2016 09:07:50 +0200 Message-ID: <83twb4aqwp.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1479539295 2798 195.159.176.226 (19 Nov 2016 07:08:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 19 Nov 2016 07:08:15 +0000 (UTC) Cc: 22818@debbugs.gnu.org To: Josh Berdine Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 19 08:08:11 2016 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 1c7zkx-0007wq-GX for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Nov 2016 08:08:11 +0100 Original-Received: from localhost ([::1]:40310 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7zl0-0006TZ-II for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Nov 2016 02:08:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7zko-0006T7-VO for bug-gnu-emacs@gnu.org; Sat, 19 Nov 2016 02:08:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c7zkn-000565-Qq for bug-gnu-emacs@gnu.org; Sat, 19 Nov 2016 02:08:02 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47201) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c7zkn-00055x-Nn for bug-gnu-emacs@gnu.org; Sat, 19 Nov 2016 02:08:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c7zkn-0005PX-It for bug-gnu-emacs@gnu.org; Sat, 19 Nov 2016 02:08:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Nov 2016 07:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22818 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible Original-Received: via spool by 22818-submit@debbugs.gnu.org id=B22818.147953927620785 (code B ref 22818); Sat, 19 Nov 2016 07:08:01 +0000 Original-Received: (at 22818) by debbugs.gnu.org; 19 Nov 2016 07:07:56 +0000 Original-Received: from localhost ([127.0.0.1]:34367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c7zki-0005PB-13 for submit@debbugs.gnu.org; Sat, 19 Nov 2016 02:07:56 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38390) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c7zkf-0005Ou-OQ for 22818@debbugs.gnu.org; Sat, 19 Nov 2016 02:07:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c7zkX-00050D-9w for 22818@debbugs.gnu.org; Sat, 19 Nov 2016 02:07:48 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36720) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7zkX-000503-6W; Sat, 19 Nov 2016 02:07:45 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3349 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1c7zkV-0007SI-R3; Sat, 19 Nov 2016 02:07:44 -0500 In-reply-to: (message from Josh Berdine on Fri, 18 Nov 2016 21:31:49 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:125856 Archived-At: > From: Josh Berdine > Date: Fri, 18 Nov 2016 21:31:49 +0000 > > (lldb) c > Process 42346 resuming > Process 42346 stopped > * thread #1: tid = 0x449aca, 0x00000001001b5767 Emacs-x86_64-10_9`ns_compute_glyph_string_overhangs + 119, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0xd0) > frame #0: 0x00000001001b5767 Emacs-x86_64-10_9`ns_compute_glyph_string_overhangs + 119 > Emacs-x86_64-10_9`ns_compute_glyph_string_overhangs: > -> 0x1001b5767 <+119>: movq 0xd0(%rdi), %rax > 0x1001b576e <+126>: cmpq $0x7e00, (%rax) ; imm = 0x7E00 > 0x1001b5775 <+133>: jne 0x1001b579b ; <+171> > 0x1001b5777 <+135>: xorl %eax, %eax > (lldb) bt > * thread #1: tid = 0x449aca, 0x00000001001b5767 Emacs-x86_64-10_9`ns_compute_glyph_string_overhangs + 119, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0xd0) > * frame #0: 0x00000001001b5767 Emacs-x86_64-10_9`ns_compute_glyph_string_overhangs + 119 > frame #1: 0x00000001000379d7 Emacs-x86_64-10_9`draw_glyphs + 3415 > frame #2: 0x0000000100036c16 Emacs-x86_64-10_9`x_write_glyphs + 166 > frame #3: 0x0000000100009e3e Emacs-x86_64-10_9`update_window_line + 670 > frame #4: 0x0000000100005edc Emacs-x86_64-10_9`update_window + 4588 > frame #5: 0x00000001000046a4 Emacs-x86_64-10_9`update_window_tree + 116 > frame #6: 0x00000001000044e7 Emacs-x86_64-10_9`update_frame + 135 Can you convert the address in frame #0 into line numbers? Judging by the faulting address, 0xd0, some pointer in ns_compute_glyph_string_overhangs is a null pointer, but it's hard to tell which one without the line number information.