Re: [ROOT] using SetX1NDC()

From: Valeriy Onuchin (Valeri.Onoutchine@cern.ch)
Date: Mon Aug 11 2003 - 11:58:35 MEST


 Hi Claus,
try to use gdb as follows 

gdb root.exe
root [0]
... execute code which produces seg.violatoin
gdb> bt

Send back trace  in attachment 

Regards. Valeriy

> Hi ROOTers,
> 
> just a short question:
> 
>      TPaveStats *st2 = (TPaveStats *) 
> histos[i].ptr->GetHisto()->GetListOfFunctions()->FindObject("stats");
>        file://TPaveStats *st1 = (TPaveStats *) 
> histos[i-1].ptr->GetHisto()->GetListOfFunctions()->FindObject("stats");
>      st2->SetX1NDC(0.4); file://st1->GetX1NDC()-0.1);
>      st2->SetX2NDC(0.6);
> 
> compiles fine, but produces a Seg. Error, why?
> 
> Regards,
> 
> Claus Horn
> 
> 



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:14 MET