[avahi] Need some description about the issue and the fix in avahi.

Jaseem Akhter jas20027 at gmail.com
Tue Dec 17 13:15:22 PST 2013


I am developing an application in which I am using avahi. I am using
avahi-0.6.23 where API avahi_threaded_poll_stop is returning with -1. I am
calling avahi_threaded_poll_start API at startup time and
avahi_threaded_poll_stop, avahi_client_free API at service stop time.
Sometimes at service stop time application is getting crashes on the
following code path.

#0  0x00007f61a0201b35 in raise () from ./lib64/libc.so.6
#1  0x00007f61a0203111 in abort () from ./lib64/libc.so.6
#2  0x00007f61a0b9e275 in ?? () from ./lib64/libdbus-1.so.3
#3  0x00007f61a0b9a09a in ?? () from ./lib64/libdbus-1.so.3
#4  0x00007f61a0db612e in ?? () from ./usr/lib64/libavahi-client.
#5  0x00007f61a0db72b9 in ?? () from ./usr/lib64/libavahi-client.so.3
#6  0x00007f61a0b8379b in dbus_connection_dispatch () from
#7  0x00007f61a0dbe4c6 in ?? () from ./usr/lib64/libavahi-client.so.3
#8  0x00007f61a096e630 in avahi_simple_poll_dispatch () from
#9  0x00007f61a096ebad in avahi_simple_poll_loop () from

This code path is not consistent but it crashes some where in avahi ( in
thread started by avahi_threaded_poll_start). I checked the avahi fix for
this issue on this link -
I have some doubt.

1> Why this fix was done? Please provide me brief description regarding the
2> Is this issue can cause crash in code path mentioned above? Or in
anywhere in avahi thread started by avahi_threaded_poll_stop API?

Thanks & Regards,

Jaseem Akhter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/avahi/attachments/20131218/a08b1b2c/attachment.html>

More information about the avahi mailing list