Hi, 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.
#bt #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. so.3 #5 0x00007f61a0db72b9 in ?? () from ./usr/lib64/libavahi-client.so.3 #6 0x00007f61a0b8379b in dbus_connection_dispatch () from ./lib64/libdbus-1.so.3 #7 0x00007f61a0dbe4c6 in ?? () from ./usr/lib64/libavahi-client.so.3 #8 0x00007f61a096e630 in avahi_simple_poll_dispatch () from ./usr/lib64/libavahi-common.so.3 #9 0x00007f61a096ebad in avahi_simple_poll_loop () from ./usr/lib64/libavahi-common.so.3 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 - http://git.stealer.net/?p=avahi.git;a=commit;h=df0f904f29312efd82cdbf55adb37b10cee47a6e. I have some doubt. 1> Why this fix was done? Please provide me brief description regarding the issue. 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 +91-8088505201
_______________________________________________ avahi mailing list avahi@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/avahi