Hi, I'm trying to read an object from file, its class is unknown to Root. gROOT->FindObject("name") gets a segfault in TKey::ReadObj because of invalid pointer tobj (line 504). It points to a nonallocated memory as for my class the base class offset evaluates to -1. Are the comments in the file valid i.e. it is unsupported and I need to inherit the base class from TObject to be able to read it? My class inherits from TNamed only. Maybe a warning could be printed in TKey::ReadObj and the rest of the code protected against this condition. cheers, Jiri It is with CVS head, Debian/linux/ppc.
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:22 MET