Package: sm, libfreetype6
Version: 0.26-1, 2.11.0+dfsg-1
Severity: important
File: /usr/games/sm
Usertags: regression

Not sure if this issue is a bug in sm or freetype, please reassign.

Since the upgrade of freetype from 2.10.4+dfsg-1 to 2.11.0+dfsg-1,
whenever I attempt to display a string in sm containing letter e,
either via the command-line or by typing it into the text input,
the entire string does not display, I get errors in the terminal
and I cannot type any more input except for pressing Esc twice.

   $ sm e
   (sm:2529177): Gtk-WARNING **: 13:23:34.553: drawing failure for widget 
'GtkDrawingArea': error occurred in libfreetype
   
   (sm:2529177): Gtk-WARNING **: 13:23:34.574: drawing failure for widget 
'GtkBox': error occurred in libfreetype
   
   (sm:2529177): Gtk-WARNING **: 13:23:34.574: drawing failure for widget 
'GtkWindow': error occurred in libfreetype

The problem stops happening if I downgrade freetype to 2.10.4+dfsg-1.

The problem happens with some fonts but not every single font.

The problem happens for rotating 180° or 360° but not 90° or 270°.

The problem happens with "e" "ea" "eaa" "eaaa" but not "eaaaa".

The problem happens for me with GNOME Wayland and if I force X11.

The problem only happens with my existing user account, not a new one.

The problem still happens if I delete my fontconfig cache files.

Folks on IRC say this does not happen in X11 KDE/MATE/Xfce/openbox/dwm
and Wayland/X11 GNOME. One person found it does happen in X11 LXQt.

When I compare the ltrace output, when the issue occurs, the function
pango_cairo_show_layout returns 40 while it returns 0 otherwise.

I tried recompiling freetype with support for the FT2_DEBUG environment
variable but I can't find the error in the log output.

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (860, 
'testing-proposed-updates-debug'), (860, 'testing-proposed-updates'), (800, 
'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 
'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.14.0-3-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sm depends on:
ii  libc6                2.32-4
ii  libcairo2            1.16.0-5
ii  libglib2.0-0         2.70.0-1+b1
ii  libgtk-3-0           3.24.30-3
ii  libpango-1.0-0       1.48.10+ds1-1
ii  libpangocairo-1.0-0  1.48.10+ds1-1

sm recommends no packages.

sm suggests no packages.

-- no debconf information

Versions of packages libfreetype6 depends on:
ii  libbrotli1   1.0.9-2+b2
ii  libc6        2.32-4
ii  libpng16-16  1.6.37-3
ii  zlib1g       1:1.2.11.dfsg-2

libfreetype6 recommends no packages.

libfreetype6 suggests no packages.

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to