From: Will Wagner <will_wagner@carallon.com>
To: alsa-devel@alsa-project.org
Subject: aplay hang with 1.0.18
Date: Mon, 19 Jan 2009 12:07:26 +0000 [thread overview]
Message-ID: <49746CFE.2010203@carallon.com> (raw)
Hi All,
I am seeing a problem with aplay hanging when trying to play a wav file. The problem is
that it is trying to use an mmap function even though mmap was not initialised. The call
stack is:
#0 snd_pcm_mmap_begin (pcm=0x400764a0, areas=0x400772c4,
offset=0x40061e1c,
frames=0x40082f78) at pcm.c:6402
#1 0x40081eb4 in snd_pcm_plugin_write_areas (pcm=0x2b0e8,
areas=0xbeb20950,
offset=0, size=2048) at pcm_plugin.c:278
#2 0x4006ab20 in snd1_pcm_write_areas (pcm=0x2b0e8, areas=0xbeb20950,
offset=0, size=2048, func=0x40081e30 <snd_pcm_plugin_write_areas>)
at pcm.c:6654
#3 0x40082578 in snd_pcm_plugin_writei (pcm=0x2b0e8, buffer=0x2b6c8,
size=2048) at pcm_plugin.c:361
#4 0x4005e384 in _snd_pcm_writei (pcm=0x21db8, buffer=0x2b6c8,
size=2048)
at pcm_local.h:516
#5 0x4005e2f8 in snd_pcm_writei (pcm=0x21db8, buffer=0x2b6c8,
size=2048)
at pcm.c:1243
#6 0x0001045c in pcm_write (data=0x2b6c8 "^", count=2048) at
aplay.c:1432
#7 0x000135b8 in playback_go (fd=5, loaded=0, count=424600, rtype=2,
name=0xbeb20dd5 "/sdcard/test.wav") at aplay.c:2171
#8 0x00013a0c in playback (name=0xbeb20dd5 "/sdcard/test.wav") at
aplay.c:2231
#9 0x0000c38c in main (argc=2, argv=0xbeb20cd4) at aplay.c:641
It gets here even though the mmap_flag was not set. This then causes an infinite loop as
no mmap areas have been defined.
My setup was working with version 1.0.16. What could have changed to break this? Is it
something wrong with my config?
Thanks,
Will.
--
------------------------------------------------------------------------
Will Wagner will_wagner@carallon.com
Development Manager Office Tel: +44 (0)20 7371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------
next reply other threads:[~2009-01-19 12:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-19 12:07 Will Wagner [this message]
2009-01-21 10:01 ` aplay hang with 1.0.18 Takashi Iwai
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=49746CFE.2010203@carallon.com \
--to=will_wagner@carallon.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.