[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] reusing a session after an error from xend



Attached is the case that causes a segmentation error on my machine.
Output is below. 
The first test case does not trigger it. I guess it's due to the amount
of data returned via the xen_api_error. So this part is deactivated. The
2nd one does trigger it.

Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>

   Stefan


[...]

Resident on e7f0d565-5d19-1c01-4ed9-0d9641cb13e0.
Running.
1 -> 0.028177.
0 -> 0.023398.
3 -> 0.001490.
2 -> 0.009842.
Created a new HVM VM, with UUID 24df8bba-1b48-75f2-6999-dd169684fc17,
VDI
UUID 5be6d3d8-adaf-4ec5-9a54-89f225aad657, VBD UUID
1de0235b-f9d7-6f20-c968-f20d5509abb9, and VNC console UUID
29227209-4deb-fc60-b170-12ad9380400f.
----> Calling VM.set_HVM_boot_policy
---> VM.sey_hvm_boot_policy failed.
Error: 4VALUE_NOT_SUPPORTED VM.HVM_boot_policy xyz Xend supports only
the
"BIOS order" boot policy.
VM 24df8bba-1b48-75f2-6999-dd169684fc17 power state is Halted.
*** glibc detected ***
/root/xen-unstable.hg/tools/libxen/test/test_bindings: free(): invalid
next size (fast): 0x08057fa8 ***
======= Backtrace: =========
/lib/libc.so.6[0x4c494a68]
/lib/libc.so.6(__libc_free+0x78)[0x4c497f6f]
/usr/lib/libxenapi.so.0.1(xen_session_logout+0x79)[0xb7f574e9]
/root/xen-unstable.hg/tools/libxen/test/test_bindings[0x8049af8]
/lib/libc.so.6(__libc_start_main+0xdc)[0x4c4464e4]
/root/xen-unstable.hg/tools/libxen/test/test_bindings[0x8049131]
======= Memory map: ========
08048000-0804b000 r-xp 00000000 fd:00 1054486
/root/xen-unstable.hg/tools/libxen/test/test_bindings
0804b000-0804c000 rw-p 00002000 fd:00 1054486
/root/xen-unstable.hg/tools/libxen/test/test_bindings
0804c000-0806d000 rw-p 0804c000 00:00 0          [heap]
45a7b000-45a93000 r-xp 00000000 fd:00 8951286
/usr/lib/libgssapi_krb5.so.2.2
45a93000-45a94000 rw-p 00017000 fd:00 8951286
/usr/lib/libgssapi_krb5.so.2.2
45a96000-45a99000 r-xp 00000000 fd:00 8951258
/usr/lib/libkrb5support.so.0.0
45a99000-45a9a000 rw-p 00002000 fd:00 8951258
/usr/lib/libkrb5support.so.0.0
45a9c000-45ac0000 r-xp 00000000 fd:00
8951261    /usr/lib/libk5crypto.so.3.0
45ac0000-45ac1000 rw-p 00024000 fd:00
8951261    /usr/lib/libk5crypto.so.3.0
45ac3000-45b36000 r-xp 00000000 fd:00 8951282    /usr/lib/libkrb5.so.3.2
45b36000-45b38000 rw-p 00073000 fd:00 8951282    /usr/lib/libkrb5.so.3.2
45b3a000-45b7b000 r-xp 00000000 fd:00 10092576   /lib/libssl.so.0.9.8a
[...]
b7f6c000-b7f6e000 rw-p b7f6c000 00:00 0
b7f87000-b7f89000 rw-p b7f87000 00:00 0
b7f89000-b7f8a000 r-xp b7f89000 00:00 0          [vdso]
bfaae000-bfac3000 rw-p bfaae000 00:00 0          [stack]

Program received signal SIGABRT, Aborted.
0xb7f89402 in __kernel_vsyscall ()
(gdb)


Attachment: segfault_test.diff
Description: Text Data

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.