[plasmashell] [Bug 435008] Call to pure virtual MediaObjectPrivate::aboutToDeleteBackendObject() [crash]
Harald Sitter
bugzilla_noreply at kde.org
Mon Mar 29 07:14:09 BST 2021
https://bugs.kde.org/show_bug.cgi?id=435008
Harald Sitter <sitter at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Product|Phonon |plasmashell
Assignee|unassigned-bugs at kde.org |kde at davidedmundson.co.uk
Version|4.11.1 |master
Component|general |general
CC| |plasma-bugs at kde.org
Target Milestone|--- |1.0
--- Comment #1 from Harald Sitter <sitter at 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 the assignee for the bug.
More information about the Unassigned-bugs
mailing list