[pve-devel] pve-qemu-kvm : internal snasphot async port to qemu 1.7 v3

Stefan Priebe s.priebe at profihost.ag
Fri Nov 29 21:35:05 CET 2013


Am 29.11.2013 17:17, schrieb Dietmar Maurer:
>> Now I get a segfault on savevm...Don't known how to debug it, if someone can
>> have a look at it.
>
> I can take a look at it next week.

it crashes here:

find_next_bit
qemu-kvm/util/bitops.c:34

/*
  * Find the next set bit in a memory region.
  */
unsigned long find_next_bit(const unsigned long *addr, unsigned long size,
                             unsigned long offset)
{

...

     if (offset) {
crash here >>>>>        tmp = *(p++);


more details:

Program terminated with signal 11, Segmentation fault.
#0  0x00007f8e4accfc72 in find_next_bit (addr=0x0, size=83, offset=19) 
at util/bitops.c:34

(gdb) bt
#0  0x00007f8e4accfc72 in find_next_bit (addr=0x0, size=83, offset=19) 
at util/bitops.c:34
#1  0x00007f8e4ab9928a in migration_bitmap_find_and_reset_dirty 
(mr=0x7f8e4d660278, start=0)
     at qemu-kvm/arch_init.c:352
#2  0x00007f8e4ab9964f in ram_save_block (f=0x7f8e34356050, last_stage=true)
     at qemu-kvm/arch_init.c:465
#3  0x00007f8e4ab99fe1 in ram_save_complete (f=0x7f8e34356050, opaque=0x0)
     at qemu-kvm/arch_init.c:742
#4  0x00007f8e4ac37617 in qemu_savevm_state_complete (f=0x7f8e34356050)
     at qemu-kvm/savevm.c:1962
#5  0x00007f8e4ab45cbd in process_savevm_co (opaque=0x0) at 
savevm-async.c:201
#6  0x00007f8e4a99ef2b in coroutine_trampoline (i0=1312411168, i1=32654) 
at coroutine-ucontext.c:118
#7  0x00007f8e44d5f020 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x00007fff851758a0 in ?? ()
#9  0x0000000000000000 in ?? ()

Stefan



More information about the pve-devel mailing list