Gui crashes with root_5.32/0 on SL6

Hello,

It looks that the gui macros form the tutorials crash on our machine using SL6
with Root_v5.32/0…

The error messages are either
1.- Error: illegal pointer to class object gClient 0x0 1094 when run in CINT
with .x macro.C
or
2.- *** Break *** segmentation violation
Error in TUnixSystem::StackTrace script /etc/root/gdb-backtrace.sh is missing
when run with x macro.C++

The Root version was compiled from source.
(After goggeling I found a post saying that using ssh -Y to log in should solve the problem, but it did not
wok for me.)

Thank You in advance for help,

Bertrand Roessli

Hi,

So apparently you connected to the machine via ssh…
Are you sure you have X running on that machine? Did you try locally? Can you open any other GUI application (e.g. Firefox)?

Cheers, Bertrand.

Hi,

Yes according to the system administrator the problem is not caused by one of your suggestions below.
So to quote him:
“Are you sure you have X running on that machine?” yes
"Did you try locally?" yes
"Can you open any other GUI application (e.g. Firefox)?" yes

Thank You,

Bertrand Roessli

So all tutorials in $ROOTSYS/tutorials/gui crash? And any tutorial without GUI works fine?
And when using it locally, does it work properly?

Hi,

I just tried the other tutorials both locally and using ssh -Y and nothing works. No canvas
can be open…
e.g.

root [0] .x greyscale.C
Not enough color planes to run this script
root [1] .x multicolor.C
Warning in TCanvas::ResizePad: c1 width changed from 0 to 10

Warning in TCanvas::ResizePad: c1 height changed from 0 to 10

Fatal in TVirtualStreamerInfo::Factory: Cannot find the plugin handlers for TVirtualStreamerInfo! $ROOTSYS/etc/plugins/TVirtualStreamerInfo does not exist or is inaccessible.
aborting
Error in TUnixSystem::StackTrace script /etc/root/gdb-backtrace.sh is missing

A problem with the installation?

Thank You,

Bertrand

Hi Bertrand,

Well, apparently yes, for example, these messages look suspicious to me:

How did you install Root? Are you sure that ROOTSYS is properly set?
And can you tell me if it works when using ROOT locally (i.e. not via ssh)?

Cheers, B.

Hi,

we now have more information. The problem is with the installer. We had configured root
to be installed on a central location on a network drive for everyone to use from
multiple machines. On make install he did not copy the stuff from the etc directory to
the install location. He wanted to put this into /etc/root. I allowed this and I then managed
to run root tutorials locally. I then proceeded to copy /etc/root to the install location.
But this did not cut it; on another machine with no /etc/root directory root would
not find itself.

I am sorry, we have to install like this. We have a centrally managed linux distro and on many
machines we do not have local root rights. Moreover, with older root installation, like 5.22,
this kind of thing worked.

Are we doing something wrong?

Best Regards,

Bertrand and Mark

Hi,

I asked our make/install guru and the only way is apparently to install Root locally…

Cheers, Bertrand.

merci,

Bertrand

In my opinion, you have two simple choices:

  1. use my installation instructions (ROOT’s “etcdir” is automatically set to “${ROOTSYS}/etc”): [url]Installing ROOT from Source
  2. configure your ROOT adding “–prefix=/Where/You/Want/To/Install/It --etcdir=/Where/You/Want/To/Install/It/etc/root”

Hello,

Option 2 solved the problem. :slight_smile:
We did not try option 1.

Thanks a lot.

Bertrand Roessli

[quote]We did not try option 1.[/quote] :cry: