From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#11541: 24.0.97; Crash when visiting file on OS X 10.7.3 Date: Fri, 01 Jun 2012 12:21:53 +0300 Message-ID: <83y5o7z8su.fsf@gnu.org> References: <4fbb6a82.d491cc0a.42d6.3965@mx.google.com> <878vgbozcz.fsf@gnu.org> <877gvu9wun.fsf@gnu.org> <874nqyyn83.fsf@gnu.org> <87d35lyen5.fsf@gnu.org> <87d35kj10j.fsf@gnu.org> <87txywofx7.fsf@gnu.org> <83hauw1hcs.fsf@gnu.org> <16181D4F-4289-47B2-AF61-FCBD189AF4B0@gmail.com> <83fwag1biu.fsf@gnu.org> <4655FB78-D516-422B-979C-EC7131D2957C@gmail.com> <83aa0o157c.fsf@gnu.org> <834nqv1rpb.fsf@gnu.org> <83396f1ks5.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1338542619 19337 80.91.229.3 (1 Jun 2012 09:23:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Jun 2012 09:23:39 +0000 (UTC) Cc: 11541@debbugs.gnu.org, cyd@gnu.org To: Florian Ebeling Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 01 11:23:36 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SaO52-0003QC-6K for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Jun 2012 11:23:36 +0200 Original-Received: from localhost ([::1]:52609 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SaO51-0006Xw-QB for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Jun 2012 05:23:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49659) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SaO4z-0006Xn-56 for bug-gnu-emacs@gnu.org; Fri, 01 Jun 2012 05:23:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SaO4p-0007V7-PD for bug-gnu-emacs@gnu.org; Fri, 01 Jun 2012 05:23:32 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43276) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SaO4p-0007Uw-M9 for bug-gnu-emacs@gnu.org; Fri, 01 Jun 2012 05:23:23 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SaO6Q-0004wc-Ab for bug-gnu-emacs@gnu.org; Fri, 01 Jun 2012 05:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Jun 2012 09:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11541 X-GNU-PR-Package: emacs,ns X-GNU-PR-Keywords: Original-Received: via spool by 11541-submit@debbugs.gnu.org id=B11541.133854264718934 (code B ref 11541); Fri, 01 Jun 2012 09:25:02 +0000 Original-Received: (at 11541) by debbugs.gnu.org; 1 Jun 2012 09:24:07 +0000 Original-Received: from localhost ([127.0.0.1]:52822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SaO5X-0004vK-Dd for submit@debbugs.gnu.org; Fri, 01 Jun 2012 05:24:07 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:41065) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SaO5D-0004uV-1o for 11541@debbugs.gnu.org; Fri, 01 Jun 2012 05:24:06 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0M4X00K00LXZSC00@a-mtaout20.012.net.il> for 11541@debbugs.gnu.org; Fri, 01 Jun 2012 12:21:52 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M4X00KDPM0G51D0@a-mtaout20.012.net.il>; Fri, 01 Jun 2012 12:21:52 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:60605 Archived-At: > From: Florian Ebeling > Date: Fri, 1 Jun 2012 10:55:06 +0200 > Cc: mituharu@math.s.chiba-u.ac.jp, 11541@debbugs.gnu.org, cyd@gnu.o= rg >=20 > > One possibility is that trying to pass empty objects to NS APIs c= auses > > the crash. =C2=A0Since the test program didn't yield empty object= s, one > > possible approach is to try to understand what is the difference > > between the test program and ns_findfonts. >=20 > We tried that with the minimal program by Mitsuharu and I did it wi= th > an almost empty Cocoa application. >=20 > In both cases, the result was a large collection of all (?) fonts o= n > the system. That is a plausible result as well for the system to > yield. But both cases yield different results that in Emacs, right? So I suggest to find out what is the difference between Emacs and these test programs, by stepping through the Emacs functions invoked by ns_findfonts, and seeing what happens there that causes empty objects to be returned.