Skip to content

"Attempt to shape unibyte text" crash error #10

@mickeynp

Description

@mickeynp

This issue only occurs on Emacs versions 27.1 and 27.2

Resolution

The quickest fix is to use the master branch of Emacs 27 and compile it yourself (something you are most likely doing anyway due to the slow adoption of new Emacs versions in most distros.)

If you haven't you should try out the native compilation branch also if you haven't.

Details

If you experience this issue on Emacsen newer than Emacs 27.2 when you generate ligatures, then please comment below but include the following:

  • Your OS details;
  • Build details of Emacs from M-x emacs-version;
  • C-h v cairo-version-string;
  • C-h v system-configuration-features;
  • Your font, and the ligature configuration you are using;
  • GUI or Terminal Emacs;
  • Whether the issue happens in emacs -q or not.

It's likely a combination of harfbuzz; cairo (or lack thereof); your OS; your font; and the ligatures. Discovering common trends would be useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions