Bugzilla – Bug 103780
LD_PRELOAD=/usr/lib/libaoss.so causes segfaults
Last modified: 2005-08-10 14:13:56 UTC
up to 9.3 I was using LD_PRELOAD=/usr/lib/libaoss.so with alsa dmix globally which worked great at let me play sound from any application simulanously without noticable latency. In 10.0 it doesn't work anymore with some X11 applications, some applications still work ... It can simply be reproduced with xcalc: LD_PRELOAD=/usr/lib/libaoss.so xcalc Segmentation fault reinstalling the alsa RPM from 9.3 on the same system makes it work again
Are you sure that the 9.3 alsa.rpm works on SL10.0 system (ie. new gcc4/glibc)? I still get segfault with 9.3 alsa.rpm. It seems that fcntl(fd, F_SETFD, xxx) causes segfault. Interestingly, other F_XXX seems OK. Jaroslav, any clue?
OK, I found the culprit. It's a missing initialization in fcntl wrapper.
The fixed package is submitted to STABLE.