https://bugs.kde.org/show_bug.cgi?id=374724

            Bug ID: 374724
           Summary: kTorrent sometimes conflicts with pulseaudio (no sound
                    until I quit ktorrent)
           Product: ktorrent
           Version: 5.0
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: joris.guis...@gmail.com
          Reporter: lev...@mail.ru
  Target Milestone: ---

Sometimes, when kTorrent finishes a download, I notice that sound is not
working in my browser. When I try playing a youtube video, I see this in the
journalctl logs:

pulseaudio[676]: E: [alsa-sink-ALC887-VD Analog] alsa-sink.c: Error opening PCM
device front:0: Device or resource busy

After looking around in the Arch forums, I tried this:

$ fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  lev         993 F.... ktorrent
/dev/snd/controlC1:  lev        8757 F.... pulseaudio
/dev/snd/pcmC0D0p:   lev         993 F...m ktorrent
/dev/snd/timer:      lev         993 f.... ktorrent

So then I quit ktorrent, and the sound started working, after which fuser
yields:

$ fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  lev        8757 F.... pulseaudio
/dev/snd/controlC1:  lev        8757 F.... pulseaudio
/dev/snd/pcmC0D0p:   lev        8757 F...m pulseaudio

This does not happen every time ktorrent finishes a download, but it has
happened more than once.

I have ktorrent 5.0.1 from official Arch package (5.0.1-2). Pulseaudio package
version is 9.0-1.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to