Ticket #282 (closed defect: fixed)
Assertion 'size < (1024*1024*20)' failed at pulse/xmalloc.c:64 when playing .wav file
| Reported by: | eparis | Owned by: | lennart |
|---|---|---|---|
| Milestone: | 0.9.11 | Component: | daemon |
| Keywords: | Cc: | peloy@… |
Description
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.
