bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Alsa-user] Re: alsamixer crash! ALSA 1.0.0rc2


From: Aravind
Subject: Re: [Alsa-user] Re: alsamixer crash! ALSA 1.0.0rc2
Date: Fri, 12 Dec 2003 22:58:41 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010726 Netscape/7.0

Aravind wrote:
[I am resending this email as the previous mail seems to have been lost]

 Hi all,

 alsamixer and amixer both get a seg fault at msort_with_tmp
 within glibc. I am not sure whether the bug is in alsa-utils or
 glibc or the patch that I applied to my kernel. No OSS emulation.
 Sound card driver is es1968. aplay and arecord don't produce a
 seg fault. Most probably the call to qsort within mixer.c in alsa-lib
 triggers something when openwall patch is present I think. That's my
 wild guess.

 I have CCed both glibc and openwall.

 My package versions are
 Kernel:   2.4.23-ow1 (that is the openwall security patch)
 glibc:    2.3.2-4.80.6
 gcc:      3.2-7
 binutils: 2.13.90.0.2-2
 alsa-driver: 1.0.0rc2
 alsa-lib: 1.0.0rc2
 alsa-utils: 1.0.0rc2

 thanks for any help.

 Aravind

Hello All,

I found out the problem myself. alsa-lib uses nested functions and GCC
uses trampolines to implement them. As I had disabled trampoline support
in the openwall patch they were crashing. Ideally, alsa-lib should stop
using nested functions. I think the patch is trivial.

thanks

Aravind









reply via email to

[Prev in Thread] Current Thread [Next in Thread]