Noticed this during development of 4.3 but have confirmed that it affects 4.2.1 (and 4.2) as well.
When running avahi-daemon, get a Segmentation fault. Tracing with strace reports the following:
...
stat("/lib/ld-uClibc.so.0", {st_mode=S_IFREG|0755, st_size=17000, ...}) = 0
mprotect(0x77785000, 4096, PROT_READ) = 0
mprotect(0x77713000, 4096, PROT_READ) = 0
mprotect(0x776f3000, 4096, PROT_READ) = 0
mprotect(0x777d6000, 4096, PROT_READ) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault
Tested using Bering-uClibc_4.2*_i686_isolinux_vga.iso downloads running in Qemu.
I will start to investigate using the enhanced debugging tools in BuC 5.x.
Happy to own resolution of this since it is holding up my testing of Netatalk (Ticket #54) and Avahi is "mine" anyway... but if anyone has seen similar symptoms before I'd appreciate some tips! :-)
Typical; on 5.x it doesn't crash! That suggests it is likely to be due to something other than the Avahi code itself. Maybe uClibc?
Closing this ticket because 5.0 is stable since June 2013, so user are asked to update to 5.x.