<div dir="ltr"><div><div><div>Hi,<br><br></div>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.<br>
<br>#bt<br>#0  0x00007f61a0201b35 in raise () from ./lib64/libc.so.6<br>#1  0x00007f61a0203111 in abort () from ./lib64/libc.so.6<br>#2  0x00007f61a0b9e275 in ?? () from ./lib64/libdbus-1.so.3<br>#3  0x00007f61a0b9a09a in ?? () from ./lib64/libdbus-1.so.3<br>



#4  0x00007f61a0db612e in ?? () from ./usr/lib64/libavahi-client.<div>so.3<br>#5  0x00007f61a0db72b9 in ?? () from ./usr/lib64/libavahi-client.so.3<br>#6  0x00007f61a0b8379b in dbus_connection_dispatch () from ./lib64/libdbus-1.so.3<br>



#7  0x00007f61a0dbe4c6 in ?? () from ./usr/lib64/libavahi-client.so.3<br>#8  0x00007f61a096e630 in avahi_simple_poll_dispatch () from ./usr/lib64/libavahi-common.so.3<br>#9  0x00007f61a096ebad in avahi_simple_poll_loop () from ./usr/lib64/libavahi-common.so.3</div>


<br><br>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 - <a href="http://git.stealer.net/?p=avahi.git;a=commit;h=df0f904f29312efd82cdbf55adb37b10cee47a6e" target="_blank">http://git.stealer.net/?p=avahi.git;a=commit;h=df0f904f29312efd82cdbf55adb37b10cee47a6e</a>. I have some doubt.<br>


<br></div>1> Why this fix was done? Please provide me brief description regarding the issue.<br></div>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?<br clear="all"><br>-- <br>Thanks & Regards,<br><br>Jaseem Akhter<br>+91-8088505201<br><br>
</div>