[pulseaudio-tickets] [PulseAudio] #282: Assertion 'size < (1024*1024*20)' failed at pulse/xmalloc.c:64 when playing .wav file

PulseAudio trac-noreply at tango.0pointer.de
Fri Apr 25 07:53:27 PDT 2008


#282: Assertion 'size < (1024*1024*20)' failed at pulse/xmalloc.c:64 when playing
.wav file
--------------------+-------------------------------------------------------
 Reporter:  eparis  |       Owner:  lennart
     Type:  defect  |      Status:  new    
 Priority:  normal  |   Milestone:         
Component:  daemon  |    Severity:  normal 
 Keywords:          |  
--------------------+-------------------------------------------------------
 pulseaudio 0.9.10 (from Ubuntu 8.04)

 Playing some .wav file causes the pulseaudio server to exit due to a
 failed assertion:

 pulseaudio[18292]: xmalloc.c: Assertion 'size < (1024*1024*20)' failed at
 pulse/xmalloc.c:64, function pa_xmalloc(). Aborting.

 This file plays fine using sox:

 $ play newmail.wav

 Input File     : 'newmail.wav'
 Sample Size    : 16-bit (2 bytes)
 Sample Encoding: signed (2's complement)
 Channels       : 1
 Sample Rate    : 22050

 Time: 00:00.08 [00:00.00] of 00:00.08 (100% ) Samples out: 1.86k Clips: 0
 Done.

 Other .wav files I have are played fine by pulseaudio. For example:

 $ play yahoo.wav

 Input File     : 'yahoo.wav'
 Sample Size    : 8-bit (1 byte)
 Sample Encoding: unsigned
 Channels       : 1
 Sample Rate    : 11025

 Time: 00:02.28 [00:00.00] of 00:02.28 (100% ) Samples out: 25.1k Clips: 0
 Done.

 It seems like pulseaudio has problems playing files with a sample size
 different than 1 byte, a sample encoding different than "unsigned", and/or
 a higher sample rate.

 Attached are both files I showed above.

-- 
Ticket URL: <http://pulseaudio.org/ticket/282>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list