Thread View: linux.debian.bugs.dist
9 messages
9 total messages
Started by Matt Horan
Mon, 09 Nov 2026 18:10
Bug#1147720: liferea: Crash GNOME/Wayland session when using tray-icon plugin
Author: Matt Horan
Date: Mon, 09 Nov 2026 18:10
Date: Mon, 09 Nov 2026 18:10
32 lines
3452 bytes
3452 bytes
> I interpret upstreams comment on the bug as saying he doesn't support > the version we have in stable. Which means somebody else than upstream > needs to debug this and generate a patch. I don't have enough C skills > that I'll embark on that endeavor. The trayicon in pre-2.0 Liferea is written almost entirely in python [1]. If an alternative tray implementation has python bindings available, trayicon.py could be patched to use those. In 2.0 Liferea has moved to libstray [2] to create an icon via D-Bus API. While that could potentially be backported, it might be easier to backport Liferea 2.0 to trixie. > While backports isn't supposed to be used to fix bugs, as the last > version of liferea uses different frameworks under the hood and has > been changed quite a bit, I think it's justified to provide a > backports version of it (haven't checked how feasible that is). Would > that help you out of the woods? I managed to backport Liferea 2.0 to trixie while working to fix various upstream issues. It was not too difficult. I had to change the libadwaita-1 version to 1.7 to match trixie. Upstream sets to 1.9 but 1.7 seems to work. I also had to revert the move to girepository-2.0, as the version in trixie is too old. There may be a better way to fix that, but reverting was quickest. gobject-introspection-1.0 still works with latest Liferea, though that could change at any point. [1] https://github.com/lwindolf/liferea/blob/master/plugins/trayicon.py [2] https://github.com/charlesrocket/libstray/
Bug#1147720: liferea: Crash GNOME/Wayland session when using tray-icon plugin
Author: Paul Gevers
Date: Tue, 10 Nov 2026 19:50
Date: Tue, 10 Nov 2026 19:50
31 lines
3162 bytes
3162 bytes
Hi Matt, On 2026-11-09 18:59, Matt Horan wrote: > While that could potentially be backported, it might be easier to > backport Liferea 2.0 to trixie. I don't think the difference between the version of liferea in stable and version 2.0 meet the requirements for a stable update. As said, a backport to debian-backports might be an option. > I managed to backport Liferea 2.0 to trixie while working to fix various > upstream issues. It was not too difficult. Interesting, can you share that as a diff? > I also had to revert the move to girepository-2.0, as the version in > trixie is too old. A bunch of the changes in that area in Debian were done because we wanted to move forward with the pygobject transition. Basically the changes that went into release 1.16.1+ds-2.1. > There may be a better way to fix that, but reverting > was quickest. gobject-introspection-1.0 still works with latest Liferea, > though that could change at any point. Ack Paul
Bug#1147720: liferea: Crash GNOME/Wayland session when using tray-icon plugin
Author: Matt Horan
Date: Tue, 10 Nov 2026 23:10
Date: Tue, 10 Nov 2026 23:10
113 lines
6272 bytes
6272 bytes
--NQuEHi6xZcjrdI4D
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
On Tue, Nov 10, 2026 at 08:39:45PM +0100, Paul Gevers wrote:
>Hi Matt,
>>I managed to backport Liferea 2.0 to trixie while working to fix
>>various upstream issues. It was not too difficult.
>
>
>Interesting, can you share that as a diff?
Patch attached.
I haven't noticed any issues by lowering the dependency on libadwaita to
1.7; not sure if there was a reason it was set to that other than that
was the version installed on the maintainer's machine.
The girepository-2.0 change was clearly intentional but nothing from
girepository-2.0 has been used yet, just the removal of
gobject-introspection-1.0 compatibility.
I could not get the version of girepository-2.0 in trixie to work with
Liferea.
Otherwise the tests pass and I've been running this on trixie for a few
weeks now without issue.
--NQuEHi6xZcjrdI4D
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename=backport.patch
commit fa20b720bafc6e20481c01e73134e9e4d288f7b4
Author: Matthew Horan <matt@matthoran.com>
Date: Sat Oct 17 22:25:42 2026 -0400
Backport to trixie
diff --git a/meson.build b/meson.build
index 7e6fee41e..f9403fc33 100644
--- a/meson.build
+++ b/meson.build
@@ -42,7 +42,7 @@ liferea_deps = [
dependency('glib-2.0', version: '>= 2.74.0'),
dependency('gsettings-desktop-schemas'),
dependency('gtk4', version: '>= 4.12.0'),
- dependency('libadwaita-1', version: '>=1.9'),
+ dependency('libadwaita-1', version: '>=1.7'),
dependency('json-glib-1.0', version: '>= 1.6'),
dependency('libxml-2.0', version: '>= 2.6.12'),
dependency('libxslt', version: '>= 1.1.19'),
@@ -52,7 +52,7 @@ liferea_deps = [
dependency('libpeas-2'),
dependency('pango', version: '>= 1.56'),
dependency('fribidi', version: '>= 0.19.7'),
- dependency('girepository-2.0'),
+ dependency('gobject-introspection-1.0'),
dependency('dbus-1')
]
diff --git a/src/liferea_application.c b/src/liferea_application.c
index f8f9a27f3..499f4c625 100644
--- a/src/liferea_application.c
+++ b/src/liferea_application.c
@@ -31,7 +31,7 @@
#endif
#include <string.h>
-#include <girepository/girepository.h>
+#include <girepository.h>
#include "conf.h"
#include "common.h"
@@ -291,7 +291,7 @@ liferea_application_init (LifereaApplication *self)
g_application_add_main_option_entries (G_APPLICATION (self), entries);
g_application_add_option_group (G_APPLICATION (self), debug);
- g_application_add_option_group (G_APPLICATION (self), gi_repository_get_option_group ());
+ g_application_add_option_group (G_APPLICATION (self), g_irepository_get_option_group ());
g_signal_connect (G_OBJECT (self), "activate", G_CALLBACK (on_app_activate), NULL);
g_signal_connect (G_OBJECT (self), "open", G_CALLBACK (on_app_open), NULL);
diff --git a/src/plugins/plugins_engine.c b/src/plugins/plugins_engine.c
index b4ad98880..5020b3b74 100644
--- a/src/plugins/plugins_engine.c
+++ b/src/plugins/plugins_engine.c
@@ -30,7 +30,7 @@
#include <gio/gio.h>
#include <libpeas.h>
-#include <girepository/girepository.h>
+#include <girepository.h>
#include "auth_activatable.h"
#include "debug.h"
@@ -100,7 +100,7 @@ liferea_plugins_engine_init (LifereaPluginsEngine *plugins)
/* Require Lifereas's typelib. */
typelib_dir = g_build_filename (PACKAGE_LIB_DIR, "girepository-1.0", NULL);
debug (DEBUG_GUI, "Plugin typelib path %s\n", typelib_dir);
- if (!gi_repository_require_private (gi_repository_dup_default (),
+ if (!g_irepository_require_private (g_irepository_get_default (),
typelib_dir, "Liferea", "3.0", 0, &error)) {
g_warning ("Could not load Liferea repository: %s", error->message);
g_error_free (error);
@@ -287,4 +287,4 @@ liferea_plugins_engine_unregister_all (void)
g_hash_table_destroy (plugins->extension_sets);
plugins->extension_sets = NULL;
}
-}
\ No newline at end of file
+}
--NQuEHi6xZcjrdI4D--
Bug#1147720: liferea: Crash GNOME/Wayland session when using tray-icon plugin
Author: Paul Gevers
Date: Sat, 28 Nov 2026 18:00
Date: Sat, 28 Nov 2026 18:00
73 lines
5734 bytes
5734 bytes
This is a multi-part message in MIME format. --------------WBJBnoSHXXu8mMPciZU3iB01 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Matt, On 2026-11-11 00:03, Matt Horan wrote: > Patch attached. I finally got around to try it today. > I haven't noticed any issues by lowering the dependency on libadwaita to > 1.7; not sure if there was a reason it was set to that other than that > was the version installed on the maintainer's machine. > > The girepository-2.0 change was clearly intentional but nothing from > girepository-2.0 has been used yet, just the removal of gobject- > introspection-1.0 compatibility. > > I could not get the version of girepository-2.0 in trixie to work with > Liferea. > > Otherwise the tests pass and I've been running this on trixie for a few > weeks now without issue. Can you also share your debian/control changes? With my changes (attached) I ran into an error: Dependency gio-2.0 found: YES 2.84.4 (cached) Program /usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-schemas found: YES (/usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-schemas) Program gtk4-update-icon-cache found: YES (/usr/bin/gtk4-update-icon-cache) Program update-desktop-database found: NO ../meson.build:144:6: ERROR: Program 'update-desktop-database' not found or not executable dh_auto_configure: error: cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 meson setup .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/x86_64-linux-gnu -Dpython.bytecompile=-1 returned exit code 1 make: *** [debian/rules:19: binary] Error 25 Paul --------------WBJBnoSHXXu8mMPciZU3iB01 Content-Type: text/x-patch; charset=UTF-8; name="debian-control.diff" Content-Disposition: attachment; filename="debian-control.diff" Content-Transfer-Encoding: base64 Y29tbWl0IDhiYWFlMTBiZWI3YWJjNzc4OWQ5NzljNzNiODYzNjVkM2Q1MmJlY2UKQXV0aG9y OiBQYXVsIEdldmVycyA8ZWxicnVzQ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Pj0gMy41MiksCisgcHl0aG9uMy1naSwKKyBweXRob24zLWdpLWNhaXJvLAog IHB5dGhvbjMtbm90aWZ5MiwKICAke2dpcjpEZXBlbmRzfSwKICAke21pc2M6RGVwZW5kc30s Cg== --------------WBJBnoSHXXu8mMPciZU3iB01--
Bug#1147720: liferea: Crash GNOME/Wayland session when using tray-icon plugin
Author: Matt Horan
Date: Sun, 29 Nov 2026 17:40
Date: Sun, 29 Nov 2026 17:40
20 lines
3556 bytes
3556 bytes
On Sat, Nov 28, 2026 at 06:52:03PM +0100, Paul Gevers wrote: >Can you also share your debian/control changes? With my changes >(attached) I ran into an error: >Dependency gio-2.0 found: YES 2.84.4 (cached) >Program /usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-schemas found: >YES (/usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-schemas) >Program gtk4-update-icon-cache found: YES (/usr/bin/gtk4-update-icon-cache) >Program update-desktop-database found: NO > >../meson.build:144:6: ERROR: Program 'update-desktop-database' not >found or not executable >dh_auto_configure: error: cd obj-x86_64-linux-gnu && >DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 meson setup .. >--wrap-mode=nodownload --buildtype=plain --prefix=/usr >--sysconfdir=/etc --localstatedir=/var --libdir=lib/x86_64-linux-gnu >-Dpython.bytecompile=-1 returned exit code 1 >make: *** [debian/rules:19: binary] Error 25 I have the same changes, but it seems I also have desktop-file-utils in my build container, which provides update-desktop-database.
Bug#1147720: liferea: Crash GNOME/Wayland session when using tray-icon plugin
Author: Paul Gevers
Date: Sun, 29 Nov 2026 17:40
Date: Sun, 29 Nov 2026 17:40
11 lines
3010 bytes
3010 bytes
Hi, On 2026-11-29 18:30, Matt Horan wrote: > I have the same changes, but it seems I also have desktop-file-utils in > my build container, which provides update-desktop-database. Hmm, does that mean that the package in unstable/testing actually misses a Build-Depends? Or is that a toolchain issue that got fixed in unstable/testing and that needs the BD as work-around? Paul
Bug#1147720: liferea: Crash GNOME/Wayland session when using tray-icon plugin
Author: Matt Horan
Date: Sun, 29 Nov 2026 18:10
Date: Sun, 29 Nov 2026 18:10
16 lines
3286 bytes
3286 bytes
On Sun, Nov 29, 2026 at 06:36:29PM +0100, Paul Gevers wrote: >Hmm, does that mean that the package in unstable/testing actually >misses a Build-Depends? Or is that a toolchain issue that got fixed in >unstable/testing and that needs the BD as work-around? I think this is a missing BD in testing as well, I see the following when building in a testing container: > Program update-desktop-database found: NO > WARNING: Program update-desktop-database was not found, installation > without DESTDIR will fail But it is only a WARNING in testing, so the build succeeds. For some reason it is an ERROR in stable. Seems like it should be there in either case, though.
Bug#1147720: liferea: Crash GNOME/Wayland session when using tray-icon plugin
Author: Paul Gevers
Date: Sun, 29 Nov 2026 21:30
Date: Sun, 29 Nov 2026 21:30
56 lines
6033 bytes
6033 bytes
Hi Matt,
On 2026-11-11 00:03, Matt Horan wrote:
> On Tue, Nov 10, 2026 at 08:39:45PM +0100, Paul Gevers wrote:
> Otherwise the tests pass and I've been running this on trixie for a few
> weeks now without issue.
Now the build time tests fail for me.
==================================== 9/24
====================================
test: parse_enclosure
start time: 20:16:45
duration: 0.53s
result: (exit status 134 or signal 6 SIGABRT)
command:
GSETTINGS_SCHEMA_DIR=/build/reproducible-path/liferea-2.0.3+ds/obj-x86_64-linux-gnu/data
MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1
ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1
MESON_TEST_ITERATION=1
UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1
MALLOC_PERTURB_=45
/build/reproducible-path/liferea-2.0.3+ds/src/tests/run.sh ./liferea
--test parse_enclosure
----------------------------------- stdout
-----------------------------------
TAP version 14
# random seed: R02Scc73801e933d10664ba037663f488cb0
1..16
# Start of enclosure tests
# Start of discovery tests
ok 1 /enclosure/discovery/atom_with_link_rel_enclosure
ok 2 /enclosure/discovery/atom_with_multiple_links
not ok /enclosure/discovery/rss2_with_ns_media_audio -
ERROR:../src/tests/parse_enclosure.c:201:tc_enclosure_discovery:
assertion failed (itemJson == tc->itemJson):
("{\"id\":0,\"title\":\"i1\",\"description\":\"<div
xmlns=\\\"http://www.w3.org/1999/xhtml\\\"
xmlns:media=\\\"http://search.yahoo.com/mrss/\\\"><p>D</p></div>\",\"source\":\"http://localhost/item1.html\",\"readStatus\":false,\"flagStatus\":false,\"time\":0,\"validTime\":false,\"validGuid\":false,\"hasEnclosure\":true,\"sourceId\":null,\"nodeId\":null,\"parentNodeId\":null,\"metadata\":[{\"enclosure\":{\"mime\":\"audio/ogg\",\"url\":\"https://example.com/cool.ogg\"}}]}"
== "{\"id\":0,\"title\":\"i1\",\"description\":\"<div
xmlns=\\\"http://www.w3.org/1999/xhtml\\\"
xmlns:media=\\\"http://search.yahoo.com/mrss/\\\">D</div>\",\"source\":\"http://localhost/item1.html\",\"readStatus\":false,\"flagStatus\":false,\"time\":0,\"validTime\":false,\"validGuid\":false,\"hasEnclosure\":true,\"sourceId\":null,\"nodeId\":null,\"parentNodeId\":null,\"metadata\":[{\"enclosure\":{\"mime\":\"audio/ogg\",\"url\":\"https://example.com/cool.ogg\"}}]}")
Bail out!
----------------------------------- stderr
-----------------------------------
**
ERROR:../src/tests/parse_enclosure.c:201:tc_enclosure_discovery:
assertion failed (itemJson == tc->itemJson):
("{\"id\":0,\"title\":\"i1\",\"description\":\"<div
xmlns=\\\"http://www.w3.org/1999/xhtml\\\"
xmlns:media=\\\"http://search.yahoo.com/mrss/\\\"><p>D</p></div>\",\"source\":\"http://localhost/item1.html\",\"readStatus\":false,\"flagStatus\":false,\"time\":0,\"validTime\":false,\"validGuid\":false,\"hasEnclosure\":true,\"sourceId\":null,\"nodeId\":null,\"parentNodeId\":null,\"metadata\":[{\"enclosure\":{\"mime\":\"audio/ogg\",\"url\":\"https://example.com/cool.ogg\"}}]}"
== "{\"id\":0,\"title\":\"i1\",\"description\":\"<div
xmlns=\\\"http://www.w3.org/1999/xhtml\\\"
xmlns:media=\\\"http://search.yahoo.com/mrss/\\\">D</div>\",\"source\":\"http://localhost/item1.html\",\"readStatus\":false,\"flagStatus\":false,\"time\":0,\"validTime\":false,\"validGuid\":false,\"hasEnclosure\":true,\"sourceId\":null,\"nodeId\":null,\"parentNodeId\":null,\"metadata\":[{\"enclosure\":{\"mime\":\"audio/ogg\",\"url\":\"https://example.com/cool.ogg\"}}]}")
==============================================================================
Bug#1147720: liferea: Crash GNOME/Wayland session when using tray-icon plugin
Author: Matt Horan
Date: Wed, 02 Dec 2026 01:20
Date: Wed, 02 Dec 2026 01:20
4 lines
2580 bytes
2580 bytes
On Sun, Nov 29, 2026 at 10:23:10PM +0100, Paul Gevers wrote: >Now the build time tests fail for me. I see this failure on v2.0.3 but not on v2.0.4 or main.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads