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

            Bug ID: 369074
           Summary: PA error handling is not graceful, infinite
                    crash-restart loop.
           Product: plasma-pa
           Version: 5.7.3
          Platform: Fedora RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: now...@gmail.com
          Reporter: kdde....@porcupinefactory.org
                CC: plasma-b...@kde.org

Graceful handling of PulseAudio problems doesn't always kick in, but instead
the applet crashes, taking the whole plasma shell into an infinite
crash-restart loop.

The bug doesn't occur immediately when PulseAudio encounters, but when the
applet is initialized (plasma restart or applet added).

This particular instance comes from a misconfigured Docker container.

Reproducible: Always

Steps to Reproduce:
1. Create Docker container with `--privileged -v /dev/dri:/dev/dri:rw -v
/dev/shm:/dev/shm:rw -v /run/user/1000/pulse:/run/user/1000/pulse:rw`
2. Enable network access to PA via paprefs
3. Run inside Docker `PULSE_SERVER=$HOST paplay $SOUND.wav`
4. Restart plasma `kbuildsycoca5 && kquitapp5 plasmashell && kstart5
plasmashell`

Actual Results:  
PA goes into a broken state, Plasma shell crashes while starting, Plasma shell
is restarted, Plasma shell crashes while starting, etc.

Expected Results:  
PA goes into a broken state, PA applet doesn't work, Plasma works.

Workaround: when Plasma gets into the crash loop, issue `pulseaudio -k`. If
that is not enough, then manually restart it again.

Similar to bug 353177

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

Reply via email to