Bug 77212

Summary: when i want to play a 24/36 bit mono file , the pulseaudio crashed in remap.c
Product: PulseAudio Reporter: IvanXie <cunshangzhishu>
Component: coreAssignee: pulseaudio-bugs
Status: RESOLVED FIXED QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: lennart
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 75721    

Description IvanXie 2014-04-09 02:49:19 UTC
My pulseaudio version: 4.0
when i want to play a 24/36 bit mono file , the pulseaudio crashed in remap.c
the callstack like below:
#0  0xb693d9e8 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:67
#1  0xb69416bc in abort () at abort.c:92
#2  0xb6ee9254 in remap_mono_to_stereo_c (m=<value optimized out>,
    dst=<value optimized out>, src=<value optimized out>,
    n=<value optimized out>) at pulsecore/remap.c:85
#3  0xb6ee9ba2 in remap_channels (r=0xae31a238, input=0xaf4fc694)
    at pulsecore/resampler.c:1223
#4  0xb6eecb8e in pa_resampler_run (r=0xae31a238, in=0xaf4fc694,
    out=0xaf4fc6a0) at pulsecore/resampler.c:1324
#5  0xb6ef49da in pa_sink_input_peek (i=0xae310010, slength=5036,
    chunk=0xaf4fc7d0, volume=0xaf4fc7dc) at pulsecore/sink-input.c:1018
#6  0xb6efa000 in fill_mix_info (s=0x1bb6cf8, length=0xaf4febdc,
    info=0xaf4fc7d0, maxinfo=32) at pulsecore/sink.c:1132
#7  0xb6efc128 in pa_sink_render_into (s=0x1bb6cf8, target=0xaf4fecb4)
    at pulsecore/sink.c:1387
#8  0xb6efc564 in pa_sink_render_into_full (s=0x1bb6cf8, target=0xaf4fed54)
    at pulsecore/sink.c:1504
#9  0xb0e010a2 in mmap_write (userdata=0x1bb3258)
    at modules/alsa/alsa-sink.c:676
#10 thread_func (userdata=0x1bb3258) at modules/alsa/alsa-sink.c:1837
#11 0xb6da9272 in internal_thread_func (userdata=0x1bb6970)
    at pulsecore/thread-posix.c:83
#12 0xb6adcd30 in start_thread (arg=0xaf4ff460) at pthread_create.c:306

(gdb) p remap->format
$4 = (pa_sample_format_t *) 0xae31a3b4
(gdb) p *remap->format
$5 = PA_SAMPLE_S24_32LE
could you please add supporting of 24/36 bit mono file remap
Comment 1 Tanu Kaskinen 2014-04-25 10:45:49 UTC
6.0 blocker.
Comment 2 IvanXie 2014-07-06 08:09:44 UTC
After update PulseAudio version to 4.0. This issue has been fixed.
Thank you very much.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.