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

From: Stephen J. Gowdy (gowdy@SLAC.stanford.edu)
Date: Tue Nov 06 2001 - 03:49:09 MET


To use gcc-2.95.2 on a RH6 machine, to be safe I'd use 2.25-03 with
Linux2-gcc-2.95.2 which I know was built for that combination by Urs 
(unless of course you really need V3 of ROOT).

On Mon, 5 Nov 2001, Chris Roat wrote:

> Thanks Stephen.
> 
> I jumped over to a RH6 machine, and I still see that same problem.  I'll
> continue to try different compilers, as well.  However, right now, I can't
> get it to link without gcc-2.95.2.  Some missing references that I'm
> trying to track down regarding TLegend and TPaveLabel.
> 
> Chris
> 
> 
> *** Today, you (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