https://bugs.freedesktop.org/show_bug.cgi?id=90108
Pierre Ossman <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW --- Comment #9 from Pierre Ossman <[email protected]> --- I think I'm hitting this, and I've found out why. What happens is this: 1. module-always-sink is loaded 2. it pulls in module-sink 3. pulseaudio is shut down 4. pa_module_unload_all() is called 5. module-always-sink is unloaded 6. it requests an unload of the module-sink it loaded 7. pa_module_unload_all() proceeds to unload module-sink 8. pa_core_free() is called 9. an assert is triggered as the request in 6. was never handled A quick fix is to clear out core->modules_pending_unload in pa_module_free() as well. A note is that module-always-sink tries to check if the core is shutting down. However, checking for PA_CORE_SHUTDOWN seems highly suspect as that state is entered at a point where are cleanup is already done and the core object is about to be freed. In other words, if it is safe to dereference core->state, then state cannot be PA_CORE_SHUTDOWN. So all of commit 967c17a1 could be pointless. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________ pulseaudio-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs
