Hi:
After testing remote debugging at here
http://forum.lazarus.freepascal.org/index.php/topic,20101.16.html i have problems with the unit gtk2callback.inc. That is the situation:
I have Lazarus 1.1 running on Linux x86-64. When i drop
either TStringGrid or TDBGrid a simple TScrollBar component to the form and running the application all works right.
The problem is when i crosscompile the application to ARM platform. The application starts right an seems to work properly. The problem is when i click to the scrollbar, then the application crashes with exception "
External: SIGSEGV - RunError(216) - Access Violation"
Thanks to the remote debugging i have traced the error to the unit gtk2callback.inc where in the line 3098 :
function Gtk2RangeScrollCB(ARange: PGtkRange; AScrollType: TGtkScrollType; AValue: gdouble; AWidgetInfo: PWidgetInfo): gboolean; cdecl;
AWidgetInfo^.LCLObject returns an invalid object. This is the reason because it fails.
I do not know if there is any problem with the crosscompiling or some compiler directive. Seems that is the crossscompilation.
Somebody knows something about this issue??
Regards