Hi Dmitri, The issue is that the broken objects (your h100) is continually being redraw. To solve the problem simply delete the canvas on which it was drawn. Something like delete gPad; should manage to stopped the seg fault in this case. Cheers, Philippe -----Original Message----- From: owner-roottalk@pcroot.cern.ch [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Dmitri Litvintsev Sent: Tuesday, April 08, 2003 6:52 PM To: roottalk@pcroot.cern.ch Subject: [ROOT] seg. violation pain in the neck 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