<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Abort on startup: mutex-posix.c: Assertion 'r == 95 && inherit_priority' failed at pulsecore/mutex-posix.c:70, function pa_mutex_new()."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98174">98174</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Abort on startup:  mutex-posix.c: Assertion 'r == 95 && inherit_priority' failed at pulsecore/mutex-posix.c:70, function pa_mutex_new().
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>PulseAudio
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>critical
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>daemon
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>David.Ronis@McGill.CA
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>lennart@poettering.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I'm maintaining the old garnome build system for gnome on some i686 and X86_64
pc's running slackware.  I'm using gcc-6.2 (with -O2 -g).

When I run pulseaudio --help (or other options) I get:

mutex-posix.c: Assertion 'r == 95 && inherit_priority' failed at
pulsecore/mutex-posix.c:70, function pa_mutex_new().

This happens with version 0.8, 0.9 and the git/master.  I'm not sure that this
isn't a glib issue since I get similar problems with other components of gnome
3.22 (e.g., evince, metacity, xchat).

The backtrace gives:

Program terminated with signal SIGABRT, Aborted.
#0  0x00002b3169ba9979 in raise () from /lib64/libc.so.6

Thread 1 (Thread 0x2b3164933c00 (LWP 19761)):
#0  0x00002b3169ba9979 in raise () from /lib64/libc.so.6
No symbol table info available.
#1  0x00002b3169bab088 in abort () from /lib64/libc.so.6
No symbol table info available.
#2  0x00002b31653dff32 in pa_mutex_lock (m=m@entry=0x255bb70)
    at pulsecore/mutex-posix.c:90
        __func__ = "pa_mutex_lock"
        __PRETTY_FUNCTION__ = "pa_mutex_lock"
#3  0x00002b31653ca5fa in pa_once_begin (
    control=control@entry=0x2b316560cbb0 <_once.4859>) at pulsecore/once.c:44
        m = 0x255bb70
#4  0x00002b31653bc0d0 in pa_init_i18n () at pulsecore/i18n.c:30
        _once = {mutex = {ptr = {value = 39172976}}, done = {value = 0}}
#5  0x0000000000405b5c in main (argc=2, argv=0x7ffdaeb68da8)
    at daemon/main.c:473
        c = 0x0
        buf = 0x0
        conf = 0x0
        mainloop = 0x0
        s = <optimized out>
        r = 0
        retval = 1
        d = 0
        valid_pid_file = false
        ltdl_init = false
        n_fds = 0
        passed_fds = 0x25310b0
        e = <optimized out>
        daemon_pipe = {-1, -1}
        daemon_pipe2 = {-1, -1}
        autospawn_fd = -1
        autospawn_locked = false
        server_lookup = 0x0
        lookup_service_bus = 0x0
        server_bus = 0x0
        start_server = <optimized out>
        __func__ = "main"
        __PRETTY_FUNCTION__ = "main"</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>