From: bugtrack@alsa-project.org
To: alsa-devel@alsa-project.org
Subject: [ALSA - utils 0001107]: amixer crashes with M-Audio Revolution 7.1 when value is given to numid=0
Date: Wed, 15 Jun 2005 15:18:42 +0200 [thread overview]
Message-ID: <397c4871e92940318ff3423b4ea4d05f@bugtrack.alsa-project.org> (raw)
The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1107>
======================================================================
Reported By: sst4
Assigned To: tiwai
======================================================================
Project: ALSA - utils
Issue ID: 1107
Category: amixer
Reproducibility: always
Severity: crash
Priority: normal
Status: resolved
Resolution: not an issue
Fixed in Version:
======================================================================
Date Submitted: 05-14-2005 02:50 CEST
Last Modified: 06-15-2005 15:18 CEST
======================================================================
Summary: amixer crashes with M-Audio Revolution 7.1 when
value is given to numid=0
Description:
The following says it all:
"
[root@athlon ~]# cat /proc/asound/pcm
00-00: ICE1724 : ICE1724 : playback 1 : capture 1
00-01: IEC1724 IEC958 : IEC1724 IEC958 : playback 1
00-02: ICE1724 Surrounds : ICE1724 Surround PCM : playback 3
[root@athlon ~]# amixer cset numid=0 50%
amixer: control.c:251: snd_ctl_elem_info: Assertion `ctl && info &&
(info->id.name[0] || info->id.numid)'failed.
Aborted (core dumped)
[root@athlon ~]#
".
The same configuration as in
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1106
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1096 ,
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1095 .
Thanks in advance,
Sergei.
======================================================================
----------------------------------------------------------------------
sst4 - 05-27-05 12:26
----------------------------------------------------------------------
By the way, this command line: 'amixer cget numid=0'
produces this:
"
amixer: control.c:251: snd_ctl_elem_info: Assertion `ctl && info &&
(info->id.name[0] || info->id.numid)' failed.
Abort
"
Probably useful for developers, but not for end users. Could you please
implement a more
useful error message explaining what's wrong ?
Thanks,
Sergei.
----------------------------------------------------------------------
tiwai - 06-15-05 15:18
----------------------------------------------------------------------
The error is because you pass an invalid value numid=0. It must be a
positive integer.
Will improve the error message, though.
Issue History
Date Modified Username Field Change
======================================================================
05-14-05 02:50 sst4 New Issue
05-24-05 12:03 tiwai Note Added: 0004713
05-24-05 21:41 sst4 Note Added: 0004730
05-27-05 12:26 sst4 Note Added: 0004747
06-15-05 15:18 tiwai Status new => resolved
06-15-05 15:18 tiwai Resolution open => not an issue
06-15-05 15:18 tiwai Assigned To => tiwai
06-15-05 15:18 tiwai Note Added: 0005031
======================================================================
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
next reply other threads:[~2005-06-15 13:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-15 13:18 bugtrack [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-05-27 10:26 [ALSA - utils 0001107]: amixer crashes with M-Audio Revolution 7.1 when value is given to numid=0 bugtrack
2005-05-24 19:41 bugtrack
2005-05-24 10:03 bugtrack
2005-05-14 0:50 bugtrack
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=397c4871e92940318ff3423b4ea4d05f@bugtrack.alsa-project.org \
--to=bugtrack@alsa-project.org \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox