problem with canvas

T Auger (thauger@phns27.saclay.cea.fr)
Tue, 29 Sep 1998 16:45:45 +0200


Hi Rooters,
I have a problem with canvas when trying to use several times the
same macro. Here is a sequence which shows the problems:

root [0] TCanvas c1("c1","Latex",600,700);
(at this point I close the canvas with the mouse using the File menu)
root [1] gROOT->Reset();

*** Break *** segmentation violation

I do not have the problem if instead I do :
TCanvas *c1 = new TCanvas("c1","Latex",600,700);

Is there a bug?
sincerely,
Thierry.