WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

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

To: xen-api@xxxxxxxxxxxxxxxxxxx, Ewan Mellor <ewan@xxxxxxxxxxxxx>
Subject: [Xen-API] reusing a session after an error from xend
From: Stefan Berger <stefanb@xxxxxxxxxx>
Date: Thu, 08 Feb 2007 14:52:53 -0500
Delivery-date: Thu, 08 Feb 2007 11:49:22 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] reusing a session after an error from xend, Stefan Berger <=