Hi Davide,
Please give more information, eg run under gdb and send
the traceback when you get the crash.
I obviously assume that you have recompiled at least once
your file test.C with
chain.Process("test.C++");
instead of;
chain.Process("test.C+");
Rene Brun
On Wed, 27 Nov 2002, Davide Grandi wrote:
> root version 3.03.09
> Linux machine, Intel 2.0 Ghz double processor
>
> Dear rooters,
> I'm having problems in using TChain with new root version, a
> simple code running on two files independently is not running on a chain
> of both. In the code I select only few branches to analyse....
>
> I use this lines of code:
>
> TChain chain("mychain");
> chain.Add("one.root");
> chain.Add("two.root");
> chain.Print("all");
> chain.Process("test.C+");
>
> This gives:
>
> *** Break *** segmentation violation
>
> but with previous version 3.03.04 it works.... Sorry for stupid question
> but is something changed (chain.Print works on both version of root)?
>
> Thanks
>
> Davide Grandi
>
> **********************************************************************
> $ Davide Grandi %
> $ INFN Milano e-mail Davide.Grandi@mib.infn.it %
> $ P.zza delle Scienze 3 phone +39 02 6448 2306 %
> $ 20126 MILANO fax +39 02 6448 2367 %
> $ ITALY %
> $ %
> $ at CERN e-mail Davide.Grandi@cern.ch %
> $ CH-1211 Geneve CH phone +41 22 767 9403 %
> $ Bldg. 506 room R018 %
> $ or phone +41 22 767 7560 %
> $ Bldg. 576 room R002 %
> &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
>
>
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:21 MET