[lazarus] Problems with lazarus CVS

Bob Wingard bwingard at gt.rr.com
Sat Nov 15 09:24:31 EST 2003

On Sat, 2003-11-15 at 06:40, Marc Weustink wrote:
> At 13:29 15-11-2003, Raúl Moratalla wrote:
> >Thanks, It sould work ok now, but it gives the next error:
> >
> >[FORMS.PP] ExceptionOccurred
> >   Exception=Access violation
> >TApplication.HandleException Access violation
> >TApplication.HideAllFormsWithStayOnTop :TSPLASHFORM
> >[FORMS.PP] ExceptionOccurred
> [snip]
> >A few days ago, I downloaded the rpm package for lazarus and it worked
> >good. I removed the package and compiled lazarus from CVS but now I
> >can't execute the binary compiled :(
> Can you run lazarus from gdb and create a backtrace like :
> gdb lazarus
> run
> bt
> Marc
	I am getting a range exception message as well when I do a debug build
of lazarus.

[FORMS.PP] ExceptionOccurred
  Exception=Range check error
TApplication.HandleException Range check error
TApplication.HandleException: there was another exception during showing
the first exception
[TgtkObject.Destroy] WARNING: There are 1 unreleased DCs, a detailed
dump follows:
[TgtkObject.Destroy]  DCs:   404FC0A4
[TgtkObject.Destroy] WARNING: There are 4 unreleased GDIObjects, a
detailed dump follows:
[TgtkObject.Destroy]   GDIOs: 404FF734 404FFCA4 404FFE84 404FFED4
[TgtkObject.Destroy]   gdiBrush: 1
[TgtkObject.Destroy]   gdiFont: 1
[TgtkObject.Destroy]   gdiPen: 1
[TgtkObject.Destroy]   gdiRegion: 1

I have traced it to the KeySymToKeyArray function. In the function on
line 1234 K := AKeySym shr 16 is where the exception is happening. At
the point where the error happens AKeySym is equal to 269024801. I am
still looking but I think the problem is in the return from
XKeyCodeToKeySym in the InitKeyBoardTables routine when n=63, m=1, then
a little further down the call to KeySymToKeyArray fails.

> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives

More information about the Lazarus mailing list