From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rainer M Krug Newsgroups: gmane.emacs.bugs Subject: bug#21428: 24.5; Crash of emacs on OS X, installed via homebrew cask Date: Fri, 23 Oct 2015 11:51:22 +0200 Message-ID: References: <83k2r79bi5.fsf@gnu.org> <834mi4x7tp.fsf@gnu.org> <83fv1mellz.fsf@gnu.org> <1130CA27-B8B0-4009-BC14-A3FC76B92216@gmail.com> <838u7265sv.fsf@gnu.org> <83pp0d4rot.fsf@gnu.org> <83611yucx0.fsf@gnu.org> <831tcmu944.fsf@gnu.org> <56291DB4.3040509@gmx.at> <83y4eusswr.fsf@gnu.org> <56292795.3050100@gmx.at> <83twpism25.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1445594351 8915 80.91.229.3 (23 Oct 2015 09:59:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Oct 2015 09:59:11 +0000 (UTC) Cc: 21428@debbugs.gnu.org, Anders Lindgren To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 23 11:59:05 2015 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 1ZpZ7h-0003TB-KE for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Oct 2015 11:58:57 +0200 Original-Received: from localhost ([::1]:37392 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpZ7h-00066J-0l for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Oct 2015 05:58:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpZ14-0003iy-IP for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2015 05:52:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpZ10-0002yv-GT for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2015 05:52:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43119) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpZ10-0002yp-EQ for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2015 05:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZpZ10-000341-AV for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2015 05:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rainer M Krug Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Oct 2015 09:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21428 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 21428-submit@debbugs.gnu.org id=B21428.144559390611753 (code B ref 21428); Fri, 23 Oct 2015 09:52:02 +0000 Original-Received: (at 21428) by debbugs.gnu.org; 23 Oct 2015 09:51:46 +0000 Original-Received: from localhost ([127.0.0.1]:33826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZpZ0Q-000337-V9 for submit@debbugs.gnu.org; Fri, 23 Oct 2015 05:51:45 -0400 Original-Received: from mail-wi0-f180.google.com ([209.85.212.180]:38873) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZpZ0P-00032x-7P for 21428@debbugs.gnu.org; Fri, 23 Oct 2015 05:51:25 -0400 Original-Received: by wicll6 with SMTP id ll6so23824144wic.1 for <21428@debbugs.gnu.org>; Fri, 23 Oct 2015 02:51:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=JAIXJ7pIPt9YrPUAVwiXIqXS/fnmFK2iH5vp4rPLjbI=; b=SRB+qHi+nQqhHqTkFCR5EPQl51+xZ4x0cJ/eOijBds6tGNVgTQlNZomPBkYRJ2thg4 0TnzpTu9agKJejQt3/Gn52PMPp0FzDjuLX/b9yCXRP3K2YluVjRtQNe88Awv5nCGoU2f VApKjfOOnv3VIXP6J7iBtwTpj9Y8My9F0vFzQrDi0Tidq1161Nvz0beVCqL/HVJVrozb QhojE9T9/jZOJzL32cCSuE+czYE/3A1WZDc5qh8BBQ7Gwcc4VYLV3PL0Upb5r/WsXM0s rM8ZIceu/72oki+NF/xFyQrQlW5vKME8MtZZiF3mMMGyglIX/gqI9a1V9KC3mznOWm9m tGOw== X-Received: by 10.194.192.72 with SMTP id he8mr4127825wjc.30.1445593884532; Fri, 23 Oct 2015 02:51:24 -0700 (PDT) Original-Received: from Rainers-MacBook-Pro.local ([2a01:e35:8baa:b070:f808:c9d0:d5e8:af60]) by smtp.gmail.com with ESMTPSA id lb10sm21755199wjc.9.2015.10.23.02.51.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Oct 2015 02:51:23 -0700 (PDT) In-Reply-To: <83twpism25.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 22 Oct 2015 23:08:50 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:107906 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> Date: Thu, 22 Oct 2015 22:04:08 +0200 >> From: Anders Lindgren >> Cc: Eli Zaretskii , Rainer@krugs.de, 21428@debbugs.gnu.org >>=20 >> However, I noticed that a number of NextStep callback functions start wi= th the >> following code sequence: >>=20 >> if (!emacsframe->output_data.ns) >> return; >>=20 >> If `ns' is NULL it would account for the crash. I don't see why we can't= add it >> to the windowDidResize: method as well. >>=20 >> Finally a reservation, I'm still learning the NS code base and I don't k= now >> under which circumstances the `ns' field is NULL. > > Based on what happens in other GUI display backends, I'm guessing that > 'ns' being NULL means the frame is not a GUI frame, but either a > text-mode frame or the "initial" frame (the latter happens in batch > mode and in the daemon mode, assuming the NS port supports it). The frame I am using is a GUI frame - but if I remember correctly (and I might be wrong) the crash happened when making emacs fullscreen. Rainer =2D-=20 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,= UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJWKgMaAAoJENvXNx4PUvmCL20IAMaiIaVma726ZInImYL55pjC rgUp7E8j+x/ON7kKpKD7eBYPb2AeuwNpfwRNw+LUwakHl2pCQY2zvesdwjKLMoZ9 9CpshLPhq1yBwUYFWKHwscJO5LyU7Rwi0BIM4YwRGOZQwnjtAwU8rPFDVShzjJDm YG8O2J5H2YebCwVoV+pWNy5P4aWSO3IEEtV6Zb1R9N3v2oP4fbOiaLqAdf4oLoHQ IYFfWhJw2WF7JdSubO4YJ8NdrXEaEnifxORTcnNwaLiVqaCSPYUH0GvZ1DZtq94a 8zGSpnid2XyZ4Og1KLe0wxg+iyTCSpt8P07FDkesB4LfgTkWybUX7QR9D4dh6vM= =rV+B -----END PGP SIGNATURE----- --=-=-=--