Re: [ROOT] Seg Fault in TTreePlayer::Process

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Nov 06 2001 - 08:15:29 MET


Hi Chris, Hi Stephen,

At URL : http://root.cern.ch/root/Version302.html

you can find versions of ROOT for several combinations of Linux and compilers.
This includes RH7.1 with gcc2.96 (the standard compiler for RH7.1).
Soon, we also hope to provide binaries for RH7.2 with both gcc2.96 and gcc3.

If one of these versions does not match your configuration, you must
install from source. Let me know if you continue to have troubles.

Rene Brun



Stephen J. Gowdy wrote:
> 
> Hi Chris,
>         This might be due to this version of ROOT being built for egcs
> 1.1.2 with glibc 2.1. If you're using RH7 I believe that comes with
> glibc2.2 and some other compiler... Actually, you should probably check
> with Marcel or Urs about which version this is but Linux2 does mean that
> combination to us normally.
> 
>                                                 regards,
> 
>                                                 Stephen.
> 
> On Mon, 5 Nov 2001, Chris Roat wrote:
> 
> >
> > I have a stand-alone application for analysis that uses a TSelector to do
> > some processing.  I get the following seg fault:
> >
> > ---
> > Finished terminate
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread 1024 (LWP 32718)]
> > 0x40debd8e in TTreePlayer::Process () from
> > /afs/slac.stanford.edu/g/babar/package/root/3.01-06/Linux2/lib/libTreePlayer.so
> > (gdb) where
> > #0  0x40debd8e in TTreePlayer::Process () from
> > /afs/slac.stanford.edu/g/babar/package/root/3.01-06/Linux2/lib/libTreePlayer.so
> > #1  0x082d5368 in ?? () at eval.c:41
> > Cannot access memory at address 0xa0
> > --
> >
> > I put a print statement at the the end of my Terminate() method, and it
> > appears in the output.  Looking at the TTreePlayer::Process() method, I
> > don't see where the fault is coming from.
> >
> > >From the path, you can tell I'm using V3.01-06 on a linux box (Intel).
> > Can someone help me figure out what I've done wrong?
> >
> > Thanks a bunch!
> > Chris
> >
> >
> 
> --
>  /------------------------------------+-------------------------\
> |Stephen J. Gowdy                     | SLAC, MailStop 17,       |
> |http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road,     |
> |                                     | Menlo Park CA 94025, USA |
> |EMail: gowdy@slac.stanford.edu       | Tel: +1 650 926 3144     |
>  \------------------------------------+-------------------------/



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:06 MET