[ROOT] segmentation violation with TTree::StartViewer()

From: Glen R. Salo (gsalo@mrcstl.com)
Date: Sat Jul 13 2002 - 00:41:41 MEST


Hi,

TTree::StartViewer() gives me a segmentation violation.  To reproduce, do
the following in the test directory:

root [0] TFile f("Event.root")
root [1] TTree *t = (TTree *)f.Get("T")
root [2] t->StartViewer()
root [3] // manually destroy the TreeViewer window with File->Close()
root [4] t->StartViewer()

Now try to draw any of the data such as fNtrack, fNseg, ...  I get a

 *** Break *** segmentation violation

as soon as I click on any of the leaves.  If I destroy the TreeViewer
window with the window manager, the problem is intermittent.  Often
I have to repeat the process of destroying the window and t->StartViewer()
many times (5-10) before I get the segmentation violation, but it
eventually happens.

I am running ROOT 3.03.06 with CVS updates from July 2nd or 3rd on a
RedHat 7.3 linux platform.  My window manager is Sawfish.

Thanks for your help,

Glen



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:59 MET