From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anders Lindgren Newsgroups: gmane.emacs.bugs Subject: bug#23462: 25.0.93; Crash on OS X when suspending main frame Date: Tue, 10 May 2016 20:56:51 +0200 Message-ID: References: <34370B08-B94B-41A9-A9B7-EA3F39EBE900@polito.it> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11438000ea2b550532817c42 X-Trace: ger.gmane.org 1462906641 29333 80.91.229.3 (10 May 2016 18:57:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 May 2016 18:57:21 +0000 (UTC) To: ivan.cibrario@polito.it, 23462@debbugs.gnu.org, Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 10 20:57:13 2016 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 1b0CqG-0002Q3-9C for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 May 2016 20:57:12 +0200 Original-Received: from localhost ([::1]:48245 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0CqF-0002v1-KW for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 May 2016 14:57:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0CqB-0002ov-4C for bug-gnu-emacs@gnu.org; Tue, 10 May 2016 14:57:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0Cq6-0001QR-MV for bug-gnu-emacs@gnu.org; Tue, 10 May 2016 14:57:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33873) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0Cq6-0001QN-Ij for bug-gnu-emacs@gnu.org; Tue, 10 May 2016 14:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b0Cq6-0005h6-DN for bug-gnu-emacs@gnu.org; Tue, 10 May 2016 14:57:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <34370B08-B94B-41A9-A9B7-EA3F39EBE900@polito.it> Resent-From: Anders Lindgren Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 May 2016 18:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23462 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23462-submit@debbugs.gnu.org id=B23462.146290661921879 (code B ref 23462); Tue, 10 May 2016 18:57:02 +0000 Original-Received: (at 23462) by debbugs.gnu.org; 10 May 2016 18:56:59 +0000 Original-Received: from localhost ([127.0.0.1]:46210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0Cq3-0005gp-1D for submit@debbugs.gnu.org; Tue, 10 May 2016 14:56:59 -0400 Original-Received: from mail-vk0-f50.google.com ([209.85.213.50]:34315) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0Cq1-0005gc-3C for 23462@debbugs.gnu.org; Tue, 10 May 2016 14:56:57 -0400 Original-Received: by mail-vk0-f50.google.com with SMTP id m188so28540743vka.1 for <23462@debbugs.gnu.org>; Tue, 10 May 2016 11:56:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=8b1neITJxNEmfDOvLvgR7dAqvgtYuU2phNxCk/cLg5U=; b=Of5aCxstM8x8VYb8nNmkt2AXVGTzqIi5E9WIfnNpvMDA7IA8QJ29OqrwQepv1ywOk1 HYHMFXx9EgPQJupxG8vMjsE9gi3qCf+133W318t51MY0nPQbc3JW87guvmjoRC2w5GDL Gq8hYBS//pf8CaAWD/eUcOQYKLvtRYPQLP3JjWr1dtdh5aO7pqKFc/br8x7H2ewhGthJ 6QSRiVIO/IKhaqU2NSKiD8niAlwbKBwHEAiUKSrc4REETnM4rvnnc+zFn+x1TfAtMYI+ TOb71XR24EnUdBnx+l+XSnBA+pRcC4vrLHXgQeCm/G7yVUMTElTnlsroZTz2dgkcxtlY qviA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=8b1neITJxNEmfDOvLvgR7dAqvgtYuU2phNxCk/cLg5U=; b=gL/d3W8OYTU6301N81U9xl0/seLb0fTwc8SCkC54PKZei/7s/TDK3htTqsU1BCMF5l jDG0dGoWlpot8Q5ukqfr8mn55uKYMqbOmT+DiU5+K4lfIU9a5NOxFcJo7YW4UxYIQb1z WTqnLDRTpm1y8Nj23EWQ4jWMoEgUMTULZDrayZk6DsF4O3fHDLjwWk7Xm0iAhIE0vmsU drU9jy5pqVk8FbJUn26iZNZ0cdj3nNampyrwxgFajTtfByj8lEXjiL7+hUsPPxg7goEZ SjSOjpFGUw5r0tWIKOL5uugB1YaSmLMByDRrFcXfrAyBJvwuVoaJPlnakgEFAVWLRyZZ /tqA== X-Gm-Message-State: AOPr4FXw4HR3a4uoamROx8zAFhJnbvX9rOgV9rumsD3P6qlA+n/emVH+r+DsbSLmXBtn01cMVj00FJILpg7BVQ== X-Received: by 10.31.182.84 with SMTP id g81mr11056604vkf.51.1462906611442; Tue, 10 May 2016 11:56:51 -0700 (PDT) Original-Received: by 10.31.214.131 with HTTP; Tue, 10 May 2016 11:56:51 -0700 (PDT) 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:118076 Archived-At: --001a11438000ea2b550532817c42 Content-Type: text/plain; charset=UTF-8 Hi Ivan and Alan! I'm not sure that is the correct place for the patch. Could you enable NSTRACE (by uncommenting the line defining NSTRACE_ENABLED in nsterm.h) and see which function calls `drawRect` (if possible). If that is in a function that is part of Emacs, it's better to check that the frame is visible higher up in the call chain. You will have to start Emacs from a terminal window in order to see the trace output. You can do this by running "./nextstep/Emacs.app/Content/MacOS/Emacs". -- Anders --001a11438000ea2b550532817c42 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Ivan and Alan!

I'm not sure that= is the correct place for the patch.

Could you ena= ble NSTRACE (by uncommenting the line defining NSTRACE_ENABLED in nsterm.h)= and see which function calls `drawRect` (if possible). If that is in a fun= ction that is part of Emacs, it's better to check that the frame is vis= ible higher up in the call chain.

You will have to= start Emacs from a terminal window in order to see the trace output. You c= an do this by running "./nextstep/Emacs.app/Content/MacOS/Emacs".=

=C2=A0 =C2=A0 -- Anders

--001a11438000ea2b550532817c42--