<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 - [abrt] Crash when switching profiles (headset -> speakers)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103528">103528</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[abrt] Crash when switching profiles (headset -> speakers)
          </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>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>daemon
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>rocketraman@gmail.com
          </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>(Filing a new bug as requested by @Tanu Kaskinen @
<a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [abrt] pulseaudio: pa_sink_input_set_requested_latency_within_thread(): pulseaudio killed by SIGSEGV"
   href="show_bug.cgi?id=93443#c28">https://bugs.freedesktop.org/show_bug.cgi?id=93443#c28</a>).

PA 11.1 on Fedora 26 (pulseaudio-11.1-2.fc26.src.rpm)

I can reproduce a crash reliably by restarting Chrome (Stable 62, 64-bit),
playing a YouTube video, and then switching profiles from headset to speakers.
The command that causes the crash is:

pactl set-card-profile alsa_card.pci-0000_00_1b.0
output:analog-surround-40+input:analog-stereo

This causes the crash.

At this point Chrome continues to output audio correctly, but loses access to
the mic. Subsequent switches between headset and speakers work fine, but
Chrome's access to the mic remains broken.

Once Chrome is restarted mic access is restored, but the crash can easily be
reproduced again.

Another interesting thing is that a switch in the opposite direction -- from
speakers to headset -- does not cause a crash.

I will attach the output of `pactl list` just before the set-card-profile
command, as well as the abrt data which contains the back-trace.</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>