Re: peculiar Crash when calling TProxy::Notify for a TChain on PROOF

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Thu, 25 Feb 2010 15:04:28 -0600


Hi Kathrin,

There was a missing re-initialization in TBranchProxy.cxx that lead to the problem.
This is solved in revision 32413 of the trunk.

Cheers,
Philippe.

On 2/24/10 4:22 PM, Kathrin Stoerig wrote:
> Hi,
>
> I try to implement my UserAnalysis with PROOF and automatically
> generated code by MakeProxy.
> I derive my main-class (called "Base") from the automatically
> generated proxy-Class. It seems to work fine without proof or for just
> one file. But if I process a TChain with several files, I get a
> strange crash when initializing the second file. See below.
>
> Any ideas are very welcome. I am using ROOT 5-27/01.
> Cheers,
>
> Kathrin
>
>
> #10 0x00bcedd3 in TClass::RemoveRef (this=0x9f16000, ref=0xa64e13c) at
> core/meta/src/TClass.cxx:2711
> #11 0x00bd54a7 in TClassRef::~TClassRef (this=0xa64e13c,
> __in_chrg=<value optimized out>) at include/TClassRef.h:53
> #12 0x0656c6ec in TVirtualCollectionProxy::~TVirtualCollectionProxy
> (this=0xa64e138, __in_chrg=<value optimized out>) at
> include/TVirtualCollectionProxy.h:58
> #13 0x01580a5f in ROOT::TBranchProxy::Reset (this=0xa10db40) at
> tree/treeplayer/src/TBranchProxy.cxx:113
> #14 0x01582d39 in ROOT::Reset (x=0xa10db40) at
> tree/treeplayer/src/TBranchProxyDirector.cxx:41
> #15 0x01583b4b in
> std::for_each<std::_List_iterator<ROOT::TBranchProxy*>, void
> (*)(ROOT::TBranchProxy*)> (__first=0xa10db40, __last=0xa10dad0,
> __f=0x1582d1c <ROOT::Reset(ROOT::TBranchProxy*)>) at
> /usr/lib/gcc/i586-redhat-linux/4.4.1/../../../../include/c++/4.4.1/bits/stl_algo.h:4200
>
> #16 0x015835ab in ROOT::TBranchProxyDirector::SetTree (this=0xa10dabc,
> newtree=0xa647e28) at tree/treeplayer/src/TBranchProxyDirector.cxx:153
> #17 0x025db810 in proxyWD3PD2::Notify (this=0xa10da88) at
> /home/stoerig/.proof/packages/Analyzer2/src/proxyWD3PD2.C:35
>
> and this is line 35 of automatic proxyWD3PD2.C:
> >> fDirector.SetTree(fChain); <<
>
Received on Thu Feb 25 2010 - 22:04:32 CET

This archive was generated by hypermail 2.2.0 : Fri Feb 26 2010 - 17:50:01 CET