[pulseaudio-tickets] [Bug 77595] New: memblockq: Assertion 'length % bq->base == 0' failed, pulseaudio aborts

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 17 14:52:05 PDT 2014


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

          Priority: medium
            Bug ID: 77595
                CC: lennart at poettering.net
          Assignee: pulseaudio-bugs at lists.freedesktop.org
           Summary: memblockq: Assertion 'length % bq->base == 0' failed,
                    pulseaudio aborts
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: fsateler at gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: unspecified
         Component: daemon
           Product: PulseAudio

Created attachment 97540
  --> https://bugs.freedesktop.org/attachment.cgi?id=97540&action=edit
A test program causing the daemon to abort

Forwarded from the debian bug tracker:

> I found that pa_stream_write with an offset that's not a multiple of
> the base sample size causes pulseaudio to assert and abort.  This is
> not the case for the nbytes parameter of how many bytes to write, that
> is allowed to not be a multiple of the sample size, but the seek
> offset parameter must be a multiple of the sample size or it asserts.

And he provided a test program

> I modified a test (attached) to
> demonstrate it is still a problem.  There might be a shorter setup
> sequence, but it comes down to giving SEEK as something other than a
> multiple of the sample size.
> pa_stream_write(p, buffer, nbytes, NULL, SEEK, PA_SEEK_RELATIVE);


David tested against pa 2.0, but I can reproduce the problem with 5.0 as well.

Please find attached the test program that causes the daemon to abort.

-- 
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/20140417/1a908186/attachment.html>


More information about the pulseaudio-bugs mailing list