[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 (Inactive) Assignee: Philippe Canal
Resolution: Fixed Votes: 0
Labels: None

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

Attachments: File test.C    


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).

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.

Generated at Mon Feb 17 07:57:59 CET 2020 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.