Bug 1349758 - Running audacity produces endless loop of Pango-CRITICAL **: pango_font_description_set_size: assertion 'size >= 0' failed
Summary: Running audacity produces endless loop of Pango-CRITICAL **: pango_font_descr...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: audacity
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Timms
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-24 07:47 UTC by Jan Pazdziora
Modified: 2016-11-24 20:27 UTC (History)
3 users (show)

Fixed In Version: audacity-2.1.3-0.7.20161109git53a5c93.fc25 audacity-2.1.3-0.7.20161109git53a5c93.fc24
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-24 16:28:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jan Pazdziora 2016-06-24 07:47:54 UTC
Description of problem:

Running audacity produces endless stream of

(audacity:8927): Pango-CRITICAL **: pango_font_description_set_size: assertion 'size >= 0' failed

error messages and the program does not bring any UI.

Version-Release number of selected component (if applicable):

audacity-2.1.2-4.fc24.x86_64

How reproducible:

Deterministic.

Steps to Reproduce:
1. Run audacity

Actual results:

$ audacity
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1029:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dmix.c:1029:(snd_pcm_dmix_open) unable to open slave
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
Expression 'stream->capture.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4589

(audacity:8927): Pango-CRITICAL **: pango_font_description_set_size: assertion 'size >= 0' failed

(audacity:8927): Pango-CRITICAL **: pango_font_description_set_size: assertion 'size >= 0' failed

(audacity:8927): Pango-CRITICAL **: pango_font_description_set_size: assertion 'size >= 0' failed

The audacity logo is displayed in unmanaged window at the center of the display but that's it.

Expected results:

No errors, nice UI.

Additional info:

strace output ends with
8691  access("/usr/share/fonts/abattis-cantarell/Cantarell-Regular.otf", R_OK) =
 0
8691  access("/usr/share/fonts/abattis-cantarell/Cantarell-Regular.otf", R_OK) =
 0
8691  brk(NULL)                         = 0x55c00ab73000
8691  brk(0x55c00ab94000)               = 0x55c00ab94000
8691  access("/usr/share/fonts/abattis-cantarell/Cantarell-Regular.otf", R_OK) =
 0
8691  access("/usr/share/fonts/abattis-cantarell/Cantarell-Regular.otf", R_OK) =
 0
8691  access("/usr/share/fonts/abattis-cantarell/Cantarell-Regular.otf", R_OK) =
 0
8700  <... nanosleep resumed> NULL)     = 0
8700  nanosleep({0, 10000000},  <unfinished ...>
8691  access("/usr/share/fonts/abattis-cantarell/Cantarell-Regular.otf", R_OK) =
 0
8691  access("/usr/share/fonts/abattis-cantarell/Cantarell-Regular.otf", R_OK) =
 0
8691  write(2, "\n(audacity:8691): Pango-CRITICAL"..., 99) = 99
8691  write(2, "\n(audacity:8691): Pango-CRITICAL"..., 99) = 99
8691  write(2, "\n(audacity:8691): Pango-CRITICAL"..., 99) = 99
8691  write(2, "\n(audacity:8691): Pango-CRITICAL"..., 99) = 99
8691  write(2, "\n(audacity:8691): Pango-CRITICAL"..., 99) = 99
8691  write(2, "\n(audacity:8691): Pango-CRITICAL"..., 99) = 99

Comment 1 Jan Pazdziora 2016-06-24 07:48:25 UTC
Updating Fedora version, this is on Fedora 24.

Comment 2 Jan Pazdziora 2016-06-25 05:25:28 UTC
The problem is caused by /etc/fonts/local.conf having

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>

<match target="font">
  <test name="pixelsize" compare="less">
    <double>19</double>
  </test>
  <edit name="pixelsize" mode="assign">
    <double>19</double>
  </edit>
</match>

</fontconfig>

in it, which is my attempt to make all fonts in the system readable by limiting their minimal size.

When I comment out that <match/> element, the endless loop goes away.

When I change pixelsize to size, audacity starts fine but it does not seem to have any effect on the font size -- even if I make the limit insanely high and other applications show huge fonts, audacity does not respect it.

Comment 3 Fedora Update System 2016-11-10 12:34:58 UTC
audacity-2.1.3-0.7.20161109git53a5c93.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-99f8d418ba

Comment 4 Fedora Update System 2016-11-10 12:35:58 UTC
audacity-2.1.3-0.7.20161109git53a5c93.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-3f35f35613

Comment 5 Fedora Update System 2016-11-10 19:28:06 UTC
audacity-2.1.3-0.7.20161109git53a5c93.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-99f8d418ba

Comment 6 Fedora Update System 2016-11-11 05:02:56 UTC
audacity-2.1.3-0.7.20161109git53a5c93.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-3f35f35613

Comment 7 Fedora Update System 2016-11-24 16:28:30 UTC
audacity-2.1.3-0.7.20161109git53a5c93.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2016-11-24 20:27:28 UTC
audacity-2.1.3-0.7.20161109git53a5c93.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.