Ticket #324 (new defect)

Opened 2 years ago

avahi_entry_group_free() hangs, causing vino freezes

Reported by: DaveHansen Owned by: lennart
Milestone: Component: avahi-core
Keywords: Cc:

Description

The symptoms here are that the "vino-server" process on Ubuntu systems becomes non-responsive. This seems to happen when it is either trying to shutdown or restart itself due to a configuration change. The Ubuntu Avahi version is: 0.6.27-2ubuntu3

It's a call to avahi_entry_group_free() which hangs and never returns:

static void vino_mdns_restart (void) {

if (mdns_service_name != NULL)

g_free (mdns_service_name);

mdns_service_name = NULL;

if (mdns_entry_group != NULL)

avahi_entry_group_free (mdns_entry_group);

mdns_entry_group = NULL;

if (mdns_client != NULL)

avahi_client_free (mdns_client);

mdns_client = NULL;

vino_mdns_start (iface_name);

}

There are some more backtraces an more information in this Ubuntu bug:

 https://bugs.launchpad.net/ubuntu/+source/vino/+bug/31037

The 0.6.28 changelog doesn't look like it has any good suspects for things that might have fixed this.

I'm not sure if dbus is behind the scenes actually causing Avahi to freeze, but I'd appreciate some help from anyone that knows what Avahi is supposed to be doing here.

Note: See TracTickets for help on using tickets.