Re: Valgrind - exact leak location.

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

 



Please don't top-post.

 > --- Andrew Haley <aph@xxxxxxxxxx> wrote:
 > 
 > > Srivatsan Ramanujam writes:
 > >  > Hi Neil,
 > >  > 
 > >  > Thanks for your inputs.
 > >  > Well by "exact location of error" I meant the
 > > line
 > >  > number in my program file where the error
 > > occured.
 > >  > 
 > >  > As you can see
 > >  > 
 > >  > "ABCParser::parseString()(stl_vector.h:501)"
 > >  > 
 > >  > it says the error occured inside the function
 > >  > parseString() but it doesn't indicate which line
 > >  > number inside this function.
 > > 
 > > Line 501.

Srivatsan Ramanujam writes:
 > sin't line 501 inside stl_vector.h?
 > That simply indicates the overloading of [] operator
 > for a vector.
 > 
 > line number 501 inside my program merely sets a value
 > for an INTEGER variable.

Well, that is the best that is known to the compiler.  It might be
correct; in any case it's all the information we have.

It might be worth rebuilding without optimization to get a more
accurate idea of what's going on.

Andrew.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux