VocalPodcastProject / vocal

A powerful, beautiful, and simple podcast client for the modern free desktop.
GNU General Public License v3.0
346 stars 49 forks source link

Fatal pango_layout errors when importing opml subscriptions -> crashes #460

Closed stickr closed 2 years ago

stickr commented 4 years ago

Prerequisites

I have searched the Issues list for open and closed issues and believe this is a unique, currently unreported bug.

Describe the bug

Fresh flatpak install on Pop!_OS 20.04. Attempting to import opml file causes fatal pango_layout* errors and crashes the app.

Steps to reproduce the behavior:

Click 'Import Subscriptions' Select opml file Click 'Open' Crash

Logs:

[INFO 10:33:02.474887] Library.vala:290: Podcast My Favorite Murder with Karen Kilgariff and Georgia Hardstark already in library. If you wish to re-add, remove the original first.
[WARNING 10:33:02.474963] Library.vala:199: Failed to add podcast from feed because add_podcast_from_file returned false. for: https://www.omnycontent.com/d/playlist/aaea4e69-af51-495e-afc9-a9760146922b/44bbf446-4627-4f83-a7fd-ab070007db11/72b96aa8-88bd-480a-87af-ab070007db36/podcast.rss
[INFO 10:33:02.475636] Library.vala:290: Podcast Radiolab already in library. If you wish to re-add, remove the original first.
[WARNING 10:33:02.475709] Library.vala:199: Failed to add podcast from feed because add_podcast_from_file returned false. for: http://feeds.wnyc.org/radiolab
[FATAL 10:33:02.476701] [Pango] pango_layout_is_wrapped: assertion 'layout != NULL' failed
[FATAL 10:33:02.476820] [Pango] pango_layout_is_ellipsized: assertion 'layout != NULL' failed
[FATAL 10:33:02.476930] [GLib-GObject] g_object_ref: assertion 'G_IS_OBJECT (object)' failed
[FATAL 10:33:02.477080] [Pango] pango_layout_get_context: assertion 'layout != NULL' failed
[FATAL 10:33:02.477182] [Pango] pango_context_get_language: assertion 'context != NULL' failed
[FATAL 10:33:02.477250] [Pango] pango_context_get_font_description: assertion 'context != NULL' failed
[FATAL 10:33:02.477314] [Pango] pango_context_get_metrics: assertion 'PANGO_IS_CONTEXT (context)' failed
[FATAL 10:33:02.477378] [Pango] pango_font_metrics_get_approximate_char_width: assertion 'metrics != NULL' failed
[FATAL 10:33:02.477447] [Pango] pango_font_metrics_get_approximate_digit_width: assertion 'metrics != NULL' failed
[FATAL 10:33:02.477512] [Pango] pango_layout_get_extents: assertion 'layout != NULL' failed
[INFO 10:33:02.909385] Library.vala:302: Adding podcast from: http://feeds.feedburner.com/GSGPodcasts
[INFO 10:33:03.353435] Library.vala:433: updating feed https://rss.art19.com/dirty-john
[ERROR 10:33:03.883226] Library.vala:256: Unable to save a local copy of the album art. Not Found

Platform Information

Please share as many of the following details as possible:

Linux distrubution: Pop!_OS 20.04 LTS OS version: 20.04 Desktop environment: Pop!_OS GNOME DE

I'm using the latest version of the flatpak, downloaded from Pop!_OS App Center

nathandyer commented 2 years ago

Thanks for this report! I'm happy to report that on the re-write of Vocal (due for release in just a couple weeks), these issues have been fixed.