Crash and hb out - RESOLVED!!

Crash and hb out - RESOLVED!!

Postby Silvio.Falconi » Wed Dec 20, 2023 9:43 am

At Init I add this line
TPreview():bButtonBar := { |oPreview, oWnd| MyButtonBarPreview( oPreview, oWnd) }

and then make error crash and go out


the error

Code: Select all  Expand view
Application Internal Error - C:\Work\errori\Gest\Gest.Exe
Terminated at: 2023-12-20 10:34:43
Unrecoverable error 9003: Too many recursive error handler calls
Called from (b)MYBUTTONBARPREVIEW(187) in source\sistema\ut\ut_fun.prg
Called from (b)TBTNBMP(285) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:AGRAD(0) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:PAINTBACKGROUNDAS20072010(1394) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:PAINT(2028) in .\source\classes\BTNBMP.PRG
Called from (b)TBTNBMP(189) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:DISPLAY(0) in .\source\classes\BTNBMP.PRG
Called from TCONTROL:HANDLEEVENT(1827) in .\source\classes\CONTROL.PRG
Called from TBTNBMP:HANDLEEVENT(2138) in .\source\classes\BTNBMP.PRG
Called from _FWH(3651) in .\source\classes\WINDOW.PRG
Called from DIALOGBOXINDIRECT(0)
Called from TDIALOG:ACTIVATE(307) in .\source\classes\DIALOG.PRG
Called from ERRORDIALOG(449) in .\source\function\ERRSYSW.PRG
Called from (b)ERRORSYS(24) in .\source\function\ERRSYSW.PRG
Called from (b)MYBUTTONBARPREVIEW(187) in source\sistema\ut\ut_fun.prg
Called from (b)TBTNBMP(285) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:AGRAD(0) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:PAINTBACKGROUNDAS20072010(1394) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:PAINT(2028) in .\source\classes\BTNBMP.PRG
Called from (b)TBTNBMP(189) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:DISPLAY(0) in .\source\classes\BTNBMP.PRG
Called from TCONTROL:HANDLEEVENT(1827) in .\source\classes\CONTROL.PRG
Called from TBTNBMP:HANDLEEVENT(2138) in .\source\classes\BTNBMP.PRG
Called from _FWH(3651) in .\source\classes\WINDOW.PRG
Called from DIALOGBOXINDIRECT(0)
Called from TDIALOG:ACTIVATE(307) in .\source\classes\DIALOG.PRG
Called from ERRORDIALOG(449) in .\source\function\ERRSYSW.PRG
Called from (b)ERRORSYS(24) in .\source\function\ERRSYSW.PRG
Called from (b)MYBUTTONBARPREVIEW(187) in source\sistema\ut\ut_fun.prg
Called from (b)TBTNBMP(285) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:AGRAD(0) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:PAINTBACKGROUNDAS20072010(1394) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:PAINT(2028) in .\source\classes\BTNBMP.PRG
Called from (b)TBTNBMP(189) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:DISPLAY(0) in .\source\classes\BTNBMP.PRG
Called from TCONTROL:HANDLEEVENT(1827) in .\source\classes\CONTROL.PRG
Called from TBTNBMP:HANDLEEVENT(2138) in .\source\classes\BTNBMP.PRG
Called from _FWH(3651) in .\source\classes\WINDOW.PRG
Called from DIALOGBOXINDIRECT(0)
Called from TDIALOG:ACTIVATE(307) in .\source\classes\DIALOG.PRG
Called from ERRORDIALOG(449) in .\source\function\ERRSYSW.PRG
Called from (b)ERRORSYS(24) in .\source\function\ERRSYSW.PRG
Called from (b)MYBUTTONBARPREVIEW(187) in source\sistema\ut\ut_fun.prg
Called from (b)TBTNBMP(285) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:AGRAD(0) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:PAINTBACKGROUNDAS20072010(1394) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:PAINT(2028) in .\source\classes\BTNBMP.PRG
Called from (b)TBTNBMP(189) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:DISPLAY(0) in .\source\classes\BTNBMP.PRG
Called from TCONTROL:HANDLEEVENT(1827) in .\source\classes\CONTROL.PRG
Called from TBTNBMP:HANDLEEVENT(2138) in .\source\classes\BTNBMP.PRG
Called from _FWH(3651) in .\source\classes\WINDOW.PRG
Called from DIALOGBOXINDIRECT(0)
Called from TDIALOG:ACTIVATE(307) in .\source\classes\DIALOG.PRG
Called from ERRORDIALOG(449) in .\source\function\ERRSYSW.PRG
Called from (b)ERRORSYS(24) in .\source\function\ERRSYSW.PRG
Called from (b)MYBUTTONBARPREVIEW(187) in source\sistema\ut\ut_fun.prg
Called from (b)TBTNBMP(285) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:AGRAD(0) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:PAINTBACKGROUNDAS20072010(1394) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:PAINT(2028) in .\source\classes\BTNBMP.PRG
Called from (b)TBTNBMP(189) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:DISPLAY(0) in .\source\classes\BTNBMP.PRG
Called from TCONTROL:HANDLEEVENT(1827) in .\source\classes\CONTROL.PRG
Called from TBTNBMP:HANDLEEVENT(2138) in .\source\classes\BTNBMP.PRG
Called from _FWH(3651) in .\source\classes\WINDOW.PRG
Called from DIALOGBOXINDIRECT(0)
Called from TDIALOG:ACTIVATE(307) in .\source\classes\DIALOG.PRG
Called from ERRORDIALOG(449) in .\source\function\ERRSYSW.PRG
Called from (b)ERRORSYS(24) in .\source\function\ERRSYSW.PRG
Called from (b)MYBUTTONBARPREVIEW(187) in source\sistema\ut\ut_fun.prg
Called from (b)TBTNBMP(285) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:AGRAD(0) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:PAINTBACKGROUNDAS20072010(1394) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:PAINT(2028) in .\source\classes\BTNBMP.PRG
Called from (b)TBTNBMP(189) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:DISPLAY(0) in .\source\classes\BTNBMP.PRG
Called from TCONTROL:HANDLEEVENT(1827) in .\source\classes\CONTROL.PRG
Called from TBTNBMP:HANDLEEVENT(2138) in .\source\classes\BTNBMP.PRG
Called from _FWH(3651) in .\source\classes\WINDOW.PRG
Called from DIALOGBOXINDIRECT(0)
Called from TDIALOG:ACTIVATE(307) in .\source\classes\DIALOG.PRG
Called from ERRORDIALOG(449) in .\source\function\ERRSYSW.PRG
Called from (b)ERRORSYS(24) in .\source\function\ERRSYSW.PRG
Called from (b)MYBUTTONBARPREVIEW(187) in source\sistema\ut\ut_fun.prg
Called from (b)TBTNBMP(285) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:AGRAD(0) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:PAINTBACKGROUNDAS20072010(1394) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:PAINT(2028) in .\source\classes\BTNBMP.PRG
Called from (b)TBTNBMP(189) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:DISPLAY(0) in .\source\classes\BTNBMP.PRG
Called from TCONTROL:HANDLEEVENT(1827) in .\source\classes\CONTROL.PRG
Called from TBTNBMP:HANDLEEVENT(2138) in .\source\classes\BTNBMP.PRG
Called from _FWH(3651) in .\source\classes\WINDOW.PRG
Called from DIALOGBOXINDIRECT(0)
Called from TDIALOG:ACTIVATE(307) in .\source\classes\DIALOG.PRG
Called from ERRORDIALOG(449) in .\source\function\ERRSYSW.PRG
Called from (b)ERRORSYS(24) in .\source\function\ERRSYSW.PRG
Called from (b)MYBUTTONBARPREVIEW(187) in source\sistema\ut\ut_fun.prg
Called from (b)TBTNBMP(285) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:AGRAD(0) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:PAINTBACKGROUNDAS20072010(1394) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:PAINT(2028) in .\source\classes\BTNBMP.PRG
Called from (b)TBTNBMP(189) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:DISPLAY(0) in .\source\classes\BTNBMP.PRG
Called from TCONTROL:HANDLEEVENT(1827) in .\source\classes\CONTROL.PRG
Called from TBTNBMP:HANDLEEVENT(2138) in .\source\classes\BTNBMP.PRG
Called from _FWH(3651) in .\source\classes\WINDOW.PRG
Called from DIALOGBOXINDIRECT(0)
Called from TDIALOG:ACTIVATE(307) in .\source\classes\DIALOG.PRG
Called from ERRORDIALOG(449) in .\source\function\ERRSYSW.PRG
Called from (b)ERRORSYS(24) in .\source\function\ERRSYSW.PRG
Called from (b)MYBUTTONBARPREVIEW(187) in source\sistema\ut\ut_fun.prg
Called from (b)TBTNBMP(285) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:AGRAD(0) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:PAINTBACKGROUNDAS20072010(1394) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:PAINT(2028) in .\source\classes\BTNBMP.PRG
Called from (b)TBTNBMP(189) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:DISPLAY(0) in .\source\classes\BTNBMP.PRG
Called from TCONTROL:HANDLEEVENT(1827) in .\source\classes\CONTROL.PRG
Called from TBTNBMP:HANDLEEVENT(2138) in .\source\classes\BTNBMP.PRG
Called from _FWH(3651) in .\source\classes\WINDOW.PRG
Called from UPDATEWINDOW(0)
Called from TWINDOW:ACTIVATE(1093) in .\source\classes\WINDOW.PRG
Called from TPREVIEW:ACTIVATE(171) in .\source\classes\RPREVIEW.PRG
Called from RPREVIEW(1862) in .\source\classes\RPREVIEW.PRG
Called from (b)TPRINTER(323) in Lib\printer.prg
Called from TPRINTER:PREVIEW(0) in Lib\printer.prg
Called from PRINTEND(2037) in Lib\printer.prg
Called from TREPORT:ACTIVATE(920) in Lib\report.prg
Called from TXBROWSE:REPORT(10557) in .\source\classes\XBROWSE.PRG
Called from PRINTBROWSE(137) in source\sistema\ut\ut_prn.prg
Called from (b)BTNBAR(420) in source\tabelle\Pcomuni.prg
Called from TBTNBMP:CLICK(796) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:LBUTTONUP(1083) in .\source\classes\BTNBMP.PRG
Called from TCONTROL:HANDLEEVENT(1851) in .\source\classes\CONTROL.PRG
Called from TBTNBMP:HANDLEEVENT(2138) in .\source\classes\BTNBMP.PRG
Called from _FWH(3651) in .\source\classes\WINDOW.PRG
Called from WINRUN(0)
Called from TWINDOW:ACTIVATE(1113) in .\source\classes\WINDOW.PRG
Called from TAPPLICATION:ACTIVATE(268) in source\sistema\Main.prg
Called from MAIN(35) in source\sistema\Main.prg
------------------------------------------------------------------------
Last edited by Silvio.Falconi on Wed Dec 20, 2023 12:37 pm, edited 1 time in total.
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7061
Joined: Thu Oct 18, 2012 7:17 pm

Re: Crash and hb out

Postby Antonio Linares » Wed Dec 20, 2023 9:49 am

Dear Silvio,

It seems as you have an error in function MyButtonBarPreview()

Try to comment out parts of it until you find the error
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Crash and hb out

Postby Silvio.Falconi » Wed Dec 20, 2023 12:37 pm

Resolved
it was a color value not passed !!!
ME TENGO UN MIEDO
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7061
Joined: Thu Oct 18, 2012 7:17 pm

Re: Crash and hb out - RESOLVED!!

Postby Antonio Linares » Wed Dec 20, 2023 1:45 pm

very good :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 71 guests