[ROOT-6645] TClass::IgnoreTObjectStreamer does not work as expected Created: 04/Sep/14  Updated: 05/Sep/14  Resolved: 05/Sep/14

Status: Closed
Project: ROOT
Component/s: I/O
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: High
Reporter: Sebastian Uhl Assignee: Philippe Canal
Resolution: Fixed Votes: 0
Labels: None
Environment:

SLC6 with ROOT 5.34/19 and 5.34/20
Ubuntu 14.04 with ROOT 6 (GIT from today)


Attachments: File test.C    
Development:

 Description   

There seems to be an issue with TClass::IgnoreTObjectStreamer for ROOT 5.34/20 and ROOT 6 checked out from GIT today. With ROOT 5.34/19 everything works as expected.

The attached code creates a tree to store a simple class deriving from TObject only holding a single double. The information of the TObject itself should not be stored, so I call IgnoreTObjectStreamer for my simple class.

In the case of 5.34/19 the resulting tree looks as expected, there is a single element belonging to the class. With 6 I instead find two elements coming from the TObject (fUniqueId and fBits) associated to the double, with 5.34/20 the TBrowser crashes when clicking on the "number" leaf (however, if more than one double is stored, e.g. if number is replaced by a vector of doubles, the result is the same as with ROOT6).



 Comments   
Comment by Philippe Canal [ 05/Sep/14 ]

Hi Sebastian,

This problem has been fixed in the master and the v5.34/00 patch branch.

Thanks for you report.
Philippe.

Generated at Wed Sep 18 15:47:53 CEST 2019 using Jira 7.13.1#713001-sha1:5e06076c2d215a6f699b7e5c90ab2fae7ba5a1ce.