[avahi] problems with avahi-daemon on FreeBSD/sparc64
njriley at uiuc.edu
Tue Apr 25 14:42:44 PDT 2006
On Tue, Apr 25, 2006 at 07:28:15PM +0200, Lennart Poettering wrote:
> It's not surprising to get the errors above if you disable publishing.
OK, makes sense.
> Please run avahi-daemon in a gdb session, than interrupt it at the
> location where it hangs and post a backtrace here.
#0 0x0000000040a917e8 in poll () from /lib/libc.so.6
#1 0x000000004091a308 in _set_curthread () from /usr/lib/libc_r.so.6
#2 0x000000004091b318 in _thread_kern_scheduler () from /usr/lib/libc_r.so.6
#3 0x000000004091ade0 in _thread_kern_set_timeout () from /usr/lib/libc_r.so.6
Seems like the problem was that FreeBSD/sparc64 defaults to using
libc_r, the old userland pthread library, rather than the kernel
thread library libkthr. Once I recompiled avahi with libkthr the
above hang went away.
Now I get a bunch of "sendmsg() failed: Invalid argument" messages but
that is probably the fault of some of the code I changed. I will try
to get it debugged at some point.
Thanks for the response,
Nicholas Riley <njriley at uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>
More information about the avahi