<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 - pulseaudio killed with by SIGKILL"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102877">102877</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>pulseaudio killed with by SIGKILL
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>core
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>carlo@caione.org
          </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>Created <span class=""><a href="attachment.cgi?id=134338" name="attach_134338" title="pulsaudio log when killed with SIGKILL">attachment 134338</a> <a href="attachment.cgi?id=134338&action=edit" title="pulsaudio log when killed with SIGKILL">[details]</a></span>
pulsaudio log when killed with SIGKILL

Hardware is a Cherrytrail Z8350 with a RT5651 codec with a v4.13.1+ kernel.
Pulseaudio is 11.0-30-g2693.

The UCM file for the codec is taken from
<a href="https://github.com/plbossart/UCM/tree/master/bytcr-rt5651">https://github.com/plbossart/UCM/tree/master/bytcr-rt5651</a> and it is working
fine when testing directly with:

speaker-test -D hw:1,0 -c 2 -t wav

The problem is that pulsaudio is being killed by SIGKILL when starting. The
only way I can avoid it from being killed is to start it with:

pulseaudio --realtime=false

In attachment the log when it is being killed.

Strace-ing it is not an option since when trying with `strace -f` the problem
is not reproducible anymore. And a simple strace is not that useful:

open("/dev/snd/controlC1", O_RDWR|O_CLOEXEC) = 22 
fcntl(22, F_SETFD, FD_CLOEXEC)          = 0 
ioctl(22, SNDRV_CTL_IOCTL_PVERSION or USBDEVFS_CONTROL, 0x7ffe752db234) = 0
ioctl(22, SNDRV_CTL_IOCTL_PCM_PREFER_SUBDEVICE, 0x7ffe752db29c) = 0
open("/dev/snd/pcmC1D0p", O_RDWR|O_NONBLOCK|O_CLOEXEC <unfinished ...>
+++ killed by SIGKILL +++
Killed</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>