Problems with gStyle->Copy(*Mystyle) in Root version 2.23/11 (Linux)

From: David d'Enterria (enterria@in2p3.fr)
Date: Wed Jan 19 2000 - 17:44:00 MET


Hello all,

I'm my rootlogon.C I have defined:

TStyle *Mystyle= new TStyle("Mystyle","Mystyle1");
Mystyle->Set....();
...
gStyle->Copy(*Mystyle); // <-----------
...

This last line produces a segmentation violation.
The same instruction produced no error in former Root version 2.23/08
(Linux).

What has been changed in TStyle::Copy(TObject &obj) betwen both versions
?

Thanks again in advance,

David d'Enterria
¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬
Groupe Photons Subatech
http://www-subatech.in2p3.fr/~photons/subatech/
mailto:enterria@in2p3.fr      phone: +33.2.51.85.85.60
¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬
Grup Física Radiacions UAB    http://cc.uab.es/~iffr2/
mailto:d.enterria@cc.uab.es   phone: +3493.581.13.64

"In science, there is only physics; all the rest is stamp collecting",
Ernest Rutherford



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:17 MET