aplay hang with 1.0.18

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

 



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@xxxxxxxxxxxx
Development Manager                      Office Tel: +44 (0)20 7371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------


_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux