Bug 103780 - LD_PRELOAD=/usr/lib/libaoss.so causes segfaults
Summary: LD_PRELOAD=/usr/lib/libaoss.so causes segfaults
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Sound (show other bugs)
Version: Beta 1
Hardware: x86 All
: P5 - None : Normal
Target Milestone: ---
Assignee: Takashi Iwai
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-10 11:04 UTC by Bjoern Jacke
Modified: 2005-08-10 14:13 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bjoern Jacke 2005-08-10 11:04:55 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
Comment 1 Takashi Iwai 2005-08-10 12:41:07 UTC
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?
Comment 2 Takashi Iwai 2005-08-10 13:11:08 UTC
OK, I found the culprit.  It's a missing initialization in fcntl wrapper.
Comment 3 Takashi Iwai 2005-08-10 14:13:56 UTC
The fixed package is submitted to STABLE.