Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20897 - audiooss causes everything to die
Summary: audiooss causes everything to die
Status: RESOLVED UPSTREAM
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: Highest critical (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-12 22:59 UTC by Trevor Joynson
Modified: 2011-10-30 22:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Trevor Joynson 2003-05-12 22:59:50 UTC
Alright. I was having problems with emerge just plain segfaulting on me, upon
every single package, every single time.

So, i eventually poked around and found out that it was that i was using an
LD_PRELOAD in /etc/profile, which just loads the audiooss driver ( makes a NAS
server look like a normal /dev/dsp device and such. )

so, with the LD_PRELOAD, emerge pukes errors such as:

>> emerge portage

----------

Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/portage-2.0.48_pre6 to /
>>> md5 src_uri ;-) portage-2.0.48_pre6.tar.bz2
/usr/sbin/ebuild.sh: line 1010: [: ==: unary operator expected
/usr/sbin/ebuild.sh: line 1052: 22097 Segmentation fault      ccache -M
${CCACHE_SIZE} >&/dev/null
/usr/sbin/ebuild.sh: line 1177: 22098 Segmentation fault      install -m0700 -d
${WORKDIR}
>>> Unpacking source...
>>> Unpacking portage-2.0.48_pre6.tar.bz2 to /var/tmp/portage
/usr/sbin/ebuild.sh: line 279: portage-2.0.48_pre6.tar: Permission denied

!!! ERROR: sys-apps/portage-2.0.48_pre6 failed.
!!! Function unpack, Line 279, Exitcode 1
!!! failure unpacking portage-2.0.48_pre6.tar.bz2

----------

>> :NOTE: the permission denied error is new, before it was doing a segfault on:
bzip2 -dc ${DISTDIR}/${x} >${x%.*}

yet, without LD_PRELOAD, it works beautifully. =)

Running 2.5.69-mm3 >> 800p3
if you want anymore info, just ask.

thanks

-- trevorj
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-05-14 14:33:19 UTC
I'm not sure if this is something I can remedy.
You can try adding this into emerge though:

os.environ["LD_PRELOAD"]=""

place it after any 'import' statements near the top.
immediately after 'import os' is listed would be best.
Comment 2 Trevor Joynson 2003-05-15 04:05:51 UTC
well, its not emerge's fault ive found out. it breaks _many_ things, including sed.

libaudiooss is a naughty naughty library =)
Comment 3 Andrew Cooks (RETIRED) gentoo-dev 2003-11-19 10:08:46 UTC
This bug has been "critical" for 6 months. Feedback please.
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-06 20:02:52 UTC
This is a problem with libaudiooss...