Hi,

when compiled with debug info, lazarus does not run (range check errors)

compile command
make PREFIX=/usr clean all LCL_PLATFORM=gtk2 OPT="-dDEBUG"

fpc 2.2.0
platform linux
svn 13501

console output:
$./lazarus
TApplication.IconChanged - TODO: convert this message...no implementation in 
gtk or win32
TApplication.HandleException Range check error
  Stack trace:
  $08163DC5  TFONT__REFERENCENEEDED,  line 1066 of ./include/font.inc
  $0816435E  TFONT__GETREFERENCE,  line 1157 of ./include/font.inc
  $081650BF  TCANVAS__CREATEFONT,  line 199 of ./include/canvas.inc
  $0818A6FB  TCONTROLCANVAS__CREATEFONT,  line 41 
of ./include/controlcanvas.inc
  $08169196  TCANVAS__REQUIREDSTATE,  line 1529 of ./include/canvas.inc
  $08168323  TCANVAS__GETUPDATEDHANDLE,  line 1161 of ./include/canvas.inc
  $08167D3B  TCANVAS__TEXTRECT,  line 1064 of ./include/canvas.inc
  $0809538D  TSPLASHFORM__IMAGEPAINT,  line 131 of splash.pp
  $081AD498  TGRAPHICCONTROL__PAINT,  line 90 of ./include/graphiccontrol.inc
  $081CE712  TCUSTOMIMAGE__PAINT,  line 264 of ./include/customimage.inc
  $081AD368  TGRAPHICCONTROL__WMPAINT,  line 64 
of ./include/graphiccontrol.inc
  $080675E9
  $081A3062  TCONTROL__PERFORM,  line 1016 of ./include/control.inc
  $08197E6F  TWINCONTROL__PAINTCONTROLS,  line 4294 
of ./include/wincontrol.inc
  $08197BBE  TWINCONTROL__PAINTHANDLER,  line 4233 of ./include/wincontrol.inc
  $0819BF38  TWINCONTROL__WMPAINT,  line 5976 of ./include/wincontrol.inc
  $081AD8A1  TCUSTOMCONTROL__WMPAINT,  line 107 of ./include/customcontrol.inc
[FORMS.PP] ExceptionOccurred
  Sender=ERangeError
  Exception=Range check error
  Stack trace:
  $08163DC5  TFONT__REFERENCENEEDED,  line 1066 of ./include/font.inc
  $0816435E  TFONT__GETREFERENCE,  line 1157 of ./include/font.inc
  $081650BF  TCANVAS__CREATEFONT,  line 199 of ./include/canvas.inc
  $0818A6FB  TCONTROLCANVAS__CREATEFONT,  line 41 
of ./include/controlcanvas.inc
  $08169196  TCANVAS__REQUIREDSTATE,  line 1529 of ./include/canvas.inc
......

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

Reply via email to