Public bug reported:

Following setting in /etc/fonts/conf.avail/56-kubuntu-noto.conf causes libpango 
to crash when using Symbola font.
  <match target="scan">
    <test name="family">
        <string>Symbola</string>
    </test>
    <!-- <test name="prgname">
        <string>firefox</string>
    </test> -->
    <!-- <edit name="family" mode="delete" /> -->
    <edit name="file" mode="delete" />
  </match>

Example command to demonstrate the crash:
pango-view --dpi=300 --header --font Symbola --text abc

I've opened an issue against libpango to avoid the crash - 
https://gitlab.gnome.org/GNOME/pango/-/issues/825.
Still, it seems missing file from a font is not an expected scenario and should 
be avoided.

Creating this bug generated by "ubuntu-bug" and as a copy/duplicate of
https://bugs.launchpad.net/ubuntu/+source/kubuntu-settings/+bug/2089459

Some extra information:
-----------------------

$ dpkg -S /etc/fonts/conf.avail/56-kubuntu-noto.conf
kubuntu-settings-desktop: /etc/fonts/conf.avail/56-kubuntu-noto.conf

$ apt show kubuntu-settings-desktop
Package: kubuntu-settings-desktop
Version: 1:24.04.12
Priority: optional
Section: universe/kde
Source: kubuntu-settings
Origin: Ubuntu
Maintainer: Kubuntu Developers <kubuntu-de...@lists.ubuntu.com>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2,092 kB
Depends: fonts-ubuntu, libnewt0.52 (>= 0.52.11-2ubuntu7), plasma-workspace (>= 
4:5.18.0~), software-properties-qt, plasma-welcome
Recommends: fonts-ibm-plex
Conflicts: desktop-base, fonts-dm-mono, fonts-space-grotesk, neon-all, 
neon-desktop, neon-settings, neon-settings-2, ubuntustudio-default-settings
Breaks: kubuntu-default-settings (<< 1:13.04ubuntu1~), kubuntu-driver-manager, 
plasma-nm (<< 0.9.3.1-0ubuntu1)
Replaces: kubuntu-default-settings (<< 1:13.04ubuntu1~), 
kubuntu-driver-manager, plasma-nm (<< 0.9.3.1-0ubuntu1)
Task: kubuntu-desktop, kubuntu-full
Download-Size: 1,039 kB
APT-Manual-Installed: no
APT-Sources: http://in.archive.ubuntu.com/ubuntu noble-updates/universe amd64 
Packages
Description: Settings and artwork for the Kubuntu (Desktop)
 This package contains settings used by Kubuntu. It also
 includes artwork and Kubuntu branding.
 .
 The settings apply to plasma-desktop based workspaces.

N: There is 1 additional record. Please use the '-a' switch to see it

ProblemType: Crash
DistroRelease: Ubuntu 24.04
Package: pango1.0-tools 1.52.1+ds-1build1
ProcVersionSignature: Ubuntu 6.8.0-47.47-generic 6.8.12
Uname: Linux 6.8.0-47-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: unknown
CrashCounter: 1
CurrentDesktop: KDE
Date: Sun Nov 24 11:05:38 2024
ExecutablePath: /usr/bin/pango-view
ExecutableTimestamp: 1711867435
InstallationDate: Installed on 2023-11-25 (365 days ago)
InstallationMedia: Kubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 
(20230807.1)
JournalErrors: -- No entries --
ProcCmdline: pango-view --dpi=300 --header --font Symbola --text abc
ProcCwd: /home/vsaurabh
SegvAnalysis:
 Segfault happened at: 0x73bb03b416f4 <pango_coverage_get+4>:   mov    
(%rdi),%rax
 PC (0x73bb03b416f4) ok
 source "(%rdi)" (0x00000000) not located in a known VMA region (needed 
readable region)!
 destination "%rax" ok
SegvReason: reading NULL VMA
Signal: 11
SignalName: SIGSEGV
SourcePackage: pango1.0
StacktraceTop:
 pango_coverage_get () at /lib/x86_64-linux-gnu/libpango-1.0.so.0
 ??? () at /lib/x86_64-linux-gnu/libpango-1.0.so.0
 ??? () at /lib/x86_64-linux-gnu/libpango-1.0.so.0
 ??? () at /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0
 ??? () at /lib/x86_64-linux-gnu/libpango-1.0.so.0
Title: pango-view crashed with SIGSEGV in pango_coverage_get()
UpgradeStatus: Upgraded to noble on 2024-07-13 (133 days ago)
UserGroups: adm cdrom dip docker libvirt lpadmin lxd plugdev sambashare sudo
separator:

** Affects: kubuntu-settings (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-crash need-amd64-retrace noble

** Package changed: pango1.0 (Ubuntu) => kubuntu-settings (Ubuntu)

** Information type changed from Private to Public

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kubuntu-settings in Ubuntu.
https://bugs.launchpad.net/bugs/2089470

Title:
   Settings for Symbola font in /etc/fonts/conf.avail/56-kubuntu-
  noto.conf cause crash in libpango

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kubuntu-settings/+bug/2089470/+subscriptions


-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to