From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#22818: 25.1.1 Emacs.app crash ns_compute_glyph_string_overhangs Date: Sat, 19 Nov 2016 11:18:23 +0000 Message-ID: <20161119111823.GA66770@breton.holly.idiocy.org> References: <83twb4aqwp.fsf@gnu.org> <20161119100703.GA66661@breton.holly.idiocy.org> <83k2bzbw8g.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1479554353 7282 195.159.176.226 (19 Nov 2016 11:19:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 19 Nov 2016 11:19:13 +0000 (UTC) User-Agent: Mutt/1.7.0 (2016-08-17) Cc: 22818@debbugs.gnu.org, josh@berdine.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 19 12:19:09 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 1c83fo-0000qE-TD for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Nov 2016 12:19:09 +0100 Original-Received: from localhost ([::1]:40918 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c83fs-0002aP-A8 for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Nov 2016 06:19:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c83fm-0002a1-4l for bug-gnu-emacs@gnu.org; Sat, 19 Nov 2016 06:19:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c83fi-0002UY-Sw for bug-gnu-emacs@gnu.org; Sat, 19 Nov 2016 06:19:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47318) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c83fi-0002US-Pc for bug-gnu-emacs@gnu.org; Sat, 19 Nov 2016 06:19:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c83fi-00054F-E6 for bug-gnu-emacs@gnu.org; Sat, 19 Nov 2016 06:19:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Nov 2016 11:19:02 +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.147955431319431 (code B ref 22818); Sat, 19 Nov 2016 11:19:02 +0000 Original-Received: (at 22818) by debbugs.gnu.org; 19 Nov 2016 11:18:33 +0000 Original-Received: from localhost ([127.0.0.1]:34484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c83fE-00053L-Qx for submit@debbugs.gnu.org; Sat, 19 Nov 2016 06:18:32 -0500 Original-Received: from mail-wm0-f41.google.com ([74.125.82.41]:37552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c83fD-000537-Ca for 22818@debbugs.gnu.org; Sat, 19 Nov 2016 06:18:31 -0500 Original-Received: by mail-wm0-f41.google.com with SMTP id t79so73238760wmt.0 for <22818@debbugs.gnu.org>; Sat, 19 Nov 2016 03:18:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=q6nZiVlHnn4lByaTjhGC5YHazr9F3rgVKnqrcGwMEhg=; b=GjK+iluH2M2i0DGw754fT07pAkCZ3QjYxtcTDQgqIYMzGQ0/ipqfPN+PXpIZNJmNB6 8UuQtAbCJ1H4sBqhwHbJL1Xj0f9f4H/semuu9agNhTcXQLr1TapHFgLmw1veSv5o+SUi Dd2hJpCzF4FlDHsIGsO71Ccu6viggohTooxaiS4jc0DGvNIgmxNdvlAl/IWgRGimhtmp pRhpW06g10QFxEaBTKt0yPQ6XIEpfSs0Qymt2OO5z9JyYH9yzHEYO9Z23Z6Y58KN6BIy UUDTSTAqM6qCDm9+r16ZU4UNH1e2t74vRc+g0epog65n+CoGGOF+dj7esLBv4dYoEbAy bRQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=q6nZiVlHnn4lByaTjhGC5YHazr9F3rgVKnqrcGwMEhg=; b=X6c9F2V/cT/kiso4XkuKAXlX2z1OyIlCM5rl1gDXa6DGsAJhYuuOYwYBTO/H8cjZ+i uQW/hSnhHT5sGuMMsC/Ep8vpM++xnwGl8Qhv1NXd9EBJZWfA+dA/VFchR8k9dOnmW/DW amAeZhKEVQTLnmj5cUGnlifdJFnbSRYvLByhmZaAUabVtBB61UGEjthM0/Y9epBmJh8W K7RvieMXl69N2/5EJaPC+gqx3OJtytqBVWGjUY4YSb9y6f8l0CpdJaooRM5FyzXaFOkK G4/076/2mTDr0jxYbF8YDRmZj2ez+aIKCSFStcRxS6EcbLckW+H3HmiYPG8mn/iiZ3zV uAhw== X-Gm-Message-State: AKaTC02E9sxKqM/veZhqqUCFE2275yHq5qHVds4QQoc+W2Ds1Zzf6L/nPSG91kjRDsV7lQ== X-Received: by 10.28.51.211 with SMTP id z202mr3091690wmz.125.1479554305685; Sat, 19 Nov 2016 03:18:25 -0800 (PST) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-4145-2d31-d9b8-2802.holly.idiocy.org. [2001:8b0:3f8:8129:4145:2d31:d9b8:2802]) by smtp.gmail.com with ESMTPSA id l67sm8788402wmf.0.2016.11.19.03.18.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 19 Nov 2016 03:18:25 -0800 (PST) Content-Disposition: inline In-Reply-To: <83k2bzbw8g.fsf@gnu.org> 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:125865 Archived-At: On Sat, Nov 19, 2016 at 12:27:27PM +0200, Eli Zaretskii wrote: > So the question now becomes: how did that glyph_string got a NULL > font? The answer is somewhere in the code that generates glyph > strings as part of the call to BUILD_GLYPH_STRINGS. Can you try > figuring out why does that happen, by stepping through the code in > BUILD_GLYPH_STRINGS? I’m trying to work out how to do this, but in the mean‐time here’s s->face: (lldb) fr v *s->face (face) *s->face = { lface = { [0] = 17952 [1] = 4311871236 [2] = 4298401388 [3] = 32304 [4] = 482 [5] = 32304 [6] = 32304 [7] = 0 [8] = 0 [9] = 4313454388 [10] = 4313454420 [11] = 0 [12] = 0 [13] = 0 [14] = 0 [15] = 4356698701 [16] = 0 [17] = 4313448132 [18] = 44496 } id = 19 gc = 0x0000000000000000 stipple = 0 foreground = 2 background = 1 underline_color = 0 overline_color = 0 strike_through_color = 0 box_color = 0 font = 0x0000000000000000 fontset = 3 box_line_width = 0 box = FACE_NO_BOX underline_type = FACE_UNDER_LINE use_box_color_for_shadows_p = false underline_p = false overline_p = false strike_through_p = false foreground_defaulted_p = false background_defaulted_p = false underline_defaulted_p = false overline_color_defaulted_p = false strike_through_color_defaulted_p = false box_color_defaulted_p = false tty_bold_p = false tty_italic_p = false tty_underline_p = false tty_reverse_p = false colors_copied_bitwise_p = true overstrike = false synth_ital = false hash = 7029 next = 0x000000010fd7e5d0 prev = 0x000000010c5eda00 ascii_face = 0x00000001011afac0 } I don’t know if that tells you anything useful. -- Alan Third