[pulseaudio-tickets] [Bug 90108] Multiple pulseaudio crashes.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 2 02:11:55 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=90108

--- Comment #10 from Pierre Ossman <pierre-bugzilla at ossman.eu> ---
(In reply to Pierre Ossman from comment #9)
> 
> A quick fix is to clear out core->modules_pending_unload in pa_module_free()
> as well.
> 

Actually, it's probably better here where we destroy the defer event that's
supposed to do the unloading:

Index: src/pulsecore/module.c
===================================================================
--- src/pulsecore/module.c      (revision 30726)
+++ src/pulsecore/module.c      (working copy)
@@ -300,6 +300,7 @@
         c->mainloop->defer_free(c->module_defer_unload_event);
         c->module_defer_unload_event = NULL;
     }
+    pa_hashmap_remove_all(c->modules_pending_unload);
 }

 static void defer_cb(pa_mainloop_api*api, pa_defer_event *e, void *userdata) {

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20150902/dcc78740/attachment.html>


More information about the pulseaudio-bugs mailing list