[lazarus] Compiling lazarus
Marc Weustink
marc at dommelstein.net
Mon Nov 17 20:08:05 EST 2003
At 01:25 18-11-2003, Raúl Moratalla wrote:
>I'm trying to debug the program but I don't know why happen this. Could
>you help me?
>I would like to run lazarus and begin writting code wiht it, and in a
>future I would like to contribute to lazarus development.
>Thanks
How much memory do you have ?
Marc
>El dom, 16-11-2003 a las 21:08, Raúl Moratalla escribió:
> > Hi, I've downloaded again the source code of Lazarus from CVS and I'm
> > still getting problems with it :(
> >
> > [FORMS.PP] ExceptionOccurred
> > Sender=EOutOfMemory
> > Exception=Out of memory
> > TApplication.HandleException Out of memory
> > Runtime error 217 at 0x0836B468
> > 0x0836B468
> > 0x0836B800
> > 0x082AABE4 TLRESOURCELIST__ADD, line 305 of lresources.pp
> > 0x0835910D SPLASH_init, of splash.pp
> > 0x0836D1DB
> > 0x08373DDB main, line 61 of lazarus.pp
> > 0x080529F7
> >
> > I'm compiling it with FPC 1.9 under Fedora Core 1.
> >
> > El sáb, 15-11-2003 a las 16:34, Marc Weustink escribió:
> > > At 15:33 15-11-2003, Bob Wingard wrote:
> > > > >
> > > >Marc,
> > > > I am getting a range exception message as well when I do a
> debug
> > > > build
> > > >of lazarus.
> > >
> > > :(
> > >
> > > I don't like rangechecks when I ment it that way
> > >
> > > OK, I added a cast, so I guess it is fixed now.
> > >
> > >
> > > >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.
> > >
> > > Thanks for trace. It easier to find it this way.
> > >
> > > the line K := AKeySym shr 16 is the problem when you have rangechecks
> > > turned on.
> > >
> > > K is a Byte, AKeysym shr 16 is larger than a byte so this causes a
> > > rangechek error. (I only needed the lower byte)
> > >
> > > Marc
> > >
> > >
> > > _________________________________________________________________
> > > To unsubscribe: mail lazarus-request at miraclec.com with
> > > "unsubscribe" as the Subject
> > > archives at http://www.lazarus.freepascal.org/mailarchives
> > >
> >
> > _________________________________________________________________
> > To unsubscribe: mail lazarus-request at miraclec.com with
> > "unsubscribe" as the Subject
> > archives at http://www.lazarus.freepascal.org/mailarchives
> >
>
>_________________________________________________________________
> 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