[fpc-devel] EXC_BAD_ACCESS on i386-darwin
vsnijders at quicknet.nl
Thu Nov 2 14:37:22 CET 2006
I am looking at http://www.freepascal.org/mantis/view.php?id=7723
When the exception is risen the following error is given:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x0000004f
0x0019409e in GTKAPIWIDGETCLIENT_DRAWCARET (CLIENT=0x4d38e00, CALLEDBYTIMER=false)
730 gtkwinapiwindow.pp: No such file or directory.
What kind of exception is this?
Line 730 contains:
if Visible and Blinking and (Timer = 0)
The same variables are used earlier in the procedure, so I don't think the pointer
to the complete record is wrong (e.g. nil).
The variables accessed are fields in a TCaretInfo record acessed within a with block
TCaretInfo = record
Visible: Boolean; // Caret is on
IsDrawn: Boolean; // Caret is visible at the moment
Blinking: Boolean; // Caret should blink
ShowHideOnFocus: boolean; // true = hide on loose focus, show on get focus
More information about the fpc-devel