...which *seems* to be at the same row that causes this crash, however in my case it doesn't crash, it continues to work once pulseaudio is up again. Anyway this error is caused by GsdMediaKeysManager contains a reference to manager->priv->stream, which no longer exists since it (and its pa_context) is destroyed in GvcMixerControl's idle_reconnect function.
Hmm, so if I do the following:
echo "autospawn=no" > ~/.pulse/ client. conf
pulseaudio -k
...and then press volume media keys, I get this error i .xsession-errors:
** (gnome- settings- daemon: 1476): WARNING **: pa_context_ set_sink_ volume_ by_index( ) failed: Felaktigt tillstånd
...which *seems* to be at the same row that causes this crash, however in my case it doesn't crash, it continues to work once pulseaudio is up again. Anyway this error is caused by GsdMediaKeysManager contains a reference to manager- >priv-> stream, which no longer exists since it (and its pa_context) is destroyed in GvcMixerControl's idle_reconnect function.