----- Original Message ----- From: "Jesus Reyes" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, November 23, 2007 20:11
Subject: Re: [lazarus] Buffer Overflow



--- Jeff Steinkamp <[EMAIL PROTECTED]> escribió:

I just rebuilt Lazarus with SVN 12973 on my Linux box with GTK2 and
upon
restart I got a error dialog that said buffer overflow.  Here is
the
output trace:

TLazarusManager.Run starting /home/n7yg/.lazarus/bin/lazarus ...
TApplication.IconChanged - TODO: convert this message...no
implementation in gtk or win32
[TMainIDE.Destroy] A
[TMainIDE.Destroy] B  -> inherited Destroy... TMainIDE
[TMainIDE.Destroy] END
[FORMS.PP] ExceptionOccurred
  Sender=Ecompressionerror
  Exception=buffer error
  Stack trace:
  $081A26DE
  $0819BC0B
  $0819B9E4
  $08196D9D
  $081949E1
  $081367E1  TFPIMAGEBITMAP__READSTREAM,  line 1926 of graphics.pp
  $0812BFD4  TBITMAP__LOADFROMSTREAM,  line 459 of
./include/bitmap.inc
  $08127A10  LOADBITMAPFROMLAZARUSRESOURCE,  line 1509 of
graphics.pp
  $08090CE6  CREATEBUTTON,  line 1431 of main.pp
  $0809084B  TMAINIDE__SETUPSPEEDBUTTONS,  line 1460 of main.pp
  $0808FAB7  TMAINIDE__CREATE,  line 1117 of main.pp
  $0805C023  main,  line 93 of lazarus.pp
TApplication.HandleException buffer error
  Stack trace:
  $081A26DE
  $0819BC0B
  $0819B9E4
  $08196D9D
  $081949E1
  $081367E1  TFPIMAGEBITMAP__READSTREAM,  line 1926 of graphics.pp
  $0812BFD4  TBITMAP__LOADFROMSTREAM,  line 459 of
./include/bitmap.inc
  $08127A10  LOADBITMAPFROMLAZARUSRESOURCE,  line 1509 of
graphics.pp
  $08090CE6  CREATEBUTTON,  line 1431 of main.pp
  $0809084B  TMAINIDE__SETUPSPEEDBUTTONS,  line 1460 of main.pp
  $0808FAB7  TMAINIDE__CREATE,  line 1117 of main.pp
  $0805C023  main,  line 93 of lazarus.pp

It seems to run fine under GTK

Jeff Steinkamp - N7YG
Tucson, AZ
SCUD Missile Coordinates
N32-13-55.01 W110-50-51.91
http://n7yg.net
http://home.earthlink.net/~jksteinkamp
Linux User #420428
Skype : jeff_steinkamp
Yahoo Messenger: n7yg


The problem is a recent change in FPC, it's already reported in
http://www.freepascal.org/mantis/view.php?id=10232

if you compile your own FPC from SVN, for a quick fix, enter
directory fpc/packages/paszlib/src and update to r9290 (svn update
-r9290) recompile everything and that should do it.

Jesus Reyes A.


Thanks, That has fixed the problem

Jeff
_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to