bugROOT - Bugs: bug #20819, TBrowser hangs

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentication level.

bug #20819: TBrowser hangs

Submitted by:  Tadashi Maeno <tmaeno>
Submitted on:  2006-10-18 01:55  
 
Bug / Feature: Bug reportCategory: GUI
Priority: 5 - NormalSeverity: 3 - Normal
Status: Need InfoPrivacy: Public
Assigned to: Ilka Antcheva <antcheva>Open/Closed: Closed
Release: 5.10.00eOperating System: GNU/Linux

(Jump to the original submission Jump to the original submission)

2006-10-20 18:17, comment #8:

This problem should now be fixed in the CVS repository.

Cheers,
Philippe.

Philippe Canal <pcanal>
2006-10-20 16:35, comment #7:

Investigating the reasons I found out that when CollectionTree is clicked in the ROOT browser, there is infinitive loop after 'mcEtIsol' branch element involving the methods TNonSplitBrowsable::GetBrowsables and TStreamerSTL::IsBase(). We will investigate further.

Cheers, Ilka

Ilka Antcheva <antcheva>In charge of this item.
2006-10-18 15:52, comment #6:

Thank you for your reply. I see no problem accessing the tree via GUI also. After the executing the lines:
root [0] gSystem->Load("/afs/cern.ch/sw/lcg/app/releases/POOL/POOL_2_4_4/slc3_ia32_gcc323/lib/liblcg_RootCollection.so")
(int)0
root [1] TFile f("/afs/cern.ch/user/t/tmaeno/public/AANTuple.root")
root [2] TTree *t = f.Get("CollectionTree")
root [3] TBrowser b

please click with the right-mouse button on the CollectionTree and select from the context menu the entry 'StartViewer'. After that the TreeViewer application shows up and you can use it to examine the tree.

Of course I agree that clicking on the tree object should not hang the root session and we will investigate this case.

Cheers, Ilka

Ilka Antcheva <antcheva>In charge of this item.
2006-10-18 15:02, comment #5:

AttributeListLayout is a schema. ROOT version of Registration stream in
POOL requires it to expand attributes. It was written at

http://alxr.usatlas.bnl.gov/lxr/sou...

I'm not sure if AttributeListLayout is guilty, because I don't find any
problems when accessing the tree in the command-line environment.
Thanks,

Tadashi Maeno <tmaeno>
2006-10-18 14:26, comment #4:

Hi,

I see that the shared library needed in this case is related to POOL (/afs/cern.ch/sw/lcg/app/releases/POOL/POOL_2_4_4/slc3_ia32_gcc323/lib/liblcg_RootCollection.so ) and the root file contains
root [3] f.ls()
TFile** /afs/cern.ch/user/t/tmaeno/public/AANTuple.root
TFile* /afs/cern.ch/user/t/tmaeno/public/AANTuple.root
KEY: AttributeListLayout Schema;1
KEY: TTree CollectionTree;1 CollectionTree
root [4] f.Map()
20061018/010418 At:100 N=122 TFile
20061018/010423 At:222 N=260 AttributeListLayout
20061018/010711 At:482 N=2373 TBasket CX = 28.70
20061018/010838 At:2855 N=167 KeysList
20061018/010839 At:3022 N=67 FreeSegments
Address = 3089 Nbytes = -223495 =====G A P===========
20061018/010711 At:226584 N=5097 StreamerInfo CX = 3.44
20061018/010818 At:231681 N=4257 TBasket CX = 16.00
20061018/010818 At:235938 N=4032 TBasket CX = 5.87
20061018/010818 At:239970 N=8230 TBasket CX = 3.53
20061018/010838 At:248200 N=336471 TTree CX = 4.80
20061018/010838 At:584671 N=1 END

You might help us saying how the root file was created and what is the purpose of AttributeListLayout.

Thank you, Ilka

Ilka Antcheva <antcheva>In charge of this item.
2006-10-18 11:43, comment #3:

Thanks for looking into this. The warning message has gone when
a shared lib is loaded. But the hang is still there;

[tmaeno@lxplus061 tmaeno]$ root.exe
root [0] gSystem->Load("/afs/cern.ch/atlas/offline/external/LCGCMT/LCGCMT_43C/InstallArea/i686-slc3-gcc323-opt/lib/liblcg_RootCollection.so");
root [1] TFile *_file0 = TFile::Open("/afs/cern.ch/user/t/tmaeno/public/AANTuple.root")
root [2] TBrowser t

open the file and click CollectionTree -> ROOT hangs up.

Here is my LD_LIBRARY_PATH.

