I am trying to run Lazarus (build 9246) on x86_64-redhat-linux with FPC 2.0.3 (build 3429). When opening certain dialogs in the IDE, I get exceptions. As an example, this error was generated by clicking on Environment | Environment options:
TApplication.HandleException Invalid floating point operation Stack trace: $000000000052C267 GETCHILDMINRESIZE, line 616 of ./include/wincontrol.inc $000000000052BBE4 TAUTOSIZEBOX__RESIZECHILDS, line 780 of ./include/wincontrol.inc $000000000052CCCB TAUTOSIZEBOX__RESIZETABLE, line 806 of ./include/wincontrol.inc $000000000052D0A0 TAUTOSIZEBOX__ALIGNCONTROLSINTABLE, line 896 of ./include/wincontrol.inc $0000000000534933 TWINCONTROL__ALIGNNONALIGNEDCONTROLS, line 4155 of ./include/wincontrol.inc $000000000052E053 DOALIGNNOTALIGNED, line 1586 of ./include/wincontrol.inc $000000000052DE60 TWINCONTROL__ALIGNCONTROLS, line 1639 of ./include/wincontrol.inc $0000000000534E05 TWINCONTROL__ALIGNCONTROL, line 4277 of ./include/wincontrol.inc $00000000005347E8 TWINCONTROL__REALIGN, line 4100 of ./include/wincontrol.inc $00000000005300E4 TWINCONTROL__ENABLEALIGN, line 2092 of ./include/wincontrol.inc $000000000053A270 TCONTROL__CHANGEBOUNDS, line 390 of ./include/control.inc $000000000053F2BA TCONTROL__SETBOUNDS, line 2492 of ./include/control.inc $0000000000537ACE TWINCONTROL__SETBOUNDS, line 5575 of ./include/wincontrol.inc $0000000000542CDF TCONTROL__SETBOUNDSKEEPBASE, line 8386 of ./include/control.inc $000000000053C638 TCONTROL__SETALIGNEDBOUNDS, line 1275 of ./include/control.inc $000000000052EBB3 DOPOSITION, line 1433 of ./include/wincontrol.inc $000000000052E25A DOALIGN, line 1557 of ./include/wincontrol.inc It seems as if the exception occurs in the following piece of code: CurScale:=double(Child.MinimumSize[Orientation]) /Child.PreferredSize[Orientation]; A hack around this issue is to insert an exit command just before line 616 in wincontrol.inc, but this obviously stuffs up resizing and probably has other side effects too. Regards, Christo ---------------------------------------------------------------------------- NOTICE: Please note that this eMail, and the contents thereof, is subject to the standard Sasol eMail legal notice which may be found at: http://www.sasol.com/legalnotices If you cannot access the legal notice through the URL attached and you wish to receive a copy thereof please send an eMail to [EMAIL PROTECTED] ---------------------------------------------------------------------------- _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
