[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] sheepdog: fix a core dump while do auto-reconne
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH] sheepdog: fix a core dump while do auto-reconnecting |
Date: |
Thu, 28 Aug 2014 20:16:22 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Thu, Aug 28, 2014 at 03:57:10PM +0800, Liu Yuan wrote:
> We should reinit Local_err as NULL inside the while loop or g_free() will
> report
> corrupption and abort the QEMU when sheepdog driver tries reconnecting.
>
> qemu-system-x86_64: failed to get the header, Resource temporarily unavailable
> qemu-system-x86_64: Failed to connect to socket: Connection refused
> qemu-system-x86_64: (null)
> [xcb] Unknown sequence number while awaiting reply
> [xcb] Most likely this is a multi-threaded client and XInitThreads has not
> been called
> [xcb] Aborting, sorry about that.
> qemu-system-x86_64: ../../src/xcb_io.c:298: poll_for_response: Assertion
> `!xcb_xlib_threads_sequence_lost' failed.
> Aborted (core dumped)
>
> Cc: address@hidden
> Cc: Markus Armbruster <address@hidden>
> Cc: Kevin Wolf <address@hidden>
> Cc: Stefan Hajnoczi <address@hidden>
> Signed-off-by: Liu Yuan <address@hidden>
> ---
> block/sheepdog.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block
Stefan
pgpN1vipWOL_1.pgp
Description: PGP signature