From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 18 17:51:33 2014 Received: (at submit) by debbugs.gnu.org; 18 Sep 2014 21:51:33 +0000 Received: from localhost ([127.0.0.1]:44857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XUjbw-0008C0-4F for submit@debbugs.gnu.org; Thu, 18 Sep 2014 17:51:33 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56463) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XUQ4I-0005pS-87 for submit@debbugs.gnu.org; Wed, 17 Sep 2014 20:59:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XUQ4B-0000B1-UC for submit@debbugs.gnu.org; Wed, 17 Sep 2014 20:59:29 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56927) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUQ4B-00009l-RP for submit@debbugs.gnu.org; Wed, 17 Sep 2014 20:59:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUQ41-00089u-Nm for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2014 20:59:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XUQ3w-00007J-Gi for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2014 20:59:13 -0400 Received: from cpe-142-11-71-47.socal.rr.com ([142.11.71.47]:59726 helo=smtp.blackbean.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUQ3w-0008WG-70 for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2014 20:59:08 -0400 Received: from home.blackbean.org (localhost [127.0.0.1]) by smtp.blackbean.org (8.14.8/8.14.7) with ESMTP id s8HNco3D025156 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 17 Sep 2014 16:38:55 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blackbean.org; s=apple; t=1410997135; bh=BtDkZSCHw8n5e6C3y915iYEEByBiBibJdktrQVWQDwI=; h=Date:From:To:Subject; b=IWMzEM9Z0/Ehdw1frgQZDicOQdKLwnlu0efI2Pf436fDrABCFaSZ8/ud8fTxy0WR1 PRxy4q2WAKTVp8PWlhMuzgGyJQZ9+ca8dLl9nByNJRa8Y6O8Y/k004AKTTqbMCPrpv SnckeoUQoD6f/VA72e9q9cwTNBYevSvauXQ6XIBeN7wlynkOZUopkIsLNgUICyCQZy MWxzHAW1vMKUaBxQ9a9ZFDulkREbZ1UaeMR5tkHGrD+DlvyxJMcV615amTT Received: (from jim@localhost) by home.blackbean.org (8.14.8/8.14.8/Submit) id s8HNcn2i025155 for bug-gnu-emacs@gnu.org; Wed, 17 Sep 2014 16:38:49 -0700 Date: Wed, 17 Sep 2014 16:38:49 -0700 From: Jim Radford To: bug-gnu-emacs@gnu.org Subject: 24.3.93; OS X; crash in free() when calling macfont_close() Message-ID: <20140917233849.GA25143@home.blackbean.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 18 Sep 2014 17:51:30 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) I often see Emacs use 100% of my CPU after closing emacsclient-opened windows. Here's a backtrace when I connect to the looping process. * thread #1: tid = 0x149297, 0x0000000100142d8b Emacs`hash_lookup [inlined] AREF(array=4391639061) at lisp.h:1356, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x30ecf2338) * frame #0: 0x0000000100142d8b Emacs`hash_lookup [inlined] AREF(array=4391639061) at lisp.h:1356 frame #1: 0x0000000100142d8b Emacs`hash_lookup [inlined] HASH_INDEX(h=0x0000000101818990) at lisp.h:1844 frame #2: 0x0000000100142d8b Emacs`hash_lookup(h=0x0000000101818990, key=4370859418, hash=) + 59 at fns.c:3807 frame #3: 0x00000001000874f2 Emacs`code_convert_string(string=140734799784416, coding_system=4370859418, dst_object=4320145514, encodep=false, nocopy=, norecord=true) + 194 at coding.c:9450 frame #4: 0x00000001000ecf8e Emacs`Fexpand_file_name(name=, default_directory=) + 878 at fileio.c:1176 frame #5: 0x00000001000eccfe Emacs`Fexpand_file_name(name=4319204161, default_directory=) + 222 at fileio.c:981 frame #6: 0x00000001000f3e7e Emacs`Fdo_auto_save(no_message=, current_only=4320145466) + 286 at fileio.c:5560 frame #7: 0x00000001000b789f Emacs`shut_down_emacs(sig=6, stuff=4320145466) + 239 at emacs.c:2026 frame #8: 0x00000001000b7699 Emacs`terminate_due_to_signal(sig=6, backtrace_limit=40) + 89 at emacs.c:362 frame #9: 0x00000001000d6436 Emacs`deliver_fatal_thread_signal [inlined] handle_fatal_signal(sig=6) + 134 at sysdep.c:1630 frame #10: 0x00000001000d642f Emacs`deliver_fatal_thread_signal [inlined] deliver_thread_signal + 119 at sysdep.c:1604 frame #11: 0x00000001000d63b8 Emacs`deliver_fatal_thread_signal(sig=) + 8 at sysdep.c:1642 frame #12: 0x00007fff8d11a5aa libsystem_platform.dylib`_sigtramp + 26 frame #13: 0x00007fff8bb1c867 libsystem_kernel.dylib`__pthread_kill + 11 frame #14: 0x00007fff90cbeb1a libsystem_c.dylib`abort + 125 frame #15: 0x00007fff90b0f07f libsystem_malloc.dylib`free + 411 frame #16: 0x00000001001c6108 Emacs`macfont_close(font=) + 280 at macfont.m:2631 frame #17: 0x000000010011be9d Emacs`Fgarbage_collect [inlined] cleanup_vector + 38 at alloc.c:2935 frame #18: 0x000000010011be77 Emacs`Fgarbage_collect [inlined] sweep_vectors + 572 at alloc.c:2986 frame #19: 0x000000010011bc3b Emacs`Fgarbage_collect [inlined] gc_sweep + 239 at alloc.c:6721 frame #20: 0x000000010011bb4c Emacs`Fgarbage_collect + 6172 at alloc.c:5650 frame #21: 0x0000000100170c1a Emacs`exec_byte_code [inlined] maybe_gc + 1338 at lisp.h:4564 In GNU Emacs 24.3.93.1 (x86_64-apple-darwin13.3.0, NS apple-appkit-1265.21) Configured using: `configure --with-ns' From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 18 18:14:37 2014 Received: (at 18501) by debbugs.gnu.org; 18 Sep 2014 22:14:37 +0000 Received: from localhost ([127.0.0.1]:44872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XUjyH-0000L8-31 for submit@debbugs.gnu.org; Thu, 18 Sep 2014 18:14:37 -0400 Received: from cpe-142-11-71-47.socal.rr.com ([142.11.71.47]:37888 helo=smtp.blackbean.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XUjyD-0000Kz-Vq for 18501@debbugs.gnu.org; Thu, 18 Sep 2014 18:14:34 -0400 Received: from home.blackbean.org (localhost [127.0.0.1]) by smtp.blackbean.org (8.14.8/8.14.7) with ESMTP id s8IMEUJG000543 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <18501@debbugs.gnu.org>; Thu, 18 Sep 2014 15:14:31 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blackbean.org; s=apple; t=1411078471; bh=QMHaCla5VOSO641l/Y1yq5zsf/7mSs5ch9cBNuNef9s=; h=Date:From:To:Subject:References:In-Reply-To; b=KQ6rxr3jzUdNO+7dCI3qYbTqIVuxxEgB6XdQakmI+FpjV5WERdfMcEDxs+eh5W/gJ 5OUb74iujrIykJxTzmmarc7X8aF1eNamZOzFaUxJngZ7bJdKZ1blfj6MeruYp6aeHV KalbZ4dY7r4ZDOsYX+pMvffRABRykrIZ54rEdK0WDufsaG2cfsDTXJziPiAkIunjqV BS5IgYHuoi7mhoGai32IAg+IKDgJ++P6GrvDQkHzD2+33drNxUix9bXv78N Received: (from jim@localhost) by home.blackbean.org (8.14.8/8.14.8/Submit) id s8IMEUiI000542 for 18501@debbugs.gnu.org; Thu, 18 Sep 2014 15:14:30 -0700 Date: Thu, 18 Sep 2014 15:14:30 -0700 From: Jim Radford To: 18501@debbugs.gnu.org Subject: Re: bug#18501: Acknowledgement (24.3.93; OS X; crash in free() when calling macfont_close()) Message-ID: <20140918221430.GA477@home.blackbean.org> References: <20140917233849.GA25143@home.blackbean.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-0.3 required=5.0 tests=ALL_TRUSTED, DATE_IN_FUTURE_48_96,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on home.blackbean.org X-Spam-Score: 3.9 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: After investigating this a bit more it seems that the hash_lookup() segfaults because its gcmarkbit is on due the segfault in macfont_close() happening while garbage collecting. [...] Content analysis details: (3.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 3.6 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL [142.11.71.47 listed in zen.spamhaus.org] 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Debbugs-Envelope-To: 18501 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 3.9 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: After investigating this a bit more it seems that the hash_lookup() segfaults because its gcmarkbit is on due the segfault in macfont_close() happening while garbage collecting. [...] Content analysis details: (3.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL [142.11.71.47 listed in zen.spamhaus.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid After investigating this a bit more it seems that the hash_lookup() segfaults because its gcmarkbit is on due the segfault in macfont_close() happening while garbage collecting. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 19 13:05:47 2014 Received: (at 18501) by debbugs.gnu.org; 19 Sep 2014 17:05:47 +0000 Received: from localhost ([127.0.0.1]:45997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XV1cx-00048w-DV for submit@debbugs.gnu.org; Fri, 19 Sep 2014 13:05:47 -0400 Received: from cpe-142-11-71-47.socal.rr.com ([142.11.71.47]:39456 helo=smtp.blackbean.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XV1cu-00048j-MK for 18501@debbugs.gnu.org; Fri, 19 Sep 2014 13:05:45 -0400 Received: from home.blackbean.org (localhost [127.0.0.1]) by smtp.blackbean.org (8.14.8/8.14.7) with ESMTP id s8JH5fLJ008395 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <18501@debbugs.gnu.org>; Fri, 19 Sep 2014 10:05:41 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blackbean.org; s=apple; t=1411146341; bh=7H8IllMz9GmEjC53xGDDOnDpe7VkzH8t6ZKEwrzK5yo=; h=Date:From:To:Subject:References:In-Reply-To; b=SYCvcKC+Bm3eI6kacSnauSyuZDLjPhlwvjYEqBve1X2B4WRaMisAYEJb0bqu61CiH JEE6iLkpOZnU+tkknaW8zmDhVr9LkNfwzFhgPT2NpgatV+V7Gr6zV/y4zzxDvw3Q+z cANL6dPjGB+17k1An9IJgRFyfqqgee+MgvaGCY2+MiTZrK98a10i2MP3RILRvo32Jq DyH7oEJwDbOAGpQJCj31U2CTML1KSrVDnhC+A0rLzhpDCqZx4zYPszKjNr4 Received: (from jim@localhost) by home.blackbean.org (8.14.8/8.14.8/Submit) id s8JH5e5q008394 for 18501@debbugs.gnu.org; Fri, 19 Sep 2014 10:05:40 -0700 Date: Fri, 19 Sep 2014 10:05:40 -0700 From: Jim Radford To: 18501@debbugs.gnu.org Subject: Re: bug#18501: Acknowledgement (24.3.93; OS X; crash in free() when calling macfont_close()) Message-ID: <20140919170540.GA8321@home.blackbean.org> References: <20140917233849.GA25143@home.blackbean.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-0.3 required=5.0 tests=ALL_TRUSTED, DATE_IN_FUTURE_48_96,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on home.blackbean.org X-Spam-Score: 3.9 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Here's how to reproduce this crash (no ~/.emacs nor ~/.emacs.d). /Applications/Emacs.app/Contents/MacOS/Emacs --daemon /Applications/Emacs.app/Contents/MacOS/bin/emacsclient -c C-x C-c [...] Content analysis details: (3.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL [142.11.71.47 listed in zen.spamhaus.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Debbugs-Envelope-To: 18501 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 3.9 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Here's how to reproduce this crash (no ~/.emacs nor ~/.emacs.d). /Applications/Emacs.app/Contents/MacOS/Emacs --daemon /Applications/Emacs.app/Contents/MacOS/bin/emacsclient -c C-x C-c [...] Content analysis details: (3.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL [142.11.71.47 listed in zen.spamhaus.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid Here's how to reproduce this crash (no ~/.emacs nor ~/.emacs.d). /Applications/Emacs.app/Contents/MacOS/Emacs --daemon /Applications/Emacs.app/Contents/MacOS/bin/emacsclient -c C-x C-c /Applications/Emacs.app/Contents/MacOS/bin/emacsclient -c [ Sometimes it crashes here ] C-x C-c /Applications/Emacs.app/Contents/MacOS/bin/emacsclient -c [ Sometimes it crashes here ] From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 19 14:05:36 2014 Received: (at 18501) by debbugs.gnu.org; 19 Sep 2014 18:05:36 +0000 Received: from localhost ([127.0.0.1]:46017 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XV2Yp-0005Zh-Tc for submit@debbugs.gnu.org; Fri, 19 Sep 2014 14:05:36 -0400 Received: from cpe-142-11-71-47.socal.rr.com ([142.11.71.47]:39622 helo=smtp.blackbean.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XV2Ym-0005ZY-EF for 18501@debbugs.gnu.org; Fri, 19 Sep 2014 14:05:33 -0400 Received: from home.blackbean.org (localhost [127.0.0.1]) by smtp.blackbean.org (8.14.8/8.14.7) with ESMTP id s8JI5SFe008861 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <18501@debbugs.gnu.org>; Fri, 19 Sep 2014 11:05:29 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blackbean.org; s=apple; t=1411149929; bh=m1yALvYX35dvGDOeaTLitHhOR0pscYR2fZ+R9dR/CYI=; h=Date:From:To:Subject:References:In-Reply-To; b=QlyX4KSc46yTUgf4xqIjfmIDKC8K/G1fvPoMePdaJ2mjB8Xc/mwvHqZX8lW/Vg2cq WTHCxAUY/EekF93JMId5Rmdap4Fzyrd1MmryuTCdtuAbosHL4Ti9tYBTestHRWlFnI YWRlrBlqCkfDyauU2cVp0H/2YAo/qlqvraGDoNr65bAsAwcPx7On7qXJzX6BKF3six 0znaD6Tf63bxtihAxYqx99RzpNr+hZiLHbK6h7m7JVQQxyKIQPFkMgXAzZp Received: (from jim@localhost) by home.blackbean.org (8.14.8/8.14.8/Submit) id s8JI5Snd008860 for 18501@debbugs.gnu.org; Fri, 19 Sep 2014 11:05:28 -0700 Date: Fri, 19 Sep 2014 11:05:28 -0700 From: Jim Radford To: 18501@debbugs.gnu.org Subject: Re: bug#18501: Acknowledgement (24.3.93; OS X; crash in free() when calling macfont_close()) Message-ID: <20140919180528.GA8843@home.blackbean.org> References: <20140917233849.GA25143@home.blackbean.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-0.3 required=5.0 tests=ALL_TRUSTED, DATE_IN_FUTURE_48_96,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on home.blackbean.org X-Spam-Score: 3.9 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Here are the two calls that free the font: frame #1: 0x00000001001c5ffd Emacs`macfont_close(font=0x0000000105c2a8c0) + 13 at macfont.m:2621 frame #2: 0x000000010014de80 Emacs`font_clear_cache(f=, cache=, driver=) + 304 at font.c:2620 [...] Content analysis details: (3.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL [142.11.71.47 listed in zen.spamhaus.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Debbugs-Envelope-To: 18501 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 3.9 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Here are the two calls that free the font: frame #1: 0x00000001001c5ffd Emacs`macfont_close(font=0x0000000105c2a8c0) + 13 at macfont.m:2621 frame #2: 0x000000010014de80 Emacs`font_clear_cache(f=, cache=, driver=) + 304 at font.c:2620 [...] Content analysis details: (3.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL [142.11.71.47 listed in zen.spamhaus.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid Here are the two calls that free the font: frame #1: 0x00000001001c5ffd Emacs`macfont_close(font=0x0000000105c2a8c0) + 13 at macfont.m:2621 frame #2: 0x000000010014de80 Emacs`font_clear_cache(f=, cache=, driver=) + 304 at font.c:2620 frame #1: 0x00000001001c5ffd Emacs`macfont_close(font=0x0000000105c2a8c0) + 13 at macfont.m:2621 frame #2: 0x000000010011be9d Emacs`Fgarbage_collect [inlined] cleanup_vector + 38 at alloc.c:2935 Notice that the pointer is the same in both cases. Both cleanup_vector() and font_clear_cache() call drv->close(font) It seems that font_clear_cache is leaving the font around for the GC to clean up (a second time) later. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 19 21:08:24 2014 Received: (at 18501) by debbugs.gnu.org; 20 Sep 2014 01:08:24 +0000 Received: from localhost ([127.0.0.1]:46178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XV99z-0007Tu-RW for submit@debbugs.gnu.org; Fri, 19 Sep 2014 21:08:24 -0400 Received: from forward4p.cmail.yandex.net ([77.88.31.19]:59497) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XV99x-0007Tk-AP for 18501@debbugs.gnu.org; Fri, 19 Sep 2014 21:08:22 -0400 Received: from smtp17.mail.yandex.net (smtp17.mail.yandex.net [95.108.252.17]) by forward4p.cmail.yandex.net (Yandex) with ESMTP id A431C11B0; Sat, 20 Sep 2014 05:08:16 +0400 (MSK) Received: from smtp17.mail.yandex.net (localhost [127.0.0.1]) by smtp17.mail.yandex.net (Yandex) with ESMTP id 64DF119015A0; Sat, 20 Sep 2014 05:08:16 +0400 (MSK) Received: from unknown (unknown [37.139.80.10]) by smtp17.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id AyQy033TWK-8FVqGkNI; Sat, 20 Sep 2014 05:08:15 +0400 (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: ba213810-10de-4175-9ada-14cd58979941 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1411175295; bh=ZB77lSKmjh93KEAzQPp8dRDWtvmKvNmJQCd7SKlr9jo=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type; b=o/INgRiaNPOJdiSpJ1I9SwSEcPQC+8Co4qgxjoC+TRR2bk78vWf9cZoTM8fIjMjEd bLiWcyulFNHp7gJwuslcSnnlPhKF9/DN9MWSP3buM0wivGDSlR2p1MyXIQfbB+Gj6V 4kC19UZ68OKCuzFa3cLrz/DxNGITERGiSjaA6wK0= Authentication-Results: smtp17.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <541CD37F.3030802@yandex.ru> Date: Sat, 20 Sep 2014 05:08:15 +0400 From: Dmitry Antipov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: Jim Radford Subject: Re: bug#18501: Acknowledgement (24.3.93; OS X; crash in free() when calling macfont_close()) References: <20140917233849.GA25143@home.blackbean.org> <20140919180528.GA8843@home.blackbean.org> In-Reply-To: <20140919180528.GA8843@home.blackbean.org> Content-Type: multipart/mixed; boundary="------------000205020908000502050903" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18501 Cc: 18501@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) This is a multi-part message in MIME format. --------------000205020908000502050903 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 09/19/2014 10:05 PM, Jim Radford wrote: > Here are the two calls that free the font: > > frame #1: 0x00000001001c5ffd Emacs`macfont_close(font=0x0000000105c2a8c0) + 13 at macfont.m:2621 > frame #2: 0x000000010014de80 Emacs`font_clear_cache(f=, cache=, driver=) + 304 at font.c:2620 > > frame #1: 0x00000001001c5ffd Emacs`macfont_close(font=0x0000000105c2a8c0) + 13 at macfont.m:2621 > frame #2: 0x000000010011be9d Emacs`Fgarbage_collect [inlined] cleanup_vector + 38 at alloc.c:2935 > > Notice that the pointer is the same in both cases. Both cleanup_vector() and font_clear_cache() call > > drv->close(font) > > It seems that font_clear_cache is leaving the font around for the GC to clean up (a second time) later. Please try this. Dmitry --------------000205020908000502050903 Content-Type: text/x-diff; name="bug18501.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="bug18501.patch" === modified file 'src/macfont.m' --- src/macfont.m 2014-07-20 13:18:47 +0000 +++ src/macfont.m 2014-09-20 01:05:58 +0000 @@ -2616,20 +2616,25 @@ macfont_close (struct font *font) { struct macfont_info *macfont_info = (struct macfont_info *) font; - int i; - - block_input (); - CFRelease (macfont_info->macfont); - CGFontRelease (macfont_info->cgfont); - if (macfont_info->screen_font) - CFRelease (macfont_info->screen_font); - macfont_release_cache (macfont_info->cache); - for (i = 0; i < macfont_info->metrics_nrows; i++) - if (macfont_info->metrics[i]) - xfree (macfont_info->metrics[i]); - if (macfont_info->metrics) - xfree (macfont_info->metrics); - unblock_input (); + + if (macfont_info->cache) + { + int i; + + block_input (); + CFRelease (macfont_info->macfont); + CGFontRelease (macfont_info->cgfont); + if (macfont_info->screen_font) + CFRelease (macfont_info->screen_font); + macfont_release_cache (macfont_info->cache); + for (i = 0; i < macfont_info->metrics_nrows; i++) + if (macfont_info->metrics[i]) + xfree (macfont_info->metrics[i]); + if (macfont_info->metrics) + xfree (macfont_info->metrics); + macfont_info->cache = NULL; + unblock_input (); + } } static int --------------000205020908000502050903-- From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 20 18:08:41 2014 Received: (at 18501) by debbugs.gnu.org; 20 Sep 2014 22:08:41 +0000 Received: from localhost ([127.0.0.1]:46879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XVSpc-0008Ex-Hz for submit@debbugs.gnu.org; Sat, 20 Sep 2014 18:08:40 -0400 Received: from cpe-142-11-71-47.socal.rr.com ([142.11.71.47]:41386 helo=smtp.blackbean.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XVSpZ-0008En-Cp for 18501@debbugs.gnu.org; Sat, 20 Sep 2014 18:08:38 -0400 Received: from home.blackbean.org (localhost [127.0.0.1]) by smtp.blackbean.org (8.14.8/8.14.7) with ESMTP id s8KM8Wkf025959 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 20 Sep 2014 15:08:32 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blackbean.org; s=apple; t=1411250913; bh=eOM1oY/Lgg4DsExL8aIMVoBGjBd6dwL2cpKFHK51W3Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=K+BsVau8lpvp9Ssw5CwbuBuRfvGAk6H/B/bMq1XhXRT+Wwt3zS7cqLnARl9dHTFXT Hcv+MYE8pLpkYm+GGguXNebrN4Ae85FtSAFm9N4AoMcBrTaP84jLStEIJ6p0fVjN6n AHxXM1DEtWPRQwZ+uDb+hu8V5b1G5BJ5i9a91BCJvU2kqmhrvAk2jaigeDWCPCJ48d M19PUu6XrLLM5c+uqr48yIlL8MX+ZoCMDD/pqy6nf0Xka2eIfZ72nPF2Phi Received: (from jim@localhost) by home.blackbean.org (8.14.8/8.14.8/Submit) id s8KM8Vjb025958; Sat, 20 Sep 2014 15:08:31 -0700 Date: Sat, 20 Sep 2014 15:08:31 -0700 From: Jim Radford To: Dmitry Antipov Subject: Re: bug#18501: Acknowledgement (24.3.93; OS X; crash in free() when calling macfont_close()) Message-ID: <20140920220831.GA25933@home.blackbean.org> References: <20140917233849.GA25143@home.blackbean.org> <20140919180528.GA8843@home.blackbean.org> <541CD37F.3030802@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <541CD37F.3030802@yandex.ru> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-3.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,T_DATE_IN_FUTURE_96_Q autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on home.blackbean.org X-Spam-Score: 3.9 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Dmitry, Thanks for the patch! It fixes the problem for me. I'm curious, why not just let the GC clean up the fonts in all cases? Wouldn't they then also stay cached across frame-create / frame-delete? [...] Content analysis details: (3.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL [142.11.71.47 listed in zen.spamhaus.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Debbugs-Envelope-To: 18501 Cc: 18501@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 3.9 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Dmitry, Thanks for the patch! It fixes the problem for me. I'm curious, why not just let the GC clean up the fonts in all cases? Wouldn't they then also stay cached across frame-create / frame-delete? [...] Content analysis details: (3.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL [142.11.71.47 listed in zen.spamhaus.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid Hi Dmitry, Thanks for the patch! It fixes the problem for me. I'm curious, why not just let the GC clean up the fonts in all cases? Wouldn't they then also stay cached across frame-create / frame-delete? -Jim From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 21 01:04:04 2014 Received: (at 18501) by debbugs.gnu.org; 21 Sep 2014 05:04:04 +0000 Received: from localhost ([127.0.0.1]:47071 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XVZJb-0001eh-LB for submit@debbugs.gnu.org; Sun, 21 Sep 2014 01:04:04 -0400 Received: from forward3l.mail.yandex.net ([84.201.143.136]:39886) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XVZJW-0001eE-V5 for 18501@debbugs.gnu.org; Sun, 21 Sep 2014 01:04:00 -0400 Received: from smtp11.mail.yandex.net (smtp11.mail.yandex.net [95.108.130.67]) by forward3l.mail.yandex.net (Yandex) with ESMTP id D16391500E84; Sun, 21 Sep 2014 09:03:56 +0400 (MSK) Received: from smtp11.mail.yandex.net (localhost [127.0.0.1]) by smtp11.mail.yandex.net (Yandex) with ESMTP id 5CFC57E06FA; Sun, 21 Sep 2014 09:03:56 +0400 (MSK) Received: from unknown (unknown [37.139.80.10]) by smtp11.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Nsj1WFFrdN-3tjqTZlI; Sun, 21 Sep 2014 09:03:55 +0400 (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 919c7b64-d90e-4aaa-837e-d39323d4dd9c DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1411275835; bh=NoDAkgUlQX/hZhnHvB6gURirfkWk+CLS7f/cxZ9ql94=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Cxot/JEld4I9Mt52eR8YcgwDIyJ2hYiGU2QFc93OsDoo+8uBFWZmrsDP/BQNaV+ju 8OAVG2V2GU0vBzxvM+dsRPuGzfSi1yv6TWK82rHzO0HREB7H6IPKDfWgOALPv9FRd6 YMoHG0xzsuYiKAm9EEwS/KwDPDIGCcTSq4CNXTOw= Authentication-Results: smtp11.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <541E5C3B.108@yandex.ru> Date: Sun, 21 Sep 2014 09:03:55 +0400 From: Dmitry Antipov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: Jim Radford Subject: Re: bug#18501: Acknowledgement (24.3.93; OS X; crash in free() when calling macfont_close()) References: <20140917233849.GA25143@home.blackbean.org> <20140919180528.GA8843@home.blackbean.org> <541CD37F.3030802@yandex.ru> <20140920220831.GA25933@home.blackbean.org> In-Reply-To: <20140920220831.GA25933@home.blackbean.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18501 Cc: 18501@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On 09/21/2014 02:08 AM, Jim Radford wrote: > I'm curious, why not just let the GC clean up the fonts in all cases? This should be possible, but probably requires a substantial rewrite of font.c and type-specific font drivers (xfont.c, w32font.c, etc). Initially font cleanup at GC was introduced as a workaround for some flaws in current font management subsystem. See http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00740.html > Wouldn't they then also stay cached across frame-create / > frame-delete? This should be possible too, but it's hard to say whether it's really worth doing. I just don't see a usage pattern where frames are created and deleted often enough so any caching makes sense. Dmitry From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 21 12:58:12 2014 Received: (at 18501) by debbugs.gnu.org; 21 Sep 2014 16:58:12 +0000 Received: from localhost ([127.0.0.1]:47620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XVkSi-0003aj-3W for submit@debbugs.gnu.org; Sun, 21 Sep 2014 12:58:12 -0400 Received: from cpe-142-11-71-47.socal.rr.com ([142.11.71.47]:42245 helo=smtp.blackbean.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XVkSe-0003aZ-S6 for 18501@debbugs.gnu.org; Sun, 21 Sep 2014 12:58:10 -0400 Received: from home.blackbean.org (localhost [127.0.0.1]) by smtp.blackbean.org (8.14.8/8.14.7) with ESMTP id s8LGw4et006508 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 21 Sep 2014 09:58:06 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blackbean.org; s=apple; t=1411318686; bh=LESrok/j0EvsoYtVCbdxsRj7eNJLxdoXo/qn/3GunUA=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=bQGmeSX51sLziqCOgxdTMGbIgFVY3J9nw5PNpzmcftAXHlssBJy2Oxtpq5cVyY4j8 azyBNcxQMJ09BR9JtGPKpw33hS+zgTUKrCdmoPNIBNX32R5D4sRJ9GoZmrCSBQzG8I khbQaDGm8lvbOdDxYOz0oetS8GQcoNBEfRmhvq/Pak+JKojzTDbTQDAgcKNQ/9rlxB LKh1bzzM+mBeeFusOOF6I/FUC5wyDeyNKhEpabG5SQ27jN8Ygx5gw+VGUs8 Received: (from jim@localhost) by home.blackbean.org (8.14.8/8.14.8/Submit) id s8LGw4Ys006507; Sun, 21 Sep 2014 09:58:04 -0700 Date: Sun, 21 Sep 2014 09:58:04 -0700 From: Jim Radford To: Dmitry Antipov Subject: Re: bug#18501: Acknowledgement (24.3.93; OS X; crash in free() when calling macfont_close()) Message-ID: <20140921165804.GA6479@home.blackbean.org> References: <20140917233849.GA25143@home.blackbean.org> <20140919180528.GA8843@home.blackbean.org> <541CD37F.3030802@yandex.ru> <20140920220831.GA25933@home.blackbean.org> <541E5C3B.108@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <541E5C3B.108@yandex.ru> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-3.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,T_DATE_IN_FUTURE_96_Q autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on home.blackbean.org X-Spam-Score: 3.9 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Sun, Sep 21, 2014 at 09:03:55AM +0400, Dmitry Antipov wrote: > This should be possible too, but it's hard to say whether it's really > worth doing. I just don't see a usage pattern where frames are created > and deleted often enough so any caching makes sense. [...] Content analysis details: (3.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 3.6 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL [142.11.71.47 listed in zen.spamhaus.org] 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Debbugs-Envelope-To: 18501 Cc: 18501@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 3.9 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Sun, Sep 21, 2014 at 09:03:55AM +0400, Dmitry Antipov wrote: > This should be possible too, but it's hard to say whether it's really > worth doing. I just don't see a usage pattern where frames are created > and deleted often enough so any caching makes sense. [...] Content analysis details: (3.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL [142.11.71.47 listed in zen.spamhaus.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid On Sun, Sep 21, 2014 at 09:03:55AM +0400, Dmitry Antipov wrote: > This should be possible too, but it's hard to say whether it's really > worth doing. I just don't see a usage pattern where frames are created > and deleted often enough so any caching makes sense. FWIW, my personal usage pattern does this which is why I've run into this bug consistently for a while now. I use emacsclient with lots of tty frames, but by EDITOR is set to plain emacsclient so I frequently pop up frames which then get closed almost immediately. Thanks again for the patch, -Jim From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 22 05:53:14 2014 Received: (at 18501) by debbugs.gnu.org; 22 Sep 2014 09:53:14 +0000 Received: from localhost ([127.0.0.1]:48045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XW0Iw-0007xl-Ki for submit@debbugs.gnu.org; Mon, 22 Sep 2014 05:53:14 -0400 Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:64632) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XW0Ip-0007xF-J7 for 18501@debbugs.gnu.org; Mon, 22 Sep 2014 05:53:08 -0400 Received: from fermat.math.s.chiba-u.ac.jp (fermat [133.82.132.10]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 60428C055D; Mon, 22 Sep 2014 18:52:59 +0900 (JST) Date: Mon, 22 Sep 2014 18:52:59 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: Dmitry Antipov Subject: Re: bug#18501: Acknowledgement (24.3.93; OS X; crash in free() when calling macfont_close()) In-Reply-To: <541CD37F.3030802@yandex.ru> References: <20140917233849.GA25143@home.blackbean.org> <20140919180528.GA8843@home.blackbean.org> <541CD37F.3030802@yandex.ru> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Spam-Score: -0.8 (/) X-Debbugs-Envelope-To: 18501 Cc: Jim Radford , 18501@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) >>>>> On Sat, 20 Sep 2014 05:08:15 +0400, Dmitry Antipov said: > On 09/19/2014 10:05 PM, Jim Radford wrote: >> Here are the two calls that free the font: >> >> frame #1: 0x00000001001c5ffd Emacs`macfont_close(font=0x0000000105c2a8c0) + 13 at macfont.m:2621 >> frame #2: 0x000000010014de80 Emacs`font_clear_cache(f=, cache=, driver=) + 304 at font.c:2620 >> >> frame #1: 0x00000001001c5ffd Emacs`macfont_close(font=0x0000000105c2a8c0) + 13 at macfont.m:2621 >> frame #2: 0x000000010011be9d Emacs`Fgarbage_collect [inlined] cleanup_vector + 38 at alloc.c:2935 >> >> Notice that the pointer is the same in both cases. Both cleanup_vector() and font_clear_cache() call >> drv-> close(font) >> >> It seems that font_clear_cache is leaving the font around for the GC to clean up (a second time) later. > Please try this. Does this mean each font backend driver should prepare for multiple "close" calls for a single font object? Or is this something specific to OS X? YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 22 07:01:10 2014 Received: (at 18501) by debbugs.gnu.org; 22 Sep 2014 11:01:10 +0000 Received: from localhost ([127.0.0.1]:48142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XW1Mj-0001Jk-Dq for submit@debbugs.gnu.org; Mon, 22 Sep 2014 07:01:10 -0400 Received: from forward2l.mail.yandex.net ([84.201.143.145]:39909) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XW1Mf-0001JY-Fj for 18501@debbugs.gnu.org; Mon, 22 Sep 2014 07:01:07 -0400 Received: from smtp1h.mail.yandex.net (smtp1h.mail.yandex.net [84.201.187.144]) by forward2l.mail.yandex.net (Yandex) with ESMTP id C67811AC0CB6; Mon, 22 Sep 2014 15:01:03 +0400 (MSK) Received: from smtp1h.mail.yandex.net (localhost [127.0.0.1]) by smtp1h.mail.yandex.net (Yandex) with ESMTP id 351AB13410D5; Mon, 22 Sep 2014 15:01:03 +0400 (MSK) Received: from unknown (unknown [37.139.80.10]) by smtp1h.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id ehvhOuE9aA-12QaARYl; Mon, 22 Sep 2014 15:01:02 +0400 (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 5e6e6c18-1139-4f70-9d74-a958fa5cc2ee DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1411383662; bh=iEN14buzKApLBO/joTXxd1Cmc//HuS2tp6rB4ML1lSI=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=AQh8Qyn8KBW0RlPuZUnTv0iunPJcBLvl4RH5xJ2Njz45h9wVSiuTl5/x4KBYcC39x 6NC40ObjFGQpYLbcPoPHCYQuSyhu5L/vA4JDedwB1mrSPLNtmhBJrYl0oP/2wnRSUr Iikf77H4hVJVMT0MIEJZX5tTOHTyn820MHPahmFA= Authentication-Results: smtp1h.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <5420016E.7040304@yandex.ru> Date: Mon, 22 Sep 2014 15:01:02 +0400 From: Dmitry Antipov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: YAMAMOTO Mitsuharu Subject: Re: bug#18501: Acknowledgement (24.3.93; OS X; crash in free() when calling macfont_close()) References: <20140917233849.GA25143@home.blackbean.org> <20140919180528.GA8843@home.blackbean.org> <541CD37F.3030802@yandex.ru> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18501 Cc: Jim Radford , 18501@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On 09/22/2014 01:52 PM, YAMAMOTO Mitsuharu wrote: > Does this mean each font backend driver should prepare for multiple > "close" calls for a single font object? Yes. I don't like this too much, but I don't see how to avoid an issue from http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00740.html without an attempt to finalize font object when it's collected. Dmitry From debbugs-submit-bounces@debbugs.gnu.org Wed May 25 16:38:26 2016 Received: (at 18501) by debbugs.gnu.org; 25 May 2016 20:38:26 +0000 Received: from localhost ([127.0.0.1]:38638 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5fZS-00050D-Cb for submit@debbugs.gnu.org; Wed, 25 May 2016 16:38:26 -0400 Received: from mail-lb0-f178.google.com ([209.85.217.178]:33187) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5fZQ-000500-7r for 18501@debbugs.gnu.org; Wed, 25 May 2016 16:38:24 -0400 Received: by mail-lb0-f178.google.com with SMTP id k7so18722006lbm.0 for <18501@debbugs.gnu.org>; Wed, 25 May 2016 13:38:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Sj7iKpbGSeIXxOtVYs2uO4cG58wPXMXEbaveJ5Q706U=; b=Rgei2z+7JoUKPg+JK8LwBmvxJ1ymNukbYJBGqjGnOgiC9+eqbS4oZWoHupWvc/tpzW M+M0IcBPybYS2Bh7IAMuNSRORt8usLfiZY8OwBKhvAsUo+bFtPOkGepTS+3XAFuoED0x HQl49KBxrnUWQYC35EFlEb7BtEYQQlF9hiu4QMIBoDHfY5+h5u4G0xAf67w4/rIgTYaY h/1ZSuUEhF+xqAjiW1h8eAJNg0at599SEGlFK1tfR4sq3hQy42cNemoPphhEbkik1hCZ NcJYwFv/Xog3M71q/9UfqRhbrBfqBukOBDYoV3fD1AMWg/5CxyR08esVcX3Cvr5iKEri sTuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=Sj7iKpbGSeIXxOtVYs2uO4cG58wPXMXEbaveJ5Q706U=; b=R+Q4jGWj5cC/OHW5HLEiMJHXAbwPlvTRnzsNBYphxI4bT+x6d7PMz9zNfe/gcqooqu 4/0f81WN6vzE9Y8jk6Z9eKeJ7ieqLm0PwG6NoUiW9aO5sWdwzebw1boFwQLpdizf0mTf GajszB/gZzCvx2LV/hfgBJ3fAiTZTCob0Qb1Ele8aQzeMKZn5SZLb7IdUQUS2pswQxI7 EaYcyZeu5Z//ftftvQjSZ0nEsVcmTsQOxbfolWOfeQtU9aN3i07tVLCjKcXBdXsovbaY d7YPwpZH5upbmu0ZPsjVQiFQW7NWCYgjVo5FHNmKE3O7s0jkNnk3mZpokLLEhvqqiQMN HwKw== X-Gm-Message-State: ALyK8tLqubGcm9/MXFAUHTN4sEZDApcdX0kpI24DcyA6N+LHUNKJ8FpUkUwJIt1gEdDGgQ== X-Received: by 10.28.135.135 with SMTP id j129mr5760979wmd.101.1464208698145; Wed, 25 May 2016 13:38:18 -0700 (PDT) Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-7175-fea4-ded1-da32.holly.idiocy.org. [2001:8b0:3f8:8129:7175:fea4:ded1:da32]) by smtp.gmail.com with ESMTPSA id q125sm11177986wmd.19.2016.05.25.13.38.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 May 2016 13:38:17 -0700 (PDT) From: Alan Third To: Dmitry Antipov Subject: Re: bug#18501: Acknowledgement (24.3.93; OS X; crash in free() when calling macfont_close()) References: <20140917233849.GA25143@home.blackbean.org> <20140919180528.GA8843@home.blackbean.org> <541CD37F.3030802@yandex.ru> Date: Wed, 25 May 2016 21:38:16 +0100 In-Reply-To: <541CD37F.3030802@yandex.ru> (Dmitry Antipov's message of "Sat, 20 Sep 2014 05:08:15 +0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 18501 Cc: Jim Radford , 18501@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Dmitry Antipov writes: > On 09/19/2014 10:05 PM, Jim Radford wrote: > >> Here are the two calls that free the font: >> >> frame #1: 0x00000001001c5ffd Emacs`macfont_close(font=0x0000000105c2a8c0) + 13 at macfont.m:2621 >> frame #2: 0x000000010014de80 Emacs`font_clear_cache(f=, cache=, driver=) + 304 at font.c:2620 >> >> frame #1: 0x00000001001c5ffd Emacs`macfont_close(font=0x0000000105c2a8c0) + 13 at macfont.m:2621 >> frame #2: 0x000000010011be9d Emacs`Fgarbage_collect [inlined] cleanup_vector + 38 at alloc.c:2935 >> >> Notice that the pointer is the same in both cases. Both cleanup_vector() and font_clear_cache() call >> >> drv->close(font) >> >> It seems that font_clear_cache is leaving the font around for the GC to clean up (a second time) later. > > Please try this. Does anyone know if this patch was committed? -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Fri May 27 05:29:39 2016 Received: (at 18501) by debbugs.gnu.org; 27 May 2016 09:29:39 +0000 Received: from localhost ([127.0.0.1]:41202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6E5L-0007WG-Kx for submit@debbugs.gnu.org; Fri, 27 May 2016 05:29:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36231) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6E5J-0007W4-Md for 18501@debbugs.gnu.org; Fri, 27 May 2016 05:29:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6E5B-000634-Aa for 18501@debbugs.gnu.org; Fri, 27 May 2016 05:29:32 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6E5B-00062i-7G; Fri, 27 May 2016 05:29:29 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3165 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b6E59-0002IZ-9g; Fri, 27 May 2016 05:29:27 -0400 Date: Fri, 27 May 2016 12:29:36 +0300 Message-Id: <83bn3r26in.fsf@gnu.org> From: Eli Zaretskii To: Alan Third In-reply-to: (message from Alan Third on Wed, 25 May 2016 21:38:16 +0100) Subject: Re: bug#18501: Acknowledgement (24.3.93; OS X; crash in free() when calling macfont_close()) References: <20140917233849.GA25143@home.blackbean.org> <20140919180528.GA8843@home.blackbean.org> <541CD37F.3030802@yandex.ru> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 18501 Cc: radford@blackbean.org, 18501@debbugs.gnu.org, dmantipov@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > From: Alan Third > Date: Wed, 25 May 2016 21:38:16 +0100 > Cc: Jim Radford , 18501@debbugs.gnu.org > > Dmitry Antipov writes: > > >> Notice that the pointer is the same in both cases. Both cleanup_vector() and font_clear_cache() call > >> > >> drv->close(font) > >> > >> It seems that font_clear_cache is leaving the font around for the GC to clean up (a second time) later. > > > > Please try this. > > Does anyone know if this patch was committed? Yes, see commit fc5ebc3f (which amply references the bug report). From debbugs-submit-bounces@debbugs.gnu.org Fri May 27 14:13:34 2016 Received: (at 18501-done) by debbugs.gnu.org; 27 May 2016 18:13:34 +0000 Received: from localhost ([127.0.0.1]:42825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6MGM-0008NH-5P for submit@debbugs.gnu.org; Fri, 27 May 2016 14:13:34 -0400 Received: from mail-wm0-f49.google.com ([74.125.82.49]:36711) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6MGK-0008N3-GX for 18501-done@debbugs.gnu.org; Fri, 27 May 2016 14:13:32 -0400 Received: by mail-wm0-f49.google.com with SMTP id n129so2810894wmn.1 for <18501-done@debbugs.gnu.org>; Fri, 27 May 2016 11:13:32 -0700 (PDT) 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:in-reply-to:user-agent; bh=fLHQNzyyPPPgHA2fuE2yrwoxjvxPcKj1hw7mfyc4DCA=; b=UwkC0lE+KxL9LakmwswfCwVLSw/nYa7Ll2vWb1Z9TxoR4ebl2QBDuN1I5lgCg4foJ6 8X1sw6jLu4KtMFFX/L6cwvgpsu6JSUlhym3/BXI8uUVB99vpVbXODJMuJfys5eAVbNfH +xbJfTPY3nw3l6xAbH4HORDzNceS8f8XEIb/zlVMNQBIzbxF7Q7EXtuFdo3AUuChVZjc ChV3PT6mWLKLWdIAzWl3YivNETxTomUNHcfXjEWHCr5yLFQascUws/UKBnVte1qvBTEi uKZIULRmFljqN6ymkNZ1crRMCcdjukx0j5J8t93c9huMFjnSkPiAx9FMFoJhAPIHafs8 gqMg== 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:in-reply-to:user-agent; bh=fLHQNzyyPPPgHA2fuE2yrwoxjvxPcKj1hw7mfyc4DCA=; b=GgJdK7HelrlQKDfE3r2Whde0VrQX13/36uUikpCNLWpScmlwIBj8Z8Qb8zHrdGyPPa f2jZpSlT/ijYZ4sQDVs6TLCFujkDrbONKA++OGrKjlBLRxh/3oqZWLtuI5i203Fzk1Pe /2PHXou58doSd4rI3/9DSQonm5ccsaaPJS+SEyGSzs86bXGnrZOSVBqkrfvOIaEmlpJ/ coeRKuigf10gYpIuGOBozImnVA/4Yxhjrz/coViDB1dRwVGKHDijlu6Q2UKrl0TWLY1s MWXX6P9b5BODVGtHEhOaHCQbVYifJJsvMR/R07zjs10kK+S2y5ok8ukPBhwHxCyHbr48 26fg== X-Gm-Message-State: ALyK8tK4LnfBhbTW1F7Oj8A//x+M4MhuTa7EKTGm3bztd7CfSLKwQ4Wxh2OZAQkkN+HsQQ== X-Received: by 10.194.112.233 with SMTP id it9mr17586898wjb.22.1464372806918; Fri, 27 May 2016 11:13:26 -0700 (PDT) Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-20c5-ff51-aaec-eb15.holly.idiocy.org. [2001:8b0:3f8:8129:20c5:ff51:aaec:eb15]) by smtp.gmail.com with ESMTPSA id f1sm8888902wmf.22.2016.05.27.11.13.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 May 2016 11:13:26 -0700 (PDT) Date: Fri, 27 May 2016 19:13:25 +0100 From: Alan Third To: Eli Zaretskii Subject: Re: bug#18501: Acknowledgement (24.3.93; OS X; crash in free() when calling macfont_close()) Message-ID: <20160527181325.GB3962@breton.holly.idiocy.org> References: <20140917233849.GA25143@home.blackbean.org> <20140919180528.GA8843@home.blackbean.org> <541CD37F.3030802@yandex.ru> <83bn3r26in.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83bn3r26in.fsf@gnu.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 18501-done Cc: radford@blackbean.org, 18501-done@debbugs.gnu.org, dmantipov@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) On Fri, May 27, 2016 at 12:29:36PM +0300, Eli Zaretskii wrote: > > From: Alan Third > > Date: Wed, 25 May 2016 21:38:16 +0100 > > Cc: Jim Radford , 18501@debbugs.gnu.org > > > > Does anyone know if this patch was committed? > > Yes, see commit fc5ebc3f (which amply references the bug report). Thanks Eli. I think I need to learn how to use git and it's logs better. It looks like this bug is fixed, so I'll close it and if anyone disagrees, let me know. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Fri May 27 14:56:51 2016 Received: (at 18501) by debbugs.gnu.org; 27 May 2016 18:56:51 +0000 Received: from localhost ([127.0.0.1]:42850 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6MwF-0002c6-Iq for submit@debbugs.gnu.org; Fri, 27 May 2016 14:56:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58879) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6MwE-0002bt-4L for 18501@debbugs.gnu.org; Fri, 27 May 2016 14:56:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6Mw4-0007GF-Pd for 18501@debbugs.gnu.org; Fri, 27 May 2016 14:56:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57807) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6Mw4-0007Fw-Ms; Fri, 27 May 2016 14:56:40 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3593 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b6Mw2-0007xJ-Gx; Fri, 27 May 2016 14:56:38 -0400 Date: Fri, 27 May 2016 21:56:47 +0300 Message-Id: <83k2ifz5w0.fsf@gnu.org> From: Eli Zaretskii To: Alan Third In-reply-to: <20160527181325.GB3962@breton.holly.idiocy.org> (message from Alan Third on Fri, 27 May 2016 19:13:25 +0100) Subject: Re: bug#18501: Acknowledgement (24.3.93; OS X; crash in free() when calling macfont_close()) References: <20140917233849.GA25143@home.blackbean.org> <20140919180528.GA8843@home.blackbean.org> <541CD37F.3030802@yandex.ru> <83bn3r26in.fsf@gnu.org> <20160527181325.GB3962@breton.holly.idiocy.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 18501 Cc: radford@blackbean.org, 18501@debbugs.gnu.org, dmantipov@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > Date: Fri, 27 May 2016 19:13:25 +0100 > From: Alan Third > Cc: dmantipov@yandex.ru, radford@blackbean.org, 18501-done@debbugs.gnu.org > > > > Does anyone know if this patch was committed? > > > > Yes, see commit fc5ebc3f (which amply references the bug report). > > Thanks Eli. I think I need to learn how to use git and it's logs > better. Don't feel bad. I actually did this the other way around: looked at the relevant function in the source, saw that the code which the patch modified already was, then used "git annotate" to find the commit. Alternatively, "git grep 18501" finds the log entry for that commit (but using that requires one to believe that the bug number is always mentioned in the log entry, something that isn't 100% true. > It looks like this bug is fixed, so I'll close it and if anyone > disagrees, let me know. Thanks. Let me take this opportunity and thank you for your efforts in triage of the old bugs. From unknown Mon Jun 23 18:31:47 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 25 Jun 2016 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator