GNU bug report logs -
#21428
24.5; Crash of emacs on OS X, installed via homebrew cask
Previous Next
Reported by: Rainer M Krug <Rainer <at> krugs.de>
Date: Mon, 7 Sep 2015 10:11:01 UTC
Severity: normal
Tags: moreinfo
Found in version 24.5
Fixed in version 25.1
Done: Alan Third <alan <at> idiocy.org>
Bug is archived. No further changes may be made.
Full log
Message #278 received at 21428 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:
>> Date: Thu, 22 Oct 2015 22:04:08 +0200
>> From: Anders Lindgren <andlind <at> gmail.com>
>> Cc: Eli Zaretskii <eliz <at> gnu.org>, Rainer <at> krugs.de, 21428 <at> debbugs.gnu.org
>>
>> However, I noticed that a number of NextStep callback functions start with the
>> following code sequence:
>>
>> if (!emacsframe->output_data.ns)
>> return;
>>
>> 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.
>>
>> Finally a reservation, I'm still learning the NS code base and I don't know
>> 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).
Also, I did not start emacs as daemon. I started it from gdb using:
,----
| gdb-7 ./nextstep/Emacs.app/Contents/MacOS/Emacs
`----
Rainer
--
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 <at> krugs.de
Skype: RMkrug
PGP: 0x0F52F982
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 8 years and 349 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.