Bug 43694 - Assertion 'r->i_ss.channels == r->o_ss.channels' failed in the git version 20111210
Summary: Assertion 'r->i_ss.channels == r->o_ss.channels' failed in the git version 20...
Status: RESOLVED FIXED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: alsa (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-10 06:44 UTC by beroal
Modified: 2011-12-12 20:02 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
the console log (5.99 KB, text/plain)
2011-12-10 06:44 UTC, beroal
Details

Description beroal 2011-12-10 06:44:47 UTC
Created attachment 54292 [details]
the console log

I got this error in "pulseaudio" when starting "pavucontrol" or Gnome3's sound settings. (I can not use the stable version 1.1 of "pulseaudio" because it yields a segmentation fault when tuning Gnome3's sound settings. It is not actually stable.)
Comment 1 Tanu Kaskinen 2011-12-10 07:52:18 UTC
Maarten, do you have time to investigate this bug? The crashing assertion seems to be added in this recent commit:

http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=75c2f4d09ef30cd8b06dd9ebbda571287dfb2b2b

Roman, if you can reproduce the crash, it would probably be helpful to get a stack trace. If using gdb isn't familiar to you, here are some instructions: http://pulseaudio.org/wiki/Community#BugsPatchesTranslations
Comment 2 Arun Raghavan 2011-12-10 23:33:14 UTC
Backtrace below. The input channel count is 2, output channel count is 1.


#0  0x00007ffff2ebf909 in *__GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff2ec0c6a in *__GI_abort () at abort.c:93
#2  0x00007ffff7b718d1 in peaks_resample (r=0x7fffe80a92f0, 
    input=0x7fffe80a9450, in_n_frames=882, output=0x7fffe80a9468, 
    out_n_frames=0x7fffed45a27c) at pulsecore/resampler.c:1454
#3  0x00007ffff7b757a8 in resample (input=0x7fffe80a9450, r=0x7fffe80a92f0)
    at pulsecore/resampler.c:1137
#4  pa_resampler_run (r=0x7fffe80a92f0, in=0x7fffed45a3c0, out=0x7fffed45a3a0)
    at pulsecore/resampler.c:1193
#5  0x00007ffff7b9d8a2 in pa_source_output_push (o=0x7fffe80abb80, 
    chunk=<optimized out>) at pulsecore/source-output.c:799
#6  0x00007ffff7ba5a7c in pa_source_post (s=0x6f45a0, chunk=0x7fffed45cce0)
    at pulsecore/source.c:882
#7  0x00007ffff7b8a3ff in inputs_drop (s=<optimized out>, 
    info=<optimized out>, n=<optimized out>, result=0x7fffed45cce0)
    at pulsecore/sink.c:1057
#8  0x00007ffff7b8ca29 in pa_sink_render_into (s=0x68c320, 
    target=0x7fffed45cce0) at pulsecore/sink.c:1225
#9  0x00007ffff7b8cfa3 in pa_sink_render_into_full (s=0x68c320, 
    target=0x7fffed45cdd0) at pulsecore/sink.c:1260
#10 0x00007fffed7b79d1 in mmap_write (on_timeout=false, polled=false, 
    sleep_usec=<optimized out>, u=0x6f63a0) at modules/alsa/alsa-sink.c:635
---Type <return> to continue, or q <return> to quit---
#11 thread_func (userdata=0x6f63a0) at modules/alsa/alsa-sink.c:1687
#12 0x00007ffff6edb01d in internal_thread_func (userdata=0x66f0d0)
    at pulsecore/thread-posix.c:83
#13 0x00007ffff3cc1db8 in start_thread (arg=0x7fffed45d700)
    at pthread_create.c:301
#14 0x00007ffff2f686dd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
Comment 3 Arun Raghavan 2011-12-12 20:02:10 UTC
Fixed in master now, thanks.


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.