xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Alex Bligh <alex@alex.org.uk>
To: Xen Devel <xen-devel@lists.xen.org>
Cc: Alex Bligh <alex@alex.org.uk>
Subject: Re: Xen 4.2.1 live migration with qemu device model
Date: Tue, 11 Dec 2012 12:05:33 +0000	[thread overview]
Message-ID: <C76A4AA2522F56F728DDCA4A@nimrod.local> (raw)
In-Reply-To: <22A70860509BC87BE892A601@nimrod.local>

This particular segv seems to be because in
  libxl__domain_suspend_common_switch_qemu_logdirty
in libxl_dom.c the variables 'got', and 'got_ret' do not appear to be initialised
to NULL (got certainly should be, got_ret should be if there is any possibility
of libxl__xs_read_checked not writing to got_ret which it doesn't seem to be).
Code inspection suggests this issue is still there in 4.2.1, hence my wondering
whether other stuff needs bringing in from unstable.


--On 11 December 2012 11:45:42 +0000 Alex Bligh <alex@alex.org.uk> wrote:

> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7fffeffff700 (LWP 5995)]
> 0x00007ffff5a0862a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
> (gdb) bt
># 0  0x00007ffff5a0862a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
># 1  0x00007ffff6d4e970 in libxl__domain_suspend_common_switch_qemu_logdirty (domid=<optimized out>, enable=<optimized out>, user=0x7ffff00024e8) at libxl_dom.c:728
># 2  0x00007ffff6d5c1ae in libxl__srm_callout_received_save (msg=0x7fffefffe41a " error", len=<optimized out>, user=0x7ffff00024e8) at _libxl_save_msgs_callout.c:162
># 3  0x00007ffff6d5b736 in helper_stdout_readable (egc=0x7fffefffe5a0, ev=0x7ffff0002560, fd=38, events=<optimized out>, revents=<optimized out>) at libxl_save_callout.c:283
># 4  0x00007ffff6d601f1 in afterpoll_internal (egc=0x7fffefffe5a0, poller=0x7ffff00028c0, nfds=4, fds=0x7ffff00048b0, now=...) at libxl_event.c:948
># 5  0x00007ffff6d604db in eventloop_iteration (egc=0x7fffefffe5a0, poller=0x7ffff00028c0) at libxl_event.c:1368
># 6  0x00007ffff6d616b3 in libxl__ao_inprogress (ao=0x7ffff0001d40, file=<optimized out>, line=<optimized out>, func=<optimized out>) at libxl_event.c:1614
># 7  0x00007ffff6d3ab75 in libxl_domain_suspend (ctx=<optimized out>, domid=1, fd=10, flags=<optimized out>, ao_how=<optimized out>) at libxl.c:796
># 8  0x000000000043677e in migrate_domain_send (ctx=0x7ffff0008860, domid=1, fd=10) at hypervisor/xen_libxl.c:587
># 9  0x000000000043698a in live_migrate_send (hyperconn=0x7ffff0001c70, server=0x7ffff0001cb0, node_ip=0x7ffff00041e0 "10.157.128.20", fd=10) at hypervisor/xen_libxl.c:647
># 10 0x0000000000422a70 in migrate_server_action (request=0x7ffff0002980) at action/node_action.c:1287
># 11 0x00000000004240c1 in runAction (socket_fd=8) at action/handleaction.c:138
># 12 0x00000000004179bd in runcomm (socket=0x8) at xvpagent.c:253
># 13 0x0000000000427502 in trackedthread_run (arg=0x66df20) at util/util.c:179
># 14 0x00007ffff5c9ce9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
># 15 0x00007ffff59ca4bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
># 16 0x0000000000000000 in ?? ()



-- 
Alex Bligh

  reply	other threads:[~2012-12-11 12:05 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-11 11:45 Xen 4.2.1 live migration with qemu device model Alex Bligh
2012-12-11 12:05 ` Alex Bligh [this message]
2012-12-11 14:12   ` Ian Campbell
2012-12-12 16:45     ` Ian Jackson
2012-12-13 11:46       ` Ian Campbell
2012-12-11 14:09 ` Ian Campbell
2012-12-11 15:07   ` Alex Bligh
2012-12-11 15:11     ` Ian Campbell
2012-12-11 15:26       ` Stefano Stabellini
2012-12-11 19:14         ` Alex Bligh
2012-12-11 19:24           ` Stefano Stabellini
2012-12-11 19:51             ` Alex Bligh
2012-12-12 13:04               ` QEMU qcow2 snapshotting (was Xen 4.2.1 live migration with qemu device model) Stefano Stabellini
2012-12-12 15:22                 ` Alex Bligh
2012-12-13 10:56       ` [RFC] Enabling live-migrate on HVM on qemu-xen device model Alex Bligh
2012-12-13 10:56         ` [PATCH 01/10] libxl_json: Export json_object related function Alex Bligh
2012-12-13 10:57         ` [PATCH 02/10] libxl_json: Remove JSON_ERROR from enum Alex Bligh
2012-12-13 10:57         ` [PATCH 03/10] libxl_json: Replace JSON_TRUE/FALSE by JSON_BOOL Alex Bligh
2012-12-13 10:57         ` [PATCH 04/10] libxl_json: Introduce libxl__json_object_to_yajl_gen Alex Bligh
2012-12-13 10:57         ` [PATCH 05/10] libxl_qmp: Introduces helpers to create an argument list Alex Bligh
2012-12-13 10:57         ` [PATCH 06/10] libxl_qmp: Use qmp_parameters_* functions for param list of a QMP command Alex Bligh
2012-12-13 10:57         ` [PATCH 07/10] libxl_qmp: Simplify run of single QMP commands Alex Bligh
2012-12-13 10:57         ` [PATCH 08/10] libxl_qmp: Introduce libxl__qmp_set_global_dirty_log Alex Bligh
2012-12-13 10:57         ` [PATCH 09/10] libxl_dom: Call the right switch logdirty for the right DM Alex Bligh
2012-12-13 10:57         ` [PATCH 10/10] libxl: Allow migration with qemu-xen Alex Bligh
2012-12-13 11:03         ` [RFC] Enabling live-migrate on HVM on qemu-xen device model Alex Bligh
2012-12-13 11:38         ` Ian Campbell
2012-12-13 15:06           ` Alex Bligh
2012-12-13 15:09             ` Ian Jackson
2012-12-17 12:01             ` Ian Campbell
2012-12-17 17:02               ` Alex Bligh
2012-12-18 10:04                 ` Ian Campbell
2012-12-18 11:04                   ` George Dunlap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C76A4AA2522F56F728DDCA4A@nimrod.local \
    --to=alex@alex.org.uk \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).