[pulseaudio-tickets] [Bug 73621] New: sink-input.c: Assertion 'tchunk.length > 0' failed at pulsecore/sink-input.c

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 14 09:56:06 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=73621

          Priority: medium
            Bug ID: 73621
                CC: lennart at poettering.net
          Assignee: pulseaudio-bugs at lists.freedesktop.org
           Summary: sink-input.c: Assertion 'tchunk.length > 0' failed at
                    pulsecore/sink-input.c
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: thiago.sousa.santos at collabora.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: alsa
           Product: PulseAudio

Created attachment 92072
  --> https://bugs.freedesktop.org/attachment.cgi?id=92072&action=edit
log of the issue

This happened while debugging a gstreamer issue that led pulsesink to configure
itself for a stream with a rate of 1. Pulseaudio would abort with:

E: [alsa-sink-ALC269VC Analog] sink-input.c: Assertion 'tchunk.length > 0'
failed at pulsecore/sink-input.c:922, function pa_sink_input_peek(). Aborting.

The trace:
Thread 3 (Thread 0x7fffe7fff700 (LWP 1177)):
#0  0x00007ffff6448a1f in __GI_ppoll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>, sigmask=sigmask at entry=0x0)
    at ../sysdeps/unix/sysv/linux/ppoll.c:57
#1  0x00007ffff7b7c6b0 in ppoll (__ss=0x0, __timeout=<optimized out>,
__nfds=<optimized out>, __fds=<optimized out>)
    at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  pa_rtpoll_run (p=0x69e4f0, wait_op=wait_op at entry=true) at
pulsecore/rtpoll.c:314
#3  0x00007fffed00cf0d in thread_func (userdata=0x69a680) at
modules/alsa/alsa-source.c:1527
#4  0x00007ffff7925d08 in internal_thread_func (userdata=0x6c8400) at
pulsecore/thread-posix.c:83
#5  0x00007ffff6e28e0e in start_thread (arg=0x7fffe7fff700) at
pthread_create.c:311
#6  0x00007ffff64540fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fffecfdf700 (LWP 1176)):
#0  0x00007ffff63a01d5 in __GI_raise (sig=sig at entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff63a3388 in __GI_abort () at abort.c:90
#2  0x00007ffff7b85989 in pa_sink_input_peek (i=i at entry=0x77a680,
slength=<optimized out>, chunk=chunk at entry=0x7fffecfdc6e0, 
    volume=volume at entry=0x7fffecfdc6f8) at pulsecore/sink-input.c:853
#3  0x00007ffff7b8cefb in fill_mix_info (s=s at entry=0x6ab050,
length=length at entry=0x7fffecfdc628, info=info at entry=0x7fffecfdc6e0, maxinfo=32)
    at pulsecore/sink.c:1015
#4  0x00007ffff7b8ef85 in pa_sink_render_into (s=s at entry=0x6ab050,
target=target at entry=0x7fffecfded40) at pulsecore/sink.c:1254
#5  0x00007ffff7b8f4b7 in pa_sink_render_into_full (s=0x6ab050,
target=target at entry=0x7fffecfdee10) at pulsecore/sink.c:1338
#6  0x00007fffed00754b in mmap_write (on_timeout=false, polled=false,
sleep_usec=<synthetic pointer>, u=0x68a030) at modules/alsa/alsa-sink.c:644
#7  thread_func (userdata=0x68a030) at modules/alsa/alsa-sink.c:1734
#8  0x00007ffff7925d08 in internal_thread_func (userdata=0x6b34b0) at
pulsecore/thread-posix.c:83
#9  0x00007ffff6e28e0e in start_thread (arg=0x7fffecfdf700) at
pthread_create.c:311
#10 0x00007ffff64540fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7ffff7fc1740 (LWP 1172)):
#0  pa_hashmap_iterate (h=h at entry=0x773d30, state=state at entry=0x7fffffffda88,
key=key at entry=0x7fffffffda80) at pulsecore/hashmap.c:210
#1  0x00007ffff78f283b in pa_proplist_equal (a=0x773d30, b=b at entry=0x77a040) at
pulse/proplist.c:698
#2  0x00007fffe61b78ff in subscription_cb (c=<optimized out>, t=<optimized
out>, idx=<optimized out>, userdata=0x7734c0)
    at modules/dbus/iface-stream.c:786
#3  0x00007ffff7b6fb7f in defer_cb (m=<optimized out>, de=<optimized out>,
userdata=0x61bc30) at pulsecore/core-subscribe.c:174
#4  0x00007ffff76b4e1a in dispatch_defer (m=0x61ba60) at pulse/mainloop.c:682
---Type <return> to continue, or q <return> to quit---
#5  pa_mainloop_dispatch (m=m at entry=0x61ba60) at pulse/mainloop.c:895
#6  0x00007ffff76b507a in pa_mainloop_iterate (m=m at entry=0x61ba60,
block=block at entry=1, retval=retval at entry=0x7fffffffdd88) at
pulse/mainloop.c:935
#7  0x00007ffff76b5120 in pa_mainloop_run (m=m at entry=0x61ba60,
retval=retval at entry=0x7fffffffdd88) at pulse/mainloop.c:950
#8  0x0000000000406d4d in main (argc=<optimized out>, argv=<optimized out>) at
daemon/main.c:1142

I'm also attaching the pulseaudio -vvvvv log here. If needed I can provide more
details.

$pulseaudio --version:
returns 4.0

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20140114/9e527dc4/attachment.html>


More information about the pulseaudio-bugs mailing list