[ROOT] seg. violation pain in the neck

From: Dmitri Litvintsev (litvinse@fnal.gov)
Date: Wed Apr 09 2003 - 01:52:09 MEST


Hi ROOTers,

well, this is typical picture:

root [27] TH1 h100 = (*h5)-(*h6);
root [28] h100.Draw();

 *** Break *** segmentation violation
Root >

 *** Break *** segmentation violation
Root >

 *** Break *** segmentation violation
Root >

I forgot to type 'F' (TH1 istead of TH1F)
How can I recover from '*** Break *** segmentation violation' ?

all I can manage is to ^Z, kill root, start all over again. Is it the only
way? I understand that I need to type right, but the punishment seems to
be to severe especially in the case when in order to get to that point you
need to run macros for half and hour.

regards,
Dmitri Litvintsev

/----------------------------------------------------------\
| Tel:       (630) 840 5005                                |
| FAX:       (630) 840 2968                                |
| office:    149-L CDF Trailers                            |
| E-mail:    litvinse@fnal.gov                             |
\----------------------------------------------------------/



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