[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH for-2.7 0/2] Fix spice audio crash regression
From: |
marcandre . lureau |
Subject: |
[Qemu-devel] [PATCH for-2.7 0/2] Fix spice audio crash regression |
Date: |
Mon, 1 Aug 2016 15:23:41 +0400 |
From: Marc-André Lureau <address@hidden>
Hi,
The monitor is being used atexit, during spice audio clean up, and
this leads to a crash since the chardev are now being cleaned up at
the end of main, before atexit handlers.
Fix the crash by cleaning up the monitor when leaving, and restore the
original event behaviour when leaving by cleaning up audio before
that.
Fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=1355704
Marc-André Lureau (2):
monitor: fix crash when leaving qemu with spice audio
audio: clean up before monitor clean up
monitor.c | 20 ++++++++++++++++++++
audio/audio.c | 26 ++++++++++++++++++--------
audio/audio.h | 3 +++
audio/coreaudio.c | 12 ++----------
include/monitor/monitor.h | 1 +
vl.c | 2 ++
6 files changed, 46 insertions(+), 18 deletions(-)
--
2.9.0
- [Qemu-devel] [PATCH for-2.7 0/2] Fix spice audio crash regression,
marcandre . lureau <=