[tmaeno@lxplus061 cmt]$ echo $LD_LIBRARY_PATH
/lib:/afs/cern.ch/user/t/tmaeno/Offline/12.0.3/InstallArea/i686-slc3-gcc323-opt/lib:/afs/cern.ch/atlas/software/builds/AtlasOffline/12.0.3/InstallArea/i686-slc3-gcc323-opt/lib:/afs/cern.ch/atlas/software/builds/AtlasAnalysis/2.0.3/InstallArea/i686-slc3-gcc323-opt/lib:/afs/cern.ch/atlas/software/builds/AtlasTrigger/2.0.3/InstallArea/i686-slc3-gcc323-opt/lib:/afs/cern.ch/atlas/software/builds/AtlasReconstruction/2.0.3/InstallArea/i686-slc3-gcc323-opt/lib:/afs/cern.ch/atlas/software/builds/AtlasEvent/2.0.3/InstallArea/i686-slc3-gcc323-opt/lib:/afs/cern.ch/atlas/software/builds/AtlasConditions/2.0.3/InstallArea/i686-slc3-gcc323-opt/lib:/afs/cern.ch/atlas/software/builds/AtlasCore/2.0.3/InstallArea/i686-slc3-gcc323-opt/lib:/afs/cern.ch/atlas/offline/external/Gaudi/0.16.1.13-LCG43C/InstallArea/i686-slc3-gcc323-opt/lib:/afs/cern.ch/atlas/offline/external/LCGCMT/LCGCMT_43C/InstallArea/i686-slc3-gcc323-opt/lib:/afs/cern.ch/atlas/software/builds/DetCommon/2.0.3/InstallArea/i686-slc3-gcc323-opt/lib:/afs/cern.ch/atlas/software/builds/AtlasSimulation/2.0.3/InstallArea/i686-slc3-gcc323-opt/lib:/afs/cern.ch/sw/lcg/external/Python/2.4.2/slc3_ia32_gcc323/lib:/afs/cern.ch/sw/java/i386_redhat73/jdk/sun-1.5.0/jre/lib/i386:/afs/cern.ch/sw/java/i386_redhat73/jdk/sun-1.5.0/jre/lib/i386/client:/afs/cern.ch/sw/java/i386_redhat73/jdk/sun-1.5.0/jre/lib/i386/native_threads:/afs/cern.ch/sw/java/i386_redhat73/jdk/sun-1.5.0/jre/lib/i386/xawt

Tadashi Maeno <tmaeno>
2006-10-18 09:13, comment #2:

Please read the last sentence of my previous message: "I see no problem reading other root files and using the ROOT browser"

Thanks, Ilka

Ilka Antcheva <antcheva>In charge of this item.
2006-10-18 09:10, comment #1:

Hi,

I can reproduce the reported case, but I see in addition the following messages:
"Warning in <TClass::TClass>: no dictionary for class AttributeListLayout is available
Warning in <TClass::TClass>: no dictionary for class pair<string,string> is available"

related to what you have saved in the root file:
root [1] f.ls()
TFile** /afs/cern.ch/user/t/tmaeno/public/AANTuple.root
TFile* /afs/cern.ch/user/t/tmaeno/public/AANTuple.root
KEY: AttributeListLayout Schema;1
KEY: TTree CollectionTree;1 CollectionTree

So, the problem might be not related to the GUI and the ROOT Object browser because I see no problem reading other root files.

Cheers, Ilka

Ilka Antcheva <antcheva>In charge of this item.
2006-10-18 01:55, original submission:

[tmaeno@lxplus060 tmaeno]$ which root.exe
/afs/cern.ch/sw/lcg/external/root/5.10.00e/slc3_ia32_gcc323/root/bin/root.exe
[tmaeno@lxplus060 tmaeno]$ root.exe /afs/cern.ch/user/t/tmaeno/public/AANTuple.root
...
root [1] CollectionTree->Show(1)
...
TimeStreamAOD = 250
TimeCBNT_AthenaAware = 1130
TimeAANTupleStream = 70

I can read the tree on the command-line. Then

root [2] TBrowser t

when I open the file and click CollectionTree, ROOT hangs up.
Thanks,

Tadashi Maeno <tmaeno>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pcanal (Updated the item)
  • -unavailable- added by antcheva (Updated the item)
  • -unavailable- added by tmaeno (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independantly of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    2006-10-20 18:17pcanalOpen/ClosedOpen=>Closed
    2006-10-18 09:10antchevaStatusNone=>Need Info
      Assigned toNone=>antcheva
    Show feedback again

    Back to the top


    Powered by Savane SVN (toward 3.1)

    This project has been migrated to a new system.
    You will be redirected in 5 seconds.
    Or click here to go now.
    Let me continue in Savannah