some Access violation
I get this from time to time; no idea what it means, plz look into it if you feel like it
Exception: class: EAccessViolation, message: Access violation
Exception call stack:
$00000000
$00428F86 TFPGBASETIMER__CHECKALARM, line 3214 of D:/Dev/fpGUIrep/src/corelib/fpg_base.pas
$0041E607 FPGCHECKTIMERS, line 574 of D:/Dev/fpGUIrep/src/corelib/fpg_main.pas
$004210FE TFPGAPPLICATION__WAITWINDOWMESSAGE, line 1774 of D:/Dev/fpGUIrep/src/corelib/fpg_main.pas
$00421116 TFPGAPPLICATION__RUNMESSAGELOOP, line 1779 of D:/Dev/fpGUIrep/src/corelib/fpg_main.pas
$0042036E TFPGAPPLICATION__RUN, line 1489 of D:/Dev/fpGUIrep/src/corelib/fpg_main.pas
$0040210C main, line 42 of NetLogRead.lpr
can you tell me what your application does? What components are being used and does the issue always happen at the same place /time?
My application receives log over TCP; it has timers, tabs, list views. It crashes after being active for a lot of time: hours, maybe days. I also suspect that this have something to do with windows hibernation
Can you test by disabling hibernation for 2 or so days? I'm back from holiday on Sunday, then I'll take a closer look. The caret (edit cursor) painting is tricky, because it paints outside the usual OnPaint event. I do lock the canvas for caret painting and used to see AV errors long ago, but haven't for some years now. Maybe some corner case crept in.
Okay it just happened again. Looks like it happens rarely. I will try to create a separate application and reproduce the issue on it and see how it will work both when I hibernate PC and when I don't. Given how rarely it happens, I'm not 100% sure it's worth investigating. I will report results as soon as I get something
I had my application running for about 6 days and didn't use hibernation, and it didn't crash; so I think I can safely assume that if there is a bug (which I am not sure about yet), it most likely happens only after Windows resuming after hibernation
$004290B6 TFPGBASETIMER__CHECKALARM, line 3215 of D:/Dev/fpGUIrep/src/corelib/fpg_base.pas
$0041E737 FPGCHECKTIMERS, line 574 of D:/Dev/fpGUIrep/src/corelib/fpg_main.pas
$0042122E TFPGAPPLICATION__WAITWINDOWMESSAGE, line 1774 of D:/Dev/fpGUIrep/src/corelib/fpg_main.pas
$00421246 TFPGAPPLICATION__RUNMESSAGELOOP, line 1779 of D:/Dev/fpGUIrep/src/corelib/fpg_main.pas
$0042049E TFPGAPPLICATION__RUN, line 1489 of D:/Dev/fpGUIrep/src/corelib/fpg_main.pas
another day another crash. I get these often, and since stack trace points to fpGUI files, I believe that there's fpGUI bug somewhere in there. There are two kinds of crashes I get, this is the first, and the second has longer stack trace and has something to do with some CALC_HEIGHT function declared somewhere in fpGUI sources
No idea what's wrong with it so far