Re: [ROOT] Endless segmentation violations when creating a canvas

From: Matthew D. Langston (langston@SLAC.stanford.edu)
Date: Wed Aug 16 2000 - 03:13:00 MEST


Hi Charles,

You could try installing the ROOT RPMs (many Linux users use theses, and
they are known to work).  If you want to try the ROOT RPMs, type the
following 2 commands:

rpm -ivh
ftp://ftp.slac.stanford.edu/users/langston/root/2.25.01/root-gcc-c++-2.95.2-
2.25.01-1.i386.rpm

rpm -ivh
ftp://ftp.slac.stanford.edu/users/langston/root/2.25.01/root-gcc-c++-2.95.2-
examples-2.25.01-1.i386.rpm

Then type "switch_root", follow the instructions it gives you, type "root"
and type ".x benchmarks.C".  If you try this and it still doesn't work, let
me know.

If this works, and you want to use the ROOT in these RPMs, then be aware
that it was compiled with the g++ from gcc 2.95.2.  This will only be a
problem for you if you want to link external programs and libraries with the
ROOT libraries.  If this is a problem, then you would either have to install
gcc 2.95.2 or rebuild the ROOT RPMs with your C++ compiler (i.e.
rpm --rebuild
ftp://ftp.slac.stanford.edu/users/langston/root/2.25.01/root-gcc-c++-2.95.2-
2.25.01-1.src.rpm).  Both of theses tasks are straightforward.

Regards, Matt

----- Original Message -----
From: "Charles Leggett" <CGLeggett@lbl.gov>
To: <roottalk@pcroot.cern.ch>
Sent: Tuesday, August 15, 2000 5:31 PM
Subject: [ROOT] Endless segmentation violations when creating a canvas


>
> It's been a while since I've run root on my local machine, so I just
> installed 2.25.01, and tried running it. As soon as I try to create
> a new canvas, or if one gets created automatically, I get an endless
> stream of:
>
> Root >
>  *** Break *** segmentation violation
> Root >
>  *** Break *** segmentation violation
>
>
> I'm running Linux with a 2.2.12 kernel, and gcc version egcs-2.91.66
> 19990314/Linux (egcs-1.1.2 release)
>
> I have set up all the correct environment variables and paths. I tried
> running older versions of root, and get the same error message.
>
>
>                         help...         Charles.
>
>
> --
> +---------------------------------------------------------------------+
> | Charles Leggett                |        <CGLeggett@lbl.gov>         |
> | Lawrence Berkeley National Lab |      HCG / NERSC : Atlas / D0      |
> | 1 Cyclotron Road, MS 50B-3238  |                                    |
> | Berkeley, CA 94720             | Eagles may soar, but weasels don't |
> | (510) 495-2930  room: 50B-3201 |    get sucked into jet engines.    |
> +------------------- http://annwm.lbl.gov/~leggett -------------------+
>



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:31 MET