Hi, Are you allocating dynamic arrays/objects in your SomeClass. The symptom you describe is typical of a non initialized pointer in SomeClass or a pointer deleted and not set to 0. I need your SomeClass.h,.cxx to give more details. Rene Brun On Tue, 3 Jun 2003, Artur Szostak wrote: > Is it mandatory to call Clear after one is done using a TClonesArray. I would > have expected the destructor to clean up the array by itself anyway. Note I > am using the object in the following way: > > { > TClonesArray array("SomeClass", 100); > // do stuff with the array... > array.Clear(); // <= Surely the destructor does this. > } > > If I do not explicitly call Clear() I get a SEGV. Does this mean I am using > TClonesArray incorrectly? > >
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET