Ticket #282 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

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.

Attachments

newmail.wav (5.7 kB) - added by eparis 4 years ago.
yahoo.wav (25.9 kB) - added by eparis 4 years ago.

Change History

Changed 4 years ago by eparis

Changed 4 years ago by eparis

Changed 4 years ago by eparis

  • cc peloy@… added

Also present in pulseaudio 0.9.5, according to this Debian bug report:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=413140

Changed 4 years ago by lennart

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 0.9.11

This has been fixed in current git a while back.

Note: See TracTickets for help on using tickets.