Debian Bug report logs - #978409
emacs-gtk: Cherry-pick upstream fix for "Attempt to shape unibyte text" crashes

version graph

Package: emacs-gtk; Maintainer for emacs-gtk is Rob Browning <[email protected]>; Source for emacs-gtk is src:emacs (PTS, buildd, popcon).

Affects: elpa-ligature

Reported by: Axel Beckert <[email protected]>

Date: Sun, 27 Dec 2020 04:45:02 UTC

Severity: wishlist

Tags: fixed-upstream, patch

Found in version emacs/1:27.1+1-3

Fixed in version 28.1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], Rob Browning <[email protected]>:
Bug#978409; Package emacs-gtk. (Sun, 27 Dec 2020 04:45:03 GMT) (full text, mbox, link).


Acknowledgement sent to Axel Beckert <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], Rob Browning <[email protected]>. (Sun, 27 Dec 2020 04:45:03 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Axel Beckert <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: emacs-gtk: Cherry-pick upstream fix for "Attempt to shape unibyte text" crashes
Date: Sun, 27 Dec 2020 05:43:04 +0100
Package: emacs-gtk
Version: 1:27.1+1-3
Severity: wishlist
Tags: patch fixed-upstream
Control: affects -1 elpa-ligature

Dear Rob,

I'm currently packaging ligature.el from
https://github.com/mickeynp/ligature.el at
https://salsa.debian.org/emacsen-team/elpa-ligature

According to
https://github.com/mickeynp/ligature.el#crash-issues-in-emacs-271 a fix
for occasional Emacs crashes with error message "Attempt to shape
unibyte text" when using ligature.el is available in upstream git, but
hasn't made it into the 27.1 upstream release:

https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=fe903c5ab7354b97f80ecf1b01ca3ff1027be446

It would be nice if you could cherry-pick this commit until the next
upstream release.

If you don't want to cherry-pick that commit, please at least keep this
bug report open for now and close it only with the upload of the next
Emacs upstream release which contains the above mentioned patch,
presumably 27.2.

Thanks in advance!

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.9.0-4-amd64 (SMP w/4 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages emacs-gtk depends on:
ii  emacs-bin-common           1:27.1+1-3
ii  emacs-common               1:27.1+1-3
ii  libacl1                    2.2.53-9
ii  libasound2                 1.2.4-1
ii  libc6                      2.31-6
ii  libcairo2                  1.16.0-4
ii  libdbus-1-3                1.12.20-1
ii  libelogind0 [libsystemd0]  246.9.1-1+debian1
ii  libfontconfig1             2.13.1-4.2
ii  libfreetype6               2.10.4+dfsg-1
ii  libgdk-pixbuf2.0-0         2.40.2-2
ii  libgif7                    5.1.9-1
ii  libglib2.0-0               2.66.4-1
ii  libgmp10                   2:6.2.1+dfsg-1
ii  libgnutls30                3.7.0-3
ii  libgpm2                    1.20.7-6
ii  libgtk-3-0                 3.24.24-1
ii  libharfbuzz0b              2.6.7-1
ii  libice6                    2:1.0.10-1
ii  libjansson4                2.13.1-1
ii  libjpeg62-turbo            1:2.0.5-1.1
ii  liblcms2-2                 2.9-4+b1
ii  libm17n-0                  1.8.0-2
ii  libotf0                    0.9.13-7
ii  libpango-1.0-0             1.46.2-3
ii  libpng16-16                1.6.37-3
ii  librsvg2-2                 2.50.2+dfsg-1
ii  libselinux1                3.1-2+b2
ii  libsm6                     2:1.2.3-1
ii  libtiff5                   4.2.0-1
ii  libtinfo6                  6.2+20201114-1
ii  libx11-6                   2:1.6.12-1
ii  libxext6                   2:1.3.3-1.1
ii  libxfixes3                 1:5.0.3-2
ii  libxml2                    2.9.10+dfsg-6.3+b1
ii  libxrender1                1:0.9.10-1
ii  zlib1g                     1:1.2.11.dfsg-2

emacs-gtk recommends no packages.

Versions of packages emacs-gtk suggests:
pn  emacs-common-non-dfsg  <none>

-- no debconf information



Added indication that 978409 affects elpa-ligature Request was from Axel Beckert <[email protected]> to [email protected]. (Sun, 27 Dec 2020 04:45:04 GMT) (full text, mbox, link).


Marked as fixed in versions 28.1. Request was from "J. Smith" <[email protected]> to [email protected]. (Sun, 21 Feb 2021 17:27:03 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 13:49:32 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.