[ROOT] floating point exception help

From: William Hanlon (whanlon@physics.rutgers.edu)
Date: Wed Feb 13 2002 - 18:10:46 MET


Hi,

I using the ROOT gui classes (TG*) to write a stand alone display
program. I have a canvas on which I draw a lot of TArcs to represent a
detector, then I overlay another set of TArcs to represent elements of
the detector that have been "hit".

My problem is that when I move my mouse over a TArc that represents a
hit element I get "*** Break *** floating point exception" in my shell
window. This does not happen though when I move my mouse over TArcs
that are not "hit". I draw my TArcs through a function call using a
statically allocated TArc then drawing this TArc repeatedly through a
call of DrawArc for each detector element needed.

I do not see a difference in the general method by which I implement
hit and non-hit elements, so I do not understand why I have this
problem only for TArcs that represent hit elements.

Does anyone have an idea as to what would cause a floating point
exception when mousing over a gui element like the one I described?

Thanks,
Bill



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