[avahi] More info: Problems with avahi segfaulting when cleaning up resources

Lennart Poettering lennart at poettering.net
Sun Oct 26 07:43:28 PDT 2008


On Fri, 24.10.08 13:58, Jim Hodapp (james.hodapp at gmail.com) wrote:

> Just to add some of the output info to my last problem report, for the  
> time that Avahi asserts it outputs:
> 
> "response-sched.c: 144: job_mark_done: Assertion `rj->state ==  
> AVAHI_SCHEDULED` failed.
> 
> When Avahi segfaults, this is printed out:
> 
> Leaving mDNS multicast group on interface eth1.IPv4 with address  
> 169.254.14.242
> Leaving mDNS multicast group on interface eth0.IPv4 with address  
> 192.168.1.195
> Segmentation fault

This smells like race to me. When you call any avahi_server_xxx
function from the main event loop you *need* to first lock the
loop. 

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4


More information about the avahi mailing list