After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 155316 - alsasink triggers assert failure in ALSA snd_pcm_wait()
alsasink triggers assert failure in ALSA snd_pcm_wait()
Status: RESOLVED DUPLICATE of bug 151520
Product: GStreamer
Classification: Platform
Component: dont know
0.8.5
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-10-13 16:17 UTC by Bert Vermeulen
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8



Description Bert Vermeulen 2004-10-13 16:17:00 UTC
sumner: gst-launch-0.8 filesrc location="01 - More Than A Feeling.mp3" ! mad !
alsasink
RUNNING pipeline ...
gst-launch-0.8: pcm.c:2094: snd_pcm_wait: Assertion `err == 1' failed.
Aborted

backtrace:
  • #0 kill
    from /lib/libc.so.6
  • #1 pthread_kill
    from /lib/libpthread.so.0
  • #2 raise
    from /lib/libpthread.so.0
  • #3 raise
    from /lib/libc.so.6
  • #4 abort
    from /lib/libc.so.6
  • #5 __assert_fail
    from /lib/libc.so.6
  • #6 snd_pcm_wait
    from /usr/lib/libasound.so.2
  • #7 gst_alsa_pcm_wait
    from /usr/lib/gstreamer-0.8/libgstalsa.so
  • #8 gst_alsa_sink_get_type
    from /usr/lib/gstreamer-0.8/libgstalsa.so
  • #9 ??
    from /usr/lib/gstreamer-0.8/libgstoptscheduler.so

Comment 1 Ronald Bultje 2004-10-15 07:42:45 UTC
What soundcard and which drivers do you use? I need this for the ALSA developers.
Comment 2 Bert Vermeulen 2004-10-15 12:22:41 UTC
From /proc/asound/cards:

0 [AudioPCI       ]: ENS1371 - Ensoniq AudioPCI
                     Ensoniq AudioPCI ENS1371 at 0xdc00, irq 7

The driver is snd-ens1371, from the alsa-driver-1.0.3 package. The other ALSA
components are from the debian ALSA packages in the "unstable" distribution.

Comment 3 Ronald Bultje 2004-10-15 14:28:41 UTC
Have you tried upgrading to the latest version of alsalib and the alsa kernel
modules?
Comment 4 Bert Vermeulen 2004-10-22 11:31:46 UTC
Yes, I've now upgraded the drivers, libs etc to 1.06a, the latest release
version. The result is the same.

Incidentally, the same MP3 plays fine with alsaplayer, so it seems to be related
to alsasink's usage of the ALSA libs, rather than the ALSA libs itself.
Comment 5 Ali Alphan Bayazit 2004-10-30 01:03:35 UTC
I have the same problem with gstreamer's alsasink. It looks like it has
something to do with alsa dmix plugin. Try renaming ~/.asoundrc file, or the
remove default decleration.

Comment 6 Bert Vermeulen 2004-10-30 01:15:17 UTC
Yup, I have the same. So perhaps something in alsasink triggering a bug (or at
least an assert) in alsa, then.
Comment 7 Ronald Bultje 2004-11-10 10:20:49 UTC

*** This bug has been marked as a duplicate of 151520 ***