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

Harald Sitter <sit...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Product|Phonon                      |plasmashell
           Assignee|unassigned-b...@kde.org     |k...@davidedmundson.co.uk
            Version|4.11.1                      |master
          Component|general                     |general
                 CC|                            |plasma-b...@kde.org
   Target Milestone|---                         |1.0

--- Comment #1 from Harald Sitter <sit...@kde.org> ---
I rather think there's a data race in plasma_session. Specifically it creates a
thread to run phonon but then never cleanly quits and/or synchronize that
thread, leading to the crash you see where the global static cleanup on the
initial thread wants to clean up all dangling phonon objects but that other
thread has the objects in an unclear state.

plasma_session needs to either:
- synchronize the thread at some point
- initialize and delete the phonon objects on the initial thread (though I
guess that will trigger the PA waiting that the thread is trying to avoid)
- use canberra instead of phonon (though I'm not sure that helps with the PA
waiting either)
- move the notification into a separate process

Moving bug to plasma.

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

Reply via email to