I am writing a c program using the avahi api. Below is the code that is generating the error.<br><br> owner->_client = avahi_client_new(avahi_threaded_poll_get(owner->_poll), AVAHI_CLIENT_NO_FAIL, ClientCallback, owner, &error);<br>
AvahiEntryGroup * group = avahi_entry_group_new(owner->_client, EntryGroupCallback, owner);<br> if (!group)<br> {<br> fprintf(stderr, "avahi_entry_group_new() failed: %s\n",<br> avahi_strerror(avahi_client_errno(owner->_client)));<br>
}<br> else<br> {<br> ret = avahi_entry_group_add_service_strlst(group, AVAHI_IF_UNSPEC,<br> AVAHI_PROTO_UNSPEC, 0, serviceName, regType, domain, host, port, txt);<br> }<br><br>When I step through the last call in my program is avahi_entry_group_add_service_strlst. Then I get the following stack dump from dbus. I have also see this happen from the avahi_entry_group_new call above. But if it makes it passed this one, it dies on the next one with the same dbus stack trace.<br>
<br>#0 0xb7c176b6 in ?? () from /lib/libdbus-1.so.3<br>#1 0xb7c1709a in ?? () from /lib/libdbus-1.so.3<br>#2 0xb7c17111 in ?? () from /lib/libdbus-1.so.3<br>#3 0xb7c14d39 in ?? () from /lib/libdbus-1.so.3<br>#4 0xb7c1592e in ?? () from /lib/libdbus-1.so.3<br>
#5 0xb7bffbf8 in ?? () from /lib/libdbus-1.so.3<br>#6 0xb7c01d98 in ?? () from /lib/libdbus-1.so.3<br>#7 0xb7c01ef2 in ?? () from /lib/libdbus-1.so.3<br>#8 0xb7c0f1f1 in dbus_pending_call_block () from /lib/libdbus-1.so.3<br>
#9 0xb7c00e9a in dbus_connection_send_with_reply_and_block ()<br> from /lib/libdbus-1.so.3<br><br>is there anything I could be doing to cause this? Is this a known error (with a potential fix) somewhere?<br><br>Thanks<br>
<br><br><br><br>