GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Error in <TStreamerInfo::BuildCheck> <TBufferFile::CheckByteCount>
Error in <TStreamerInfo::BuildCheck> <TBufferFile::CheckByteCount> [message #9978] Mon, 18 January 2010 16:08 Go to next message
Dmitry Khaneft is currently offline  Dmitry Khaneft
Messages: 75
Registered: January 2009
continuous participant
From: *gsi.de
Dear pandausers,

I got a strange error I never met before. When I run a digitization macro I have normal output and then problems with a
TStreamerInfo::BuildCheck and later on error related to TBufferFile::CheckByteCount. My only idea is the problem related to the different version of pandaroot I used when my data was produced.

Could someone comment what is wrong and how to fix it?

....................
-I- FairRunAna: Opening Input file: run0_mom0.25_phi45_theta155.root
Warning in <TStreamerInfo::BuildCheck>:
   The StreamerInfo of class PndMdt read from file
run0_mom0.25_phi45_theta155params.root
   has the same version (=1) as the active class but a different checksum.
   You should update the version to ClassDef(PndMdt,2).
   Do not try to write objects with the current class definition,
   the files will not be readable.

fRun->Init()

-I- FairRunAna::Init :
run0_mom0.25_phi45_theta155.root  is connected with:

-I-  Geometry was not found in the input file we will look in the
friends if any!

*************************************************************
     initialisation for run id 1672183337
*************************************************************
-I- PndMvdDetector: fListOfSensitives contains:
        Disk-Sensor
        Barrel-Sensor
        PixelActive
        StripSensor
        SensorActiveArea
        StripActive
        PixelActive
Info in <TGeoManager::TGeoManager>: Geometry Geometry, default geometry
created
Warning in <TGeoManager::Init>: Deleting previous geometry:
Geometry/default geometry
Info in <TGeoManager::CloseGeometry>: Geometry loaded from file...
Info in <TGeoManager::SetTopVolume>: Top volume is cave. Master volume
is cave
Info in <TGeoManager::Voxelize>: Voxelizing...
Info in <TGeoNavigator::BuildCache>: --- Maximum geometry depth set to 100
Info in <TGeoManager::CloseGeometry>: 477784 nodes/ 3217 volume UID's in
FAIR geometry
Info in <TGeoManager::CloseGeometry>: ----------------modeler
ready----------------
Error in <TBufferFile::CheckByteCount>: object of class FairBaseParSet
read too many bytes: 19265734 instead of 19265730
Warning in <TBufferFile::CheckByteCount>: FairBaseParSet::Streamer() not
in sync with data on file run0_mom0.25_phi45_theta155params.root, fix
Streamer()
Container FairBaseParSet initialized from ROOT file.
 -I container name PndEmcDigiPar
 -I container name PndEmcRecoPar

*************************************************************
     initialisation for run id 1672183337
*************************************************************
PndEmcDigiPar initialized from Ascii file
PndEmcRecoPar initialized from Ascii file
PndFieldCreator::SetParm() 0

 *** Break *** segmentation violation
(no debugging symbols found)
Attaching to program: /proc/19921/exe, process 19921
(no debugging symbols found)...done.


Best regards,
Dmitry
Re: Error in <TStreamerInfo::BuildCheck> <TBufferFile::CheckByteCount> [message #9979 is a reply to message #9978] Mon, 18 January 2010 16:12 Go to previous messageGo to next message
Anonymous Poster From: *e18.physik.tu-muenchen.de
Hi,

what is happening there, is that something in the data members of that class changed in between the time you produced that input file and the time that you compiled that code. It means that the class does not contain the same amount of data.

Cheers, Christian
Re: Error in <TStreamerInfo::BuildCheck> <TBufferFile::CheckByteCount> [message #9980 is a reply to message #9979] Mon, 18 January 2010 16:36 Go to previous messageGo to next message
Dmitry Khaneft is currently offline  Dmitry Khaneft
Messages: 75
Registered: January 2009
continuous participant
From: *gsi.de
It looks like something happend with MDT but I have no idea how to fix it. I think I can re-simulate everything but it is crazy.

Quote:

Warning in <TStreamerInfo::BuildCheck>:
The StreamerInfo of class PndMdt read from file
run0_mom0.25_phi45_theta155params.root has the same version (=1) as the active class but a different checksum.
You should update the version to ClassDef(PndMdt,2).

[Updated on: Mon, 18 January 2010 16:37]

Report message to a moderator

Re: Error in <TStreamerInfo::BuildCheck> <TBufferFile::CheckByteCount> [message #9981 is a reply to message #9980] Mon, 18 January 2010 17:08 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Hi,
the MDT data members have changed, then you could have problems if you use MDTs. But in theory you should be able to process normally all the other events.

It seems to me the crash is comsing from something different:

Error in <TBufferFile::CheckByteCount>: object of class FairBaseParSet
read too many bytes: 19265734 instead of 19265730
Warning in <TBufferFile::CheckByteCount>: FairBaseParSet::Streamer() not
in sync with data on file run0_mom0.25_phi45_theta155params.root, fix
Streamer()


It is like you have overwritten the param file, or better the param file was created with an older version of the code and FaseBarPasSet is not syncronized anymore.

In that case I think you have to redo the file again.

But, maybe there is a sort of patch you can try.
Go to another folder, and produce with the current pandaroot a small file with the same macro you have used before. Once you have done this, in the folder you will have the mc file and also the param one.

Now, try to use the new param file with the old file. I am not sure if this will work, but maybe if it does you can avoid to rerun everything. Of course, if your original files are "very" old, you are forced to rerun everything anyway.
Re: Error in <TStreamerInfo::BuildCheck> <TBufferFile::CheckByteCount> [message #9982 is a reply to message #9981] Mon, 18 January 2010 17:22 Go to previous messageGo to next message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *gsi.de
Hi Stefano,


Quote:

Go to another folder, and produce with the current pandaroot a small file with the same macro you have used before. Once you have done this, in the folder you will have the mc file and also the param one.

Now, try to use the new param file with the old file. I am not sure if this will work, but maybe if it does you can avoid to rerun everything. Of course, if your original files are "very" old, you are forced to rerun everything anyway.


This will not work, each run has a unique id, and the parameters are initialized for the run id that is in the event header.

regards

Mohammad
Re: Error in <TStreamerInfo::BuildCheck> <TBufferFile::CheckByteCount> [message #9987 is a reply to message #9982] Tue, 19 January 2010 09:49 Go to previous messageGo to next message
Dmitry Khaneft is currently offline  Dmitry Khaneft
Messages: 75
Registered: January 2009
continuous participant
From: *gsi.de
Can I "solve" the problem by using old pandaroot? I mean the same version which was used for simulation?

P.S.: The data was produced in december last year.
Re: Error in <TStreamerInfo::BuildCheck> <TBufferFile::CheckByteCount> [message #9988 is a reply to message #9987] Tue, 19 January 2010 09:56 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
In theory it should work.
Previous Topic: Small bug with cmake/config.sh
Next Topic: problem with lumi in trunk
Goto Forum:
  


Current Time: Sun Dec 22 04:04:27 CET 2024

Total time taken to generate the page: 0.01200 seconds