From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Mike Hamrick Newsgroups: gmane.emacs.bugs Subject: bug#38564: 27.0.50; macOS "emacs -nw" git-gutter-mode segfault Date: Wed, 11 Dec 2019 07:15:56 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="172590"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: mu4e 1.0; emacs 25.3.1 Cc: 38564@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 11 16:17:24 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1if3jr-000ibH-Dk for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Dec 2019 16:17:19 +0100 Original-Received: from localhost ([::1]:44036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1if3jq-0001nq-5F for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Dec 2019 10:17:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54002) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1if3jb-0001m6-Lc for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2019 10:17:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1if3ja-0004Zv-Kg for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2019 10:17:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52473) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1if3ja-0004Zl-H6 for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2019 10:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1if3ja-0001VN-DK for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2019 10:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mike Hamrick Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Dec 2019 15:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38564 X-GNU-PR-Package: emacs Original-Received: via spool by 38564-submit@debbugs.gnu.org id=B38564.15760773715668 (code B ref 38564); Wed, 11 Dec 2019 15:17:02 +0000 Original-Received: (at 38564) by debbugs.gnu.org; 11 Dec 2019 15:16:11 +0000 Original-Received: from localhost ([127.0.0.1]:58446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1if3ik-0001TL-CD for submit@debbugs.gnu.org; Wed, 11 Dec 2019 10:16:10 -0500 Original-Received: from eidolon.muppetlabs.com ([207.66.255.52]:53967) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1if3ih-0001SR-IG for 38564@debbugs.gnu.org; Wed, 11 Dec 2019 10:16:08 -0500 Original-Received: from eidolon.muppetlabs.com ([207.66.255.52]) by eidolon.muppetlabs.com with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1if3iW-00064f-3G; Wed, 11 Dec 2019 07:16:01 -0800 In-reply-to: X-Spam_score: -22.2 X-Spam_score_int: -221 X-Spam_bar: ---------------------- X-Spam_report: Spam detection software, running on the system "eidolon.muppetlabs.com", 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 the administrator of that system for details. Content preview: Robert Pluim writes: > =?UTF-8?Q?I=CA=BCm?= surprised nobody's seen this before. I was able to find a couple of references to the bug that were reported downstream. https://github.com/d12frosted/homebrew-emacs-plus/issues/112 https://github.com/hlissner/doom-emacs/issues/1170 Content analysis details: (-22.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -20 SC_HAM No d 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: 209.51.188.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:173179 Archived-At: Robert Pluim writes: > Iʼm surprised nobody's seen this before. I was able to find a couple of references to the bug that were reported downstream. https://github.com/d12frosted/homebrew-emacs-plus/issues/112 https://github.com/hlissner/doom-emacs/issues/1170 > Right idea, but one layer lower than needed. ns_color_index_to_rgba > should not be calling ns_lookup_indexed_color in non-gui mode. Try > this instead: Your patch does indeed fix the bug for me! It also explains why this issue doesn't exist in 26.2, as the ns_color_index_to_rgba function was added a little over a year ago. I'm a bit shocked at how quickly my bug report reached someone intimately familiar with the underlying code.