Dear Rooters,
There are two interrupts of TTimer and TSlider in a program in compiled
mode of root v2.23/10. Normally it is working but the system always has
*** Break *** illegal instruction
in AIX Version 4 computer in folowing three steps:
(1). The cursor is in the box of TSlider before TTimer works;
(2). The cursor still is in the box when TTimer is working;
(3). The cursor moves in the box of TSlider or moves out of the box after
TTimer completed its working.
The program is in a break in the case as above but working normally again
after the program got the break message till the TTimer comes.
In brief the codes are
class KOnlineDialog : public TTimer{ ... };
KOnlineDialog::KOnlineDialog(KGeneralDraw *fGeneralDraw):TTimer(Time0,kTRUE)
{ ... }
Bool_t KOnlineDialog::Notify(){
KOnlineDialog::KOnlineRead();
TTimer::Reset();
return kFALSE;
}
class KHandler : public TObject{
void KSliderDraw(KHandler *);
void KLoadParam( ... );
void ExecuteEvent(int event, int px, int py);
...
};
class KGAS : public TObject{ ... };
void KGAS::KGAS_FLOW(TPad *c1){
...
handler = new KHandler();
handler->KSliderDraw(handler);
handler->KLoadParam( ... );
handler->ExecuteEvent(1, 0, 0);
...
}
I don't know why.
Thanks for any help.
Yongzhao Zhou
------
Yongzhao Zhou, KLOE, LNF, INFN, Italy
Tel:39-06-94032696 Fax:39-06-94032427
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:32 MET