[pulseaudio-discuss] [PATCH 0/3] Fix a crash, and then another crash

Tanu Kaskinen tanuk at iki.fi
Wed Oct 12 14:20:38 UTC 2016


The first patch fixes bug 97906, but the fix exposed another bug in
module-suspend-on-idle, which is fixed by the second patch. The third
patch improves sink-input and source-output code so that the same kind
of bug as in module-suspend-on-idle can't happen again.

Tanu Kaskinen (3):
  bluetooth-policy: do A2DP profile restoring a bit later
  suspend-on-idle: use earlier (safer) hooks for stream unlink
    notifications
  sink-input, source-output: set sink/source to NULL before the "unlink
    post" hook

 src/modules/bluetooth/module-bluetooth-policy.c |  6 ++---
 src/modules/module-suspend-on-idle.c            | 34 ++++++++++++-------------
 src/pulsecore/sink-input.c                      | 10 ++++----
 src/pulsecore/sink.c                            |  7 +++--
 src/pulsecore/sink.h                            |  9 ++++++-
 src/pulsecore/source-output.c                   | 10 ++++----
 src/pulsecore/source.c                          |  5 +++-
 src/pulsecore/source.h                          |  6 ++++-
 8 files changed, 52 insertions(+), 35 deletions(-)

-- 
2.9.3



More information about the pulseaudio-discuss mailing list