Re: [Brahms-dev-l] new root/brat problem?

From: Hironori Ito <hito@rcf.rhic.bnl.gov>
Date: Wed Jun 01 2005 - 13:55:31 EDT
Commenting out the following codes seems to solve problem.  (  I am not 
sure what these code is doing. )

In BrEventIO::Open(const Char_t *fname,const Option_t *option)

line 298
//   else {
//     fTag = (BrFileTag*)fROOTFile->Get(BRAT_FILE_TAG_NAME);
//     //essentially to read in fFileMode

//     if (!fTag) {
//       Failure("Open", "No tag found in file");
//       return kFALSE;
//     }

//     // Get the file mode from the tag.
//     fFileMode = fTag->GetFileMode();
//     fTag->SetFile(fROOTFile);
//     if (Verbose() > 9)
//       fTag->Print();
//   }


Hiro

Hironori Ito wrote:

> It seems to crash at BrEventIO.cxx:299
> fTag = (BrFileTag*)fROOTFile->Get(BRAT_FILE_TAG_NAME);
> this line seems to fail.
>
> Hiro
>
> Hironori Ito wrote:
>
>> I am not talking about ltr files created last week.  I don't have any 
>> problem reading those old files.  I am talking about ltr files 
>> created yesterday after root/brat update.  And, brat is new (from afs).
>>
>> Hiro
>>
>>
>> Johnson, Erik B wrote:
>>
>>> Hiro,
>>>  I updated and complied brat last night. I just ran over run 10647 
>>> v1p1 for 10 events and I did not get a segmentation violation.  I 
>>> believe that this was one of the runs that was done last week.  I 
>>> found that bratmain would hang but not give a segmentation fault, so 
>>> I ended up checkout out a new version of brat.  It seems to work for 
>>> me.
>>> Erik
>>>
>>>
>>>
>>> -----Original Message-----
>>> From:    brahms-dev-l-bounces+ebj=ku.edu@lists.bnl.gov on behalf of 
>>> Hironori Ito
>>> Sent:    Wed 6/1/2005 10:47 AM
>>> To:    devlist
>>> Cc:   Subject:    [Brahms-dev-l] new root/brat problem?
>>> Hello.  I noticed that ltr files (for run04) created after the 
>>> recent root/brat update can not be opened and produce core dump.  I 
>>> suggest to stop making any new ltr files until it is solved.
>>>
>>> Hiro
>>>
>>> _______________________________________________
>>> Brahms-dev-l mailing list
>>> Brahms-dev-l@lists.bnl.gov
>>> http://lists.bnl.gov/mailman/listinfo/brahms-dev-l
>>>
>>>
>>>
>>>  
>>>
>>
>>
>> _______________________________________________
>> Brahms-dev-l mailing list
>> Brahms-dev-l@lists.bnl.gov
>> http://lists.bnl.gov/mailman/listinfo/brahms-dev-l
>
>
>
>
> _______________________________________________
> Brahms-dev-l mailing list
> Brahms-dev-l@lists.bnl.gov
> http://lists.bnl.gov/mailman/listinfo/brahms-dev-l



_______________________________________________
Brahms-dev-l mailing list
Brahms-dev-l@lists.bnl.gov
http://lists.bnl.gov/mailman/listinfo/brahms-dev-l
Received on Wed Jun 1 13:55:44 2005

This archive was generated by hypermail 2.1.8 : Wed Jun 01 2005 - 13:55:55 EDT