Bug 106138

Summary: Pressing Print Screen in keyboard makes Rhythmbox go to sleep
Product: PulseAudio Reporter: Amr Ibrahim <amribrahim1987>
Component: miscAssignee: pulseaudio-bugs
Status: RESOLVED MOVED QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: lennart
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: daemon.conf

Description Amr Ibrahim 2018-04-19 16:47:26 UTC
Created attachment 138931 [details]
daemon.conf

Steps:
1. Start Rhythmbox and play music
2. Press Print Screen in keyboard
3. Music stops and cannot be played again in Rhythmbox
4. If the music does not stop from the first time try step 2 again and again until it stops

I can navigate the UI of Rhythmbox, but I cannot play music. I have to kill the sleeping process in order to play music from Rhythmbox again.

I can reproduce this bug in Totem and Clementine too. They present this error:
pa_stream_writable_size() failed: Connection terminated

I have attached my daemon.conf file.
Comment 1 Tanu Kaskinen 2018-04-26 11:26:39 UTC
I can't reproduce this... Can you provide the pulseaudio server log? Instructions:

1. Disable automatic starting of PulseAudio. If your distro uses
systemd's socket activation to start PulseAudio, run

    systemctl --user --now mask pulseaudio.service pulseaudio.socket

If your distro doesn't do that, put "autospawn = no" to
~/.config/pulse/client.conf.

2. Stop pulseaudio with "killall pulseaudio" (the previous systemctl
command might have stopped it already, though).

3. Start pulseaudio in a terminal with verbose logging:

    pulseaudio -vv

4. Once the initial burst of logging has stopped, hit enter a few times
to add some empty lines in the log. The empty lines mark the beginning
of the interesting part.

5. Start playing music with Rhythmbox, and try to reproduce the problem.

6. Once the music stops, hit enter again a few times in the terminal window where pulseaudio is running, to make it easy to find the place where something went wrong. (The "Connection terminated" error suggests that PulseAudio might have crashed, though. In that case adding this step can be skipped.)

7. Stop pulseaudio with Ctrl-C.

8. Copy the full log from the terminal and attach it to this bug.

9. To return things back to normal, run

    systemctl --user unmask pulseaudio.service pulseaudio.socket

if you masked the service before. And remove the "autospawn = no" line
from client.conf if you added it there.
Comment 2 GitLab Migration User 2018-07-30 09:33:17 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/8.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.