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

Re: [Xen-devel] Fwd: Fwd: LibXL



On Tue, 2015-09-22 at 17:19 +0530, kumara rathnavel wrote:
> Hello Ian,
> 
> As requested I have attached the gdb output of the code. 

You need to build with debugging symbols included, or to avoid stripping
them, otherwise the stack trace just contains interpretable.

If you are unfamiliar with debugging of C code then may I suggest that you
try and find someone local to help/mentor you through the basics.

Ian.


> 
> On 22 September 2015 at 15:21, Ian Campbell <ian.campbell@xxxxxxxxxx>
> wrote:
> > On Tue, 2015-09-22 at 14:50 +0530, kumara rathnavel wrote:
> > 
> > > > I have attached my code. I have also attached the system call
> > traces file
> > > > which was generated by the command truss for the command that was
> > > > successful through XL and the other one that failed where I used
> > the call
> > > > directly.
> > 
> > I'm afraid that truss is of very little use for debugging these sorts
> > of
> > issues.
> > 
> > What you need is to run the program under a debugger (such as gdb) and
> > to
> > get a stack trace from the point of the segfault.
> > 
> > Ian.
> > 
> > 
> > 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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