All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH for-2.7 0/2] Fix spice audio crash regression
@ 2016-08-01 11:23 marcandre.lureau
  2016-08-01 11:23 ` [Qemu-devel] [PATCH for-2.7 1/2] monitor: fix crash when leaving qemu with spice audio marcandre.lureau
  2016-08-01 11:23 ` [Qemu-devel] [PATCH for-2.7 2/2] audio: clean up before monitor clean up marcandre.lureau
  0 siblings, 2 replies; 10+ messages in thread
From: marcandre.lureau @ 2016-08-01 11:23 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, Marc-André Lureau

From: Marc-André Lureau <marcandre.lureau@redhat.com>

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-08-08 12:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-01 11:23 [Qemu-devel] [PATCH for-2.7 0/2] Fix spice audio crash regression marcandre.lureau
2016-08-01 11:23 ` [Qemu-devel] [PATCH for-2.7 1/2] monitor: fix crash when leaving qemu with spice audio marcandre.lureau
2016-08-08  9:59   ` Paolo Bonzini
2016-08-08 12:11   ` Markus Armbruster
2016-08-01 11:23 ` [Qemu-devel] [PATCH for-2.7 2/2] audio: clean up before monitor clean up marcandre.lureau
2016-08-01 11:32   ` Paolo Bonzini
2016-08-08  9:45     ` Markus Armbruster
2016-08-08 10:00       ` Paolo Bonzini
2016-08-08 11:40       ` Gerd Hoffmann
2016-08-01 11:35   ` Marc-André Lureau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.