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

From: Kathrin Stoerig <Kathrin.Stoerig_at_cern.ch>
Date: Fri, 26 Feb 2010 12:17:30 +0100


Hi Philippe,

after first tests it seems to work now :-) Many thanks for the fix,

   Kathrin

-----Ursprüngliche Nachricht-----
Von: Philippe Canal [mailto:pcanal_at_fnal.gov] Gesendet: Donnerstag, 25. Februar 2010 22:04 An: Kathrin Stoerig
Cc: roottalk_at_root.cern.ch
Betreff: Re: [ROOT] peculiar Crash when calling TProxy::Notify for a TChain on PROOF

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 Fri Feb 26 2010 - 12:17:58 CET

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