Jim Thomas <[EMAIL PROTECTED]> wrote:

Hi,

> [net] net_avahi_browse_callback: ALL_FOR_NOW
> [net] sane_exit: exiting
> xsane: browser.c:703: avahi_service_browser_free: Assertion `*_head == _item' 
> failed.
> Aborted (core dumped)

OK, this is very obviously a race condition in the exit path. It only
manifests on SMP systems, that's why I haven't caught it earlier.

Turns out you need to lock the Avahi poll thread before stopping it
and tearing down the Avahi objects. Not mentionned anywhere in the
docs, so not totally obvious :)

Fix going in shortly.

Thanks,

JB.

-- 
 Julien BLACHE - Debian & GNU/Linux Developer - <[EMAIL PROTECTED]> 
 
 Public key available on <http://www.jblache.org> - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to