Re: [Xen-API] Debugging XAPI daemon crash

2014-04-02 Thread Rob Hoes
Thanks! I have merged your patch. Cheers, Rob > -Original Message- > From: Ranjeet R [mailto:rranj...@juniper.net] > Sent: 02 April 2014 4:14 AM > To: Rob Hoes; Dave Scott > Cc: xen-api@lists.xen.org > Subject: RE: [Xen-API] Debugging XAPI daemon crash > >

Re: [Xen-API] Debugging XAPI daemon crash

2014-04-01 Thread Ranjeet R
: [Xen-API] Debugging XAPI daemon crash Hi Ranjeet, That makes sense. I guess the same would apply to the ifa_netmask field. The following lines would blow up if it is NULL: netmask = tmp->ifa_netmask; [...] netmaskstr = alloc_addr(netmask); because alloc_a

Re: [Xen-API] Debugging XAPI daemon crash

2014-03-27 Thread Rob Hoes
ereference. > > It might look like defensive coding but can we ignore the interfaces for > which the ifa_addr is not set. I can open up a bug and fix it if there is > consenus that this needs to be fixed. > > Ranjeet > > > -Original Message- > From: Rob Hoes [mai

Re: [Xen-API] Debugging XAPI daemon crash

2014-03-26 Thread Ranjeet R
e- From: Rob Hoes [mailto:rob.h...@citrix.com] Sent: Wednesday, March 26, 2014 4:44 AM To: Ranjeet R; Dave Scott Cc: xen-api@lists.xen.org Subject: RE: [Xen-API] Debugging XAPI daemon crash Hi Ranjeet, > It seems to be crashing in the same point as you had mentioned. Please > find the

Re: [Xen-API] Debugging XAPI daemon crash

2014-03-26 Thread Rob Hoes
done? Cheers, Rob > Appreciate your help. > > -Ranjeet > > -Original Message- > From: David Scott [mailto:dave.sc...@eu.citrix.com] > Sent: Monday, March 24, 2014 3:46 AM > To: Ranjeet R > Cc: xen-api@lists.xen.org > Subject: Re: [Xen-API] Debugging XAPI daemo

Re: [Xen-API] Debugging XAPI daemon crash

2014-03-25 Thread Ranjeet R
seems to be working fine. How should I verify the binding. Appreciate your help. -Ranjeet -Original Message- From: David Scott [mailto:dave.sc...@eu.citrix.com] Sent: Monday, March 24, 2014 3:46 AM To: Ranjeet R Cc: xen-api@lists.xen.org Subject: Re: [Xen-API] Debugging XAPI daemon crash

Re: [Xen-API] Debugging XAPI daemon crash

2014-03-24 Thread David Scott
command-line. Dave Thanks for your help, -Ranjeet -Original Message- From: Dave Scott [mailto:dave.sc...@citrix.com] Sent: Saturday, March 22, 2014 12:36 PM To: Ranjeet R Cc: xen-api@lists.xen.org Subject: Re: [Xen-API] Debugging XAPI daemon crash Hi, I suspect the segfault is be

Re: [Xen-API] Debugging XAPI daemon crash

2014-03-24 Thread Ranjeet R
n-API] Debugging XAPI daemon crash Hi, I suspect the segfault is being caused by a bad C function binding. I've seen a similar crash before when querying an interface IP via getifaddrs (I think that was the function name) Could you run xapi in gdb and reproduce the crash? Printing the call stack

Re: [Xen-API] Debugging XAPI daemon crash

2014-03-22 Thread Dave Scott
Hi, I suspect the segfault is being caused by a bad C function binding. I've seen a similar crash before when querying an interface IP via getifaddrs (I think that was the function name) Could you run xapi in gdb and reproduce the crash? Printing the call stack would help to confirm this hypoth

[Xen-API] Debugging XAPI daemon crash

2014-03-21 Thread Ranjeet R
Hello all I am trying to bring a DevCloud setup which has an XCP Kronos based XAPI daemon. I had changed the underlying network implementation (it is not a bridge, but an openvswitch-like network implementation) and the XAPI daemon crashes during bootup. Please find the XAPI logs below. star