unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#28498: 25.2; Crash calling `find-font' on text-only terminals on macOS
@ 2017-09-18 15:31 Duncan Harvey
  2017-09-18 16:32 ` Alan Third
  0 siblings, 1 reply; 6+ messages in thread
From: Duncan Harvey @ 2017-09-18 15:31 UTC (permalink / raw)
  To: 28498

Run:
  .../path/to/Emacs -nw -Q -eval '(find-font (font-spec :name "Menlo-16"))'

On my system this crashes more often than not: "Fatal error 11: Segmentation faultAbort trap: 6"

Unfortunately it does not crash 100% of the time.  If you don't experience a crash immediately, please try half a dozen or so times, or wait a few seconds before re-attempting.


In GNU Emacs 25.2.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1911))
of 2017-04-21 built on builder10-9.porkrind.org
Windowing system distributor 'Apple', version 10.3.1504
Configured using:
'configure --with-ns '--enable-locallisppath=/Library/Application
Support/Emacs/${version}/site-lisp:/Library/Application
Support/Emacs/site-lisp' --with-modules'

Configured features:
NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES

Important settings:
  value of $LANG: en_GB.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message dired format-spec rfc822 mml
mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu
cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel ns-win ucs-normalize term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote kqueue cocoa ns multi-tty
make-network-process emacs)

Memory information:
((conses 16 195659 7285)
(symbols 48 19499 0)
(miscs 40 52 191)
(strings 32 14882 5609)
(string-bytes 1 430501)
(vectors 16 32843)
(vector-slots 8 649660 5909)
(floats 8 160 17)
(intervals 56 210 0)
(buffers 976 19))





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#28498: 25.2; Crash calling `find-font' on text-only terminals on macOS
  2017-09-18 15:31 bug#28498: 25.2; Crash calling `find-font' on text-only terminals on macOS Duncan Harvey
@ 2017-09-18 16:32 ` Alan Third
  2017-09-18 16:58   ` Duncan Harvey
  0 siblings, 1 reply; 6+ messages in thread
From: Alan Third @ 2017-09-18 16:32 UTC (permalink / raw)
  To: Duncan Harvey; +Cc: 28498

On Mon, Sep 18, 2017 at 04:31:44PM +0100, Duncan Harvey wrote:
> Run:
>   .../path/to/Emacs -nw -Q -eval '(find-font (font-spec :name "Menlo-16"))'
> 
> On my system this crashes more often than not: "Fatal error 11: Segmentation faultAbort trap: 6"
> 
> Unfortunately it does not crash 100% of the time. If you don't
> experience a crash immediately, please try half a dozen or so times,
> or wait a few seconds before re-attempting.

I can only replicate this on Emacs 25, the Emacs 26 branch seems
immune.

Can you please try a nightly build?
-- 
Alan Third





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#28498: 25.2; Crash calling `find-font' on text-only terminals on macOS
  2017-09-18 16:32 ` Alan Third
@ 2017-09-18 16:58   ` Duncan Harvey
  2017-09-18 19:12     ` Alan Third
  0 siblings, 1 reply; 6+ messages in thread
From: Duncan Harvey @ 2017-09-18 16:58 UTC (permalink / raw)
  To: Alan Third; +Cc: 28498


> Can you please try a nightly build?

Sure.  From where can I download one?  (<https://emacsformacosx.com/builds> seems to have stopped producing nightly builds back in June.)

-- Duncan




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#28498: 25.2; Crash calling `find-font' on text-only terminals on macOS
  2017-09-18 16:58   ` Duncan Harvey
@ 2017-09-18 19:12     ` Alan Third
  2017-09-19 16:29       ` Duncan Harvey
  0 siblings, 1 reply; 6+ messages in thread
From: Alan Third @ 2017-09-18 19:12 UTC (permalink / raw)
  To: Duncan Harvey; +Cc: 28498

On Mon, Sep 18, 2017 at 05:58:34PM +0100, Duncan Harvey wrote:
> 
> > Can you please try a nightly build?
> 
> Sure. From where can I download one?
> (<https://emacsformacosx.com/builds> seems to have stopped producing
> nightly builds back in June.)

Hmm, As far as I’m aware that’s the only place you can get a nightly
build, unless you fancy using homebrew or building it yourself?

Can you please try that June build? I think all the crash bug fixes
for macOS date to before then.
-- 
Alan Third





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#28498: 25.2; Crash calling `find-font' on text-only terminals on macOS
  2017-09-18 19:12     ` Alan Third
@ 2017-09-19 16:29       ` Duncan Harvey
  2017-09-19 19:48         ` Alan Third
  0 siblings, 1 reply; 6+ messages in thread
From: Duncan Harvey @ 2017-09-19 16:29 UTC (permalink / raw)
  To: Alan Third; +Cc: 28498


> On 18 Sep 2017, at 20:12, Alan Third <alan@idiocy.org> wrote:
> 
> Can you please try that June build?

Yes.  Using the 2017-06-11 nightly build, I confirm that this no longer crashes for me.

> I think all the crash bug fixes for macOS date to before then.

Thanks!

-- Duncan




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#28498: 25.2; Crash calling `find-font' on text-only terminals on macOS
  2017-09-19 16:29       ` Duncan Harvey
@ 2017-09-19 19:48         ` Alan Third
  0 siblings, 0 replies; 6+ messages in thread
From: Alan Third @ 2017-09-19 19:48 UTC (permalink / raw)
  To: Duncan Harvey; +Cc: 28498

On Tue, Sep 19, 2017 at 05:29:17PM +0100, Duncan Harvey wrote:
> 
> > On 18 Sep 2017, at 20:12, Alan Third <alan@idiocy.org> wrote:
> > 
> > Can you please try that June build?
> 
> Yes.  Using the 2017-06-11 nightly build, I confirm that this no longer crashes for me.

Thanks. I’ll close this one as it will be fixed in Emacs 26.
-- 
Alan Third





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-09-19 19:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-18 15:31 bug#28498: 25.2; Crash calling `find-font' on text-only terminals on macOS Duncan Harvey
2017-09-18 16:32 ` Alan Third
2017-09-18 16:58   ` Duncan Harvey
2017-09-18 19:12     ` Alan Third
2017-09-19 16:29       ` Duncan Harvey
2017-09-19 19:48         ` Alan Third

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).