View previous topic :: View next topic |
Author |
Message |
guidodev n00b
Joined: 02 Dec 2002 Posts: 51 Location: Norman, Oklahoma
|
Posted: Sat Dec 07, 2002 1:14 pm Post subject: ALSA - amixer, alsamixer, and xmms segfault |
|
|
Greetings,
Amixer, alsamixer, and xmms seem to like segfaulting on my system--I've never been able to get them to work right. Xmms only crashes if media-plugins/alsa-xmms is installed, otherwise it's fine. At least I can alter the volume settings with gnome-volume-control (compiled without USE="alsa" IIRC). Oddly enough, alsaplayer and aplay work just fine and seem to have no issues.
An strace on amixer/alsamixer/xmms yields the following...
<snip>
open("/dev/snd/controlC0", O_RDONLY) = 3
close(3) = 0
open("/dev/snd/controlC0", O_RDWR) = 3
ioctl(3, USBDEVFS_CONTROL, 0xbffff308) = 0
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
ioctl(3, USBDEVFS_RELEASEINTERFACE, 0xbffff504) = 0
brk(0x805c000) = 0x805c000
ioctl(3, USBDEVFS_RELEASEINTERFACE, 0xbffff504) = 0
brk(0x805d000) = 0x805d000
brk(0x805e000) = 0x805e000
brk(0x805f000) = 0x805f000
brk(0x8060000) = 0x8060000
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
</snip>
An strace for aplay/alsaplayer yields something like this:
<snip>
open("/dev/snd/controlC0", O_RDONLY) = 3
close(3) = 0
open("/dev/snd/controlC0", O_RDWR) = 3
ioctl(3, USBDEVFS_CONTROL, 0xbffff018) = 0
ioctl(3, 0x40045532, 0xbffff018) = 0
open("/dev/snd/pcmC0D0p", O_RDWR) = 4
ioctl(4, AGPIOC_INFO, 0xbffff084) = 0
</snip>
Ideas? I've searched all over the place and can find plenty of people asking questions, but no answers... |
|
Back to top |
|
|
guidodev n00b
Joined: 02 Dec 2002 Posts: 51 Location: Norman, Oklahoma
|
Posted: Sat Dec 14, 2002 12:35 pm Post subject: |
|
|
It appears that the problem was having grsecurity's non-executable stack option turned on in the kernel. A few days after recompiling the kernel without that option to make wine happy, I noticed that my alsa apps were working properly...go figure. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|