[C++-sig] Trying to clone (again)

Ralf W. Grosse-Kunstleve rwgk at yahoo.com
Wed Aug 3 19:10:21 CEST 2005


--- "Paul F. Kunz" <Paul_Kunz at slac.stanford.edu> wrote:

> >>>>> On Wed, 03 Aug 2005 11:01:41 -0400, David Abrahams
> <dave at boost-consulting.com> said:
> 
> 
> > I'm pretty sure that's an unrelated problem, and something you did
> > is corrupting memory somewhere.
> 
>    Thanks for the tip.   I found that a function object created not by
> clone method also has the same problem.   This used to work, so indeed I have
> some other problem.

Anytime I see a Segfault or Abort my standard response is to run valgrind. It
is an extremely simple and powerful way of pinpointing the problem.

http://www.valgrind.org/

Cheers,
        Ralf


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the Cplusplus-sig mailing list