all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Molitor via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: gerd.moellmann@gmail.com, 69773@debbugs.gnu.org
Subject: bug#69773: 29.2; Emacs Crashes on Startup Sometimes
Date: Thu, 14 Mar 2024 11:15:00 -0500	[thread overview]
Message-ID: <6183DDC8-BFFF-4060-A6B3-2BCEB9FE5C3E@icloud.com> (raw)
In-Reply-To: <m24jdakwbl.fsf@Pro.fritz.box>

Thanks for the response. Yes, I do see this warning on successful startup:

> ⛔ Warning (initialization): An error occurred while loading ‘/Users/stephenmolitor/.emacs.d/init.el’:

> error: Loading file /Users/stephenmolitor/.emacs.d/config/sm-package-lint.el failed to provide feature ‘sm-package-lint’

That error is legitimate, I did forget the provided. I’ve fixed that and will see if that makes the crash goes away. It’s inconsistent though, but that change does seem to roughly coincide with when I first started noticing the crashing.

	
I am doing something unusual with the composition function table at startup:

    (defvar sm-safe-table "[-,;A-Z_a-z]+")
    (set-char-table-range composition-function-table t `([,sm-safe-table 0 font-shape-gstring]))

I’m using a font (Commit Mono) that does “smart kerning”, to shift letters around a bit to even things out. I’ve noticed that it’s pretty touchy though - certain characters will cause the layout to go crazy. So that seems a little dicey to me.

Thanks again,

Steve



> On Mar 13, 2024, at 10:03 AM, Gerd Möllmann <gerd.moellmann@gmail.com> wrote:
> 
> Stephen Molitor via "Bug reports for GNU Emacs, the Swiss army knife of
> text editors" <bug-gnu-emacs@gnu.org> writes:
> 
>  Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
>> 9   Emacs                         	       0x1042a93f8 handle_sigsegv + 64
>> 10  libsystem_platform.dylib      	       0x190e9da24 _sigtramp + 56
>> 11  Emacs                         	       0x10433190c font_find_for_lface + 1824
>> 12  Emacs                         	       0x10433190c font_find_for_lface + 1824
>> 13  Emacs                         	       0x1043abb90 fontset_find_font + 2584
>> 14  Emacs                         	       0x1043a7954 fontset_font + 784
>> 15  Emacs                         	       0x1043a7594 face_for_char + 428
>> 16  Emacs                         	       0x1043355b8 Finternal_char_font + 328
>> 17  Emacs                         	       0x10435f770 exec_byte_code + 3248
>> 18  Emacs                         	       0x104312afc Ffuncall + 396
>> 19  Emacs                         	       0x104315d00 Fapply + 1004
>> 20  Emacs                         	       0x10435f770 exec_byte_code + 3248
>> 21  Emacs                         	       0x104312afc Ffuncall + 396
>> 22  icons-eafe82eb-789d397a.eln   	       0x11806a1d8 F69636f6e2d737472696e67_icon_string_0 + 536
>> 23  Emacs                         	       0x104312afc Ffuncall + 396
>> 24  warnings-28e75f4d-25346206.eln	       0x11802f708 F646973706c61792d7761726e696e67_display_warning_0 + 2008
>> 25  Emacs                         	       0x104312afc Ffuncall + 396
>> 26  Emacs                         	       0x104315d00 Fapply + 1004
>> 27  subr-13adf6a6-bfb9f448.eln    	       0x1066f2cc8 F646973706c61792d64656c617965642d7761726e696e6773_display_delayed_warnings_0 + 136
> 
> Thanks for the report.
> 
> Looks like Emacs wants to display a (delayed) warning, but has some
> unknown problem in the font department, but that's about what I can see.
> 
> Do you see a warning when Emacs doesn't crash?






  reply	other threads:[~2024-03-14 16:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-13 13:32 bug#69773: 29.2; Emacs Crashes on Startup Sometimes Stephen Molitor via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-13 15:03 ` Gerd Möllmann
2024-03-14 16:15   ` Stephen Molitor via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-03-14 16:52     ` Eli Zaretskii
2024-03-14 22:10       ` Stephen Molitor via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-15  7:46         ` Eli Zaretskii
2024-03-15 14:32           ` Stephen Molitor via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-14 17:42     ` Gerd Möllmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6183DDC8-BFFF-4060-A6B3-2BCEB9FE5C3E@icloud.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=69773@debbugs.gnu.org \
    --cc=gerd.moellmann@gmail.com \
    --cc=stephen.molitor@icloud.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.