[Clam-devel] CLAM::Network::StoreOn(Storage &). What am I missing?

Natanael Olaiz nolaiz at gmail.com
Fri May 30 03:24:49 PDT 2008


El 05/30/2008 06:56 AM, Pau Arumí Albó escribió:
> 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.
>
>   
Here it is.

>> 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
>
>
>
> _______________________________________________
> Clam-devel mailing list
> Clam-devel at llistes.projectes.lafarga.org
> https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel
>
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: NetworkStoreOn.patch
Type: text/x-patch
Size: 1101 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080530/318d5f0f/attachment-0004.bin>


More information about the clam-devel mailing list