<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - sink-input.c: Assertion 'tchunk.length > 0' failed at pulsecore/sink-input.c"
href="https://bugs.freedesktop.org/show_bug.cgi?id=73621">73621</a>
</td>
</tr>
<tr>
<th>CC</th>
<td>lennart@poettering.net
</td>
</tr>
<tr>
<th>Assignee</th>
<td>pulseaudio-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>sink-input.c: Assertion 'tchunk.length > 0' failed at pulsecore/sink-input.c
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>pulseaudio-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>thiago.sousa.santos@collabora.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>alsa
</td>
</tr>
<tr>
<th>Product</th>
<td>PulseAudio
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=92072" name="attach_92072" title="log of the issue">attachment 92072</a> <a href="attachment.cgi?id=92072&action=edit" title="log of the issue">[details]</a></span>
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@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@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@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@entry=0x77a680,
slength=<optimized out>, chunk=chunk@entry=0x7fffecfdc6e0,
volume=volume@entry=0x7fffecfdc6f8) at pulsecore/sink-input.c:853
#3 0x00007ffff7b8cefb in fill_mix_info (s=s@entry=0x6ab050,
length=length@entry=0x7fffecfdc628, info=info@entry=0x7fffecfdc6e0, maxinfo=32)
at pulsecore/sink.c:1015
#4 0x00007ffff7b8ef85 in pa_sink_render_into (s=s@entry=0x6ab050,
target=target@entry=0x7fffecfded40) at pulsecore/sink.c:1254
#5 0x00007ffff7b8f4b7 in pa_sink_render_into_full (s=0x6ab050,
target=target@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@entry=0x773d30, state=state@entry=0x7fffffffda88,
key=key@entry=0x7fffffffda80) at pulsecore/hashmap.c:210
#1 0x00007ffff78f283b in pa_proplist_equal (a=0x773d30, b=b@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@entry=0x61ba60) at pulse/mainloop.c:895
#6 0x00007ffff76b507a in pa_mainloop_iterate (m=m@entry=0x61ba60,
block=block@entry=1, retval=retval@entry=0x7fffffffdd88) at
pulse/mainloop.c:935
#7 0x00007ffff76b5120 in pa_mainloop_run (m=m@entry=0x61ba60,
retval=retval@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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>