[pulseaudio-tickets] [Bug 106581] New: pa_assert_se should not be used with system calls

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat May 19 16:54:34 UTC 2018


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

            Bug ID: 106581
           Summary: pa_assert_se should not be used with system calls
           Product: PulseAudio
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: clients
          Assignee: pulseaudio-bugs at lists.freedesktop.org
          Reporter: giecrilj at stegny.2a.pl
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net

I got the following abortion from libpulse0:

Assertion 'pthread_mutex_unlock(&m->mutex) == 0' failed at
pulsecore/mutex-posix.c:108, function pa_mutex_unlock(). Aborting.

pthread_mutex_unlock is a system call.
System calls can fail for various reasons and it should never be asserted that
they succeed.
Libraries should not abort their client.

Please handle the error somehow.

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


More information about the pulseaudio-bugs mailing list