Re: [ROOT] TPostScript in 3.02/07

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Oct 22 2002 - 13:57:12 MEST


Hi Paolo,

This problem appears when you create a TPostScript object
before creating a TCanvas.
If you want to continue with 3.02/07, create a TCanvas before TPostScript.
I recommend moving to the PRO version of Root 3.03/09 where this problem
does not exist.

Rene Brun

On Tue, 22 Oct 2002, Paolo Pagano wrote:

> Ciao rooters,
> 	I cannot create TPostScript objects with version 3.02/07 (as in
> Solaris as in Linux). No problem with root-3.00.06.
> 
> Where's my mistake?
> 				Paolo
> 
>   *******************************************
>   *                                         *
>   *        W E L C O M E  to  R O O T       *
>   *                                         *
>   *   Version   3.02/07   10 January 2002   *
>   *                                         *
>   *  You are welcome to visit our Web site  *
>   *          http://root.cern.ch            *
>   *                                         *
>   *******************************************
> 
> Compiled for solarisCC5.
> 
> CINT/ROOT C/C++ Interpreter version 5.15.25, Jan 6 2002
> Type ? for help. Commands must be C++ statements.
> Enclose multiple statements between { }.
> root [0] TPostScript *p1= new TPostScript("myps.ps")   
> 
>  *** Break *** segmentation violation
> 
> 
> ********************************
> Paolo Pagano
> address:   Sezione INFN di Trieste - Area di Ricerca  
>        Padriciano 99, 34012 Padriciano (Trieste), Italia 
> e-mail:    Paolo.Pagano@cern.ch
> tel:       (private)          +39-340-4034214
>            (INFN, Trieste)    +39-040-3756225/5583385
>            (CERN, Genève, CH) +41-22-7676743/76421
> ********************************
> 
> 



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