Do I have a nonfunctional ROOT installation?

Hi,

If I analyse a tree and do, for example

tree->Draw(“px>>PX(512,-10,10)”);

and then

tree->Draw(“px>>PX(512,-10,10”,“py>0”);

I will get the following when trying to use PX

root [10] PX

*** Break *** segmentation violation
(no debugging symbols found)
Using host libthread_db library “/lib64/tls/libthread_db.so.1”.
Attaching to program: /proc/23099/exe, process 23099
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
[Thread debugging using libthread_db enabled]
[New Thread 182931704224 (LWP 23099)]
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.

0x00000039d478eb44 in waitpid () from /lib64/tls/libc.so.6
#1 0x00000039d47398df in do_system () from /lib64/tls/libc.so.6
#2 0x0000002a9587f192 in TUnixSystem::StackTrace ()
from /home/jljungva/root/lib/libCore.so
#3 0x0000002a9587bee8 in TUnixSystem::DispatchSignals ()
from /home/jljungva/root/lib/libCore.so
#4
#5 0x0000002a957eb886 in TCint::FindSpecialObject ()
from /home/jljungva/root/lib/libCore.so
#6 0x0000002a9602c3e3 in G__APIGetSpecialObject_layer1 ()
from /home/jljungva/root/lib/libCint.so
#7 0x0000002a961525f9 in G__getvariable ()
from /home/jljungva/root/lib/libCint.so
#8 0x0000002a960a041b in G__getitem () from /home/jljungva/root/lib/libCint.so
#9 0x0000002a960a0c94 in G__getitem () from /home/jljungva/root/lib/libCint.so
#10 0x0000002a960a4dca in G__getexpr () from /home/jljungva/root/lib/libCint.so
#11 0x0000002a96106bb5 in G__exec_statement ()
from /home/jljungva/root/lib/libCint.so
#12 0x0000002a9608f04d in G__exec_tempfile_core ()
from /home/jljungva/root/lib/libCint.so
#13 0x0000002a9608f34e in G__exec_tempfile_fp ()
from /home/jljungva/root/lib/libCint.so
#14 0x0000002a9611162f in G__process_cmd ()
from /home/jljungva/root/lib/libCint.so
#15 0x0000002a957e7866 in TCint::ProcessLine ()
from /home/jljungva/root/lib/libCore.so
#16 0x0000002a9571ecf1 in TApplication::ProcessLine ()
from /home/jljungva/root/lib/libCore.so
#17 0x0000002a977ff774 in TRint::HandleTermInput ()
from /home/jljungva/root/lib/libRint.so
#18 0x0000002a977fe0b7 in TTermInputHandler::Notify ()
from /home/jljungva/root/lib/libRint.so
#19 0x0000002a977ffddd in TTermInputHandler::ReadNotify ()
from /home/jljungva/root/lib/libRint.so
#20 0x0000002a95878473 in TUnixSystem::CheckDescriptors ()
from /home/jljungva/root/lib/libCore.so
#21 0x0000002a9587c579 in TUnixSystem::DispatchOneEvent ()
from /home/jljungva/root/lib/libCore.so
#22 0x0000002a957a0115 in TSystem::InnerLoop ()
from /home/jljungva/root/lib/libCore.so
#23 0x0000002a957a00ad in TSystem::Run ()
from /home/jljungva/root/lib/libCore.so
#24 0x0000002a9571edcf in TApplication::Run ()
from /home/jljungva/root/lib/libCore.so
#25 0x0000002a977fe7af in TRint::Run () from /home/jljungva/root/lib/libRint.so
#26 0x000000000040104d in main ()
Root >
root [11] .q

I get the same error independant of tree and its structure etc. It is when I try to reuse a histogram with new cuts applied. If I do a histo->Delete() between I don’t have any problems. My question is, is this normal and just because I’m a bit sloppy when using
cint or do I have a somewhat defect root installation (SL 4.3, x84_64, gcc 3.4.5, root 5.14)?

kind regards

Joa

We are hoping to fix this problem for the next release.

Rene

Thanks to Axel, this problem is now fixed in CVS head.

Rene