<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 - Unable to connect Bluetooth headphones after switching audio profile."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107228">107228</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Unable to connect Bluetooth headphones after switching audio profile.
          </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>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>yousef.su.2000@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>Bluetooth headphones were working since long ago. A few days ago I wanted to
have a voice call so I tried to switch audio profile from 'High Fidelity
Playback (A2DP sink)' to 'Headset Head Unit (HSF/HSP)', PulseAudio crashed and
since then I can no longer get Bluetooth headphones to work.

Debugging stuff:
-----------------

 - Bluetooth headphones pair fine and all, but the sink is not shown in the
'Output Devices' tab in pavucontrol, and the 'Configuration' tab shows the
device as 'Profile: Off'

 - If I attempt to change profile via pavucontrol or via blueman, PulseAudio
stalls for a minute and then dumps core.

 - I find this in my journal: pulseaudio[26009]: Assertion '!u->thread' failed
at modules/bluetooth/module-bluez5-device.c:1731, function start_thread().
Aborting.

 - It's interesting that PulseAudio since then has been saying this when
running it: N: [pulseaudio] main.c: User-configured server at
{2956b849822048eabdf5bd169ef03d78}unix:/run/user/1000/pulse/native, which
appears to be local. Probing deeper.


Things I tried:
----------------

 - Rebooting
 - Removing device then pairing again
 - Check for any bluetooth-related or pulseaudio-related updates
 - Checked permissions on /run/user/1000/pulse/native</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>