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: Thu, 31 May 2012 23:11:19 +0300 Message-ID: <83aa0o157c.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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1338495217 25863 80.91.229.3 (31 May 2012 20:13:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 31 May 2012 20:13:37 +0000 (UTC) Cc: 11541@debbugs.gnu.org, cyd@gnu.org To: "C. Florian Ebeling" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 31 22:13:35 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 1SaBkR-0000fn-Q4 for geb-bug-gnu-emacs@m.gmane.org; Thu, 31 May 2012 22:13:31 +0200 Original-Received: from localhost ([::1]:43329 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SaBkR-0004aa-C5 for geb-bug-gnu-emacs@m.gmane.org; Thu, 31 May 2012 16:13:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SaBkN-0004aK-VJ for bug-gnu-emacs@gnu.org; Thu, 31 May 2012 16:13:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SaBkM-00066t-CI for bug-gnu-emacs@gnu.org; Thu, 31 May 2012 16:13:27 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42764) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SaBkM-00066o-8V for bug-gnu-emacs@gnu.org; Thu, 31 May 2012 16:13:26 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SaBlt-0002Me-TL for bug-gnu-emacs@gnu.org; Thu, 31 May 2012 16:15: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: Thu, 31 May 2012 20:15:01 +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.13384952719040 (code B ref 11541); Thu, 31 May 2012 20:15:01 +0000 Original-Received: (at 11541) by debbugs.gnu.org; 31 May 2012 20:14:31 +0000 Original-Received: from localhost ([127.0.0.1]:52310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SaBlP-0002Ll-Bh for submit@debbugs.gnu.org; Thu, 31 May 2012 16:14:31 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:56434) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SaBl5-0002LG-1K for 11541@debbugs.gnu.org; Thu, 31 May 2012 16:14:30 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0M4W00D00LAMTT00@a-mtaout20.012.net.il> for 11541@debbugs.gnu.org; Thu, 31 May 2012 23:11:07 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M4W00DH3LEJS520@a-mtaout20.012.net.il>; Thu, 31 May 2012 23:11:07 +0300 (IDT) In-reply-to: <4655FB78-D516-422B-979C-EC7131D2957C@gmail.com> 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:60580 Archived-At: > From: "C. Florian Ebeling" > Date: Thu, 31 May 2012 21:50:21 +0200 > Cc: cyd@gnu.org, > 11541@debbugs.gnu.org > > Yes, I understand. My problem is that I don't know what to look for, honestly. I haven't used the NSFontDescriptor API much and I don't know the first thing about Emacs internals. The slowness or tedium is not my biggest worry. The code involved in this hardly ever touches Emacs internals. It's simple ObjC code, at least to my naive eyes. As the first goal, I suggest to try figuring out what happens with the font_spec argument to ns_findfonts -- is it corrupted right at entry to the function, or does it get corrupted later? You should display it, using the same commands you used for scratch_font_spec in its caller, right at the entry to the function. Assuming the value at entry is OK (which would be my guess), then step through the code of ns_findfonts, and see which line causes its corruption. When we know where the corruption happens, we could reason about what to try next. TIA