[Clam-devel] CLAM::Network::StoreOn(Storage &). What am I missing?
Pau Arumí Albó
parumi at iua.upf.edu
Fri May 30 02:56:57 PDT 2008
El dv 30 de 05 de 2008 a les 06:34 -0300, en/na Natanael Olaiz va
escriure:
> I feel that I'm falling in some very stupid mistake... but I don't
> understand what am I doing wrong.
>
> When I try to do:
> CLAM::XmlStorage storage;
> _network->StoreOn(storage);
> (on NetworkCanvas -i.e., _network = used CLAM::Network *-)
> It gaves a segmentation fault.
>
> If I try with a new empty network:
> CLAM::XmlStorage storage;
> CLAM::Network newnetwork;
> const std::string strr="testing";
> storage.Create(strr);
> newnetwork.StoreOn(storage);
> is the same.
It is better to send a patch so I can exactly reproduce it here.
> Now I'm going to sleep. I think that later I would be able to solve
> that... but if someone knows what is my mistake, I'll appreciate some
> clues.
> I know David and Pau are busy right now, so you don't worry. I just
> ask because I think this could be a simple misconception.
Of course, don't be afraid to ask! Even if we are slow to answer. It is
important to avoid development blockings.
Pau
More information about the clam-devel
mailing list