Pressing Print Screen in keyboard makes Rhythmbox go to sleep

Bug #1763940 reported by Amr Ibrahim
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PulseAudio
Unknown
Medium
pulseaudio (Ubuntu)
New
Undecided
Unassigned
rhythmbox (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/8

---

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.

I can reproduce this bug in Totem and Clementine too.

Clementine and Totem present this error:

pa_stream_writable_size() failed: Connection terminated

This bug affects Bionic too.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: pulseaudio 1:8.0-0ubuntu3.8
ProcVersionSignature: Ubuntu 4.4.0-119.143-generic 4.4.114
Uname: Linux 4.4.0-119-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.16
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: amr 9438 F.... pulseaudio
CurrentDesktop: Unity
Date: Sat Apr 14 14:42:55 2018
InstallationDate: Installed on 2017-06-21 (296 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
SourcePackage: pulseaudio
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/08/2011
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F2
dmi.board.name: GA-78LMT-S2P
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF2:bd04/08/2011:svnGigabyteTechnologyCo.,Ltd.:pnGA-78LMT-S2P:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-78LMT-S2P:rvr:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: GA-78LMT-S2P
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
modified.conffile..etc.pulse.daemon.conf: [modified]
modified.conffile..etc.xdg.autostart.pulseaudio.desktop: [modified]
mtime.conffile..etc.pulse.daemon.conf: 2017-07-04T15:49:08
mtime.conffile..etc.xdg.autostart.pulseaudio.desktop: 2017-06-22T13:08:09

Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :
Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :

I can reproduce this bug in Totem and Clementine too.

Clementine and Totem present this error:

pa_stream_writable_size() failed: Connection terminated

Revision history for this message
In , Amr Ibrahim (amribrahim1987) wrote :

Created attachment 138931
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.

Changed in pulseaudio:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
In , Tanu Kaskinen (tanuk) wrote :

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.

Revision history for this message
In , Gitlab-migration (gitlab-migration) wrote :

-- 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.

Changed in pulseaudio:
status: Confirmed → Unknown
Changed in rhythmbox (Ubuntu):
status: New → Invalid
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.