Bug#987686: webkit2gtk breaks balsa autopkgtest: xwd: error: No window with name Balsa exists!

Alberto Garcia berto at igalia.com
Sun May 2 22:44:42 BST 2021


Control: found -1 balsa/2.6.1-1

On Tue, Apr 27, 2021 at 11:27:32PM +0200, Alberto Garcia wrote:
> The bug happens because when xdg-desktop-portal-gtk is installed
> Balsa takes a very long time to start so those two seconds are not
> enough.
> 
> g_application_register() calls g_dbus_proxy_new_sync(), and
> that times out. The problem seems to disappear if you unset
> DBUS_SESSION_BUS_ADDRESS, but that's a workaround I guess :)

I'm thinking that this should probably be fixed for bullseye. It may
not fail at the moment because xdg-desktop-portal-gtk is not installed
during the test, but webkit2gtk 2.32.x will make it to bullseye sooner
or later through a security release.

So I think it makes sense to at least apply the workaround?

I'm also attaching the full backtrace of the point where Balsa hangs
during the test.

Berto
-------------- next part --------------
(gdb) bt
#0  0x00007ffff32113ff in __GI___poll (fds=0x555555823e00, nfds=1, timeout=25000) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff33af0ae in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x555555823e00, timeout=<optimized out>, context=0x555555866c00) at ../../../glib/gmain.c:4422
#2  g_main_context_iterate (context=0x555555866c00, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ../../../glib/gmain.c:4114
#3  0x00007ffff33af40b in g_main_loop_run (loop=0x5555557e6c70) at ../../../glib/gmain.c:4317
#4  0x00007ffff35ff214 in initable_init (initable=0x55555578cab0, cancellable=0x0, error=0x7fffffffda50) at ../../../gio/gdbusproxy.c:1903
#5  0x00007ffff35608e2 in g_initable_new_valist (object_type=<optimized out>, first_property_name=0x7ffff363283a "g-flags", var_args=var_args at entry=0x7fffffffd8a0, cancellable=cancellable at entry=0x0, 
    error=error at entry=0x7fffffffda50) at ../../../gio/ginitable.c:248
#6  0x00007ffff3560999 in g_initable_new (object_type=object_type at entry=93824994070512, cancellable=cancellable at entry=0x0, error=error at entry=0x7fffffffda50, 
    first_property_name=first_property_name at entry=0x7ffff363283a "g-flags") at ../../../gio/ginitable.c:162
#7  0x00007ffff3600913 in g_dbus_proxy_new_sync (connection=0x5555557180b0, flags=G_DBUS_PROXY_FLAGS_NONE, info=info at entry=0x0, name=name at entry=0x7ffff3d95460 "org.freedesktop.portal.Desktop", 
    object_path=0x7ffff3d954a8 "/org/freedesktop/portal/desktop", interface_name=0x7ffff3e01cd0 "org.freedesktop.portal.Inhibit", cancellable=0x0, error=0x7fffffffda50) at ../../../gio/gdbusproxy.c:2093
#8  0x00007ffff3d604ee in gtk_application_get_proxy_if_service_present (connection=<optimized out>, flags=<optimized out>, bus_name=0x7ffff3d95460 "org.freedesktop.portal.Desktop", object_path=<optimized out>, 
    interface=<optimized out>, error=0x7fffffffda50) at ../../../../gtk/gtkapplication-dbus.c:132
#9  0x00007ffff3d60678 in gtk_application_impl_dbus_startup (impl=0x555555825500, register_session=1) at ../../../../gtk/gtkapplication-dbus.c:461
#10 0x00007ffff3a93690 in gtk_application_startup (g_application=0x5555557090f0) at ../../../../gtk/gtkapplication.c:307
#11 0x00007ffff34a00a2 in g_closure_invoke (closure=closure at entry=0x5555557036e0, return_value=return_value at entry=0x0, n_param_values=1, param_values=param_values at entry=0x7fffffffdd10, 
    invocation_hint=invocation_hint at entry=0x7fffffffdc90) at ../../../gobject/gclosure.c:810
#12 0x00007ffff34b20aa in signal_emit_unlocked_R (node=node at entry=0x555555703710, detail=detail at entry=0, instance=instance at entry=0x5555557090f0, emission_return=emission_return at entry=0x0, 
    instance_and_params=instance_and_params at entry=0x7fffffffdd10) at ../../../gobject/gsignal.c:3669
#13 0x00007ffff34b86cf in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args at entry=0x7fffffffde90) at ../../../gobject/gsignal.c:3495
#14 0x00007ffff34b8c3f in g_signal_emit (instance=instance at entry=0x5555557090f0, signal_id=<optimized out>, detail=detail at entry=0) at ../../../gobject/gsignal.c:3551
#15 0x00007ffff35c4d92 in g_application_register (application=application at entry=0x5555557090f0, cancellable=cancellable at entry=0x0, error=error at entry=0x7fffffffdfb0) at ../../../gio/gapplication.c:2204
#16 0x00007ffff35c517a in g_application_real_local_command_line (application=0x5555557090f0, arguments=0x7fffffffe018, exit_status=0x7fffffffe014) at ../../../gio/gapplication.c:1106
#17 0x00007ffff35c54ae in g_application_run (application=0x5555557090f0, argc=-8172, argc at entry=2, argv=argv at entry=0x7fffffffe188) at ../../../gio/gapplication.c:2528
#18 0x00005555555881e5 in main (argc=2, argv=0x7fffffffe188) at main.c:786


More information about the pkg-gnome-maintainers mailing list