Re: [ROOT] root3.10.02 drawing problems

From: Olivier Couet (Olivier.Couet@cern.ch)
Date: Fri Jan 16 2004 - 14:34:04 MET


Hi,

 Can you send a (small) example reproducing the problem ?

 Cheers,       Olivier

On Fri, 16 Jan 2004, daan wrote:

> Hi,
> 
> I have several drawing problems with 3.10.02 that I have not seen in
> 3.05.05.
> 
> 1/ I want to make a scatter plot
> 	nnfit->Draw("rel_error:rho")
>    Then I make the Y-axis logarithmic on the canvas.
> 	nnfit->Draw("rel_error:rho")
>    now gives an empty plot (except for the Y and X axis), and I'm sure the
>    range is ok (with DrawFrame it stays the same).
> 
>    For a log X-axis the problem also occurs.
> 
> 2/ This is what I see when I try to make a 4D drawing from ntuple in root
> v3.10.02.
> 
> root [1] nnfit->Draw("z:rho:phi:rel_error","","")
> 
>  *** Break *** segmentation violation
>  Generating stack trace...
>  0x41044a38 in <unknown> from /lib/libc.so.6
>  0x41836b9f in TSelectorDraw::GetNameByIndex(TString &, int *, int) + 0x6f
> from /pc187/hubert/products/root/lib/libTreePlayer.so
>  0x418365ca in TSelectorDraw::CompileVariables(char const *, char const *)
> + 0x37a from /pc187/hubert/products/root/lib/libTreePlayer.so
>  0x41833be1 in TSelectorDraw::Begin(TTree *) + 0xcf1 from
> /pc187/hubert/products/root/lib/libTreePlayer.so
>  0x4185172c in TTreePlayer::Process(TSelector *, char const *, int, int) +
> 0x10c from /pc187/hubert/products/root/lib/libTreePlayer.so
>  0x4184b203 in TTreePlayer::DrawSelect(char const *, char const *, char
> const *, int, int) + 0x133 from
> /pc187/hubert/products/root/lib/libTreePlayer.so
>  0x40df8b8c in TTree::Draw(char const *, char const *, char const *, int,
> int) + 0x5c from /pc187/hubert/products/root/lib/libTree.so
>  0x40e16c09 in <unknown> from /pc187/hubert/products/root/lib/libTree.so
>  0x406b6797 in G__call_cppfunc + 0x297 from
> /pc187/hubert/products/root/lib/libCint.so
>  0x406a4afb in G__interpret_func + 0x7fb from
> /pc187/hubert/products/root/lib/libCint.so
>  0x4068ac0d in G__getfunction + 0x17ad from
> /pc187/hubert/products/root/lib/libCint.so
>  0x4071d7a6 in G__getstructmem + 0x886 from
> /pc187/hubert/products/root/lib/libCint.so
>  0x40716950 in G__getvariable + 0x660 from
> /pc187/hubert/products/root/lib/libCint.so
>  0x4067fd0d in G__getitem + 0x6fd from
> /pc187/hubert/products/root/lib/libCint.so
>  0x4067ff11 in G__getitem + 0x901 from
> /pc187/hubert/products/root/lib/libCint.so
>  0x4067e3c3 in G__getexpr + 0x8c73 from
> /pc187/hubert/products/root/lib/libCint.so
>  0x406ce97b in G__exec_function + 0x17b from
> /pc187/hubert/products/root/lib/libCint.so
>  0x406d60f2 in G__exec_statement + 0x2c62 from
> /pc187/hubert/products/root/lib/libCint.so
>  0x40664ee9 in G__exec_tempfile_core + 0x2b9 from
> /pc187/hubert/products/root/lib/libCint.so
>  0x406650c6 in G__exec_tempfile_fp + 0x26 from
> /pc187/hubert/products/root/lib/libCint.so
>  0x406ded7c in G__process_cmd + 0x50ac from
> /pc187/hubert/products/root/lib/libCint.so
>  0x401914be in TCint::ProcessLine(char const *, TInterpreter::EErrorCode
> *) + 0x9e from /pc187/hubert/products/root/lib/libCore.so
>  0x40118fbe in TApplication::ProcessLine(char const *, bool, int *) +
> 0x5ae from /pc187/hubert/products/root/lib/libCore.so
>  0x40f58fec in TRint::HandleTermInput(void) + 0x1bc from
> /pc187/hubert/products/root/lib/libRint.so
>  0x40f5806a in TTermInputHandler::Notify(void) + 0x2a from
> /pc187/hubert/products/root/lib/libRint.so
>  0x40f6c805 in TTermInputHandler::ReadNotify(void) at
> /usr/src/packages/BUILD/glibc-2.2.5/stdlib/atexit.c:31 from
> /pc187/hubert/products/root/lib/libRint.so
>  0x401fa4cb in TUnixSystem::CheckDescriptors(void) + 0xfb from
> /pc187/hubert/products/root/lib/libCore.so
>  0x401f9bf1 in TUnixSystem::DispatchOneEvent(bool) + 0x111 from
> /pc187/hubert/products/root/lib/libCore.so
>  0x40164e22 in TSystem::InnerLoop(void) + 0x32 from
> /pc187/hubert/products/root/lib/libCore.so
>  0x40164d89 in TSystem::Run(void) + 0x79 from
> /pc187/hubert/products/root/lib/libCore.so
>  0x401199f3 in TApplication::Run(bool) + 0x33 from
> /pc187/hubert/products/root/lib/libCore.so
>  0x40f58a00 in TRint::Run(bool) + 0x2f0 from
> /pc187/hubert/products/root/lib/libRint.so
>  0x08048817 in main + 0x87 from /pc187/hubert/products/root/bin/root.exe
>  0x410339ed in __libc_start_main + 0xbd from /lib/libc.so.6
>  0x080486c1 in __register_frame_info + 0x31 from
> /pc187/hubert/products/root/bin/root.exe
> Root >
> 
> 
> 
> How do I get rid of these?
> 
> thanks,
> 
> 
> daan
> 
> 
> 

-- 
Org:    CERN - European Laboratory for Particle Physics.
Mail:   1211 Geneve 23 - Switzerland                     Mailbox: J25910      
E-Mail: Olivier.Couet@cern.ch                            Phone:   +41 22 7676522
WWW:    http://cern.ch/Olivier.Couet/                    Fax:     +41 22 7677155



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET