LCL AutoSizing bug
Original Reporter info from Mantis: leledumbo_cool@yahoo.co.id @leledumbo
-
Reporter name: Mario Ray Mahardhika
Original Reporter info from Mantis: leledumbo_cool@yahoo.co.id @leledumbo
- Reporter name: Mario Ray Mahardhika
Description:
It's related to an old bug that causing an exception to occurs when opening this project (I forgot the issue number).
OK, Lazarus can open the project fine now. But it still generates exception at runtime. It happens right after the form is shown (full backtrace is shown below).
When I set AutoSize on MainForm to false, it runs fine.
Program received signal SIGFPE, Arithmetic exception.
0x004429e0 in LCLPROC_RAISEGDBEXCEPTION$ANSISTRING ()
(gdb) bt
#0 0x004429e0 in LCLPROC_RAISEGDBEXCEPTION$ANSISTRING ()
#1 0x0005e130 in ?? ()
#2 0x0009d9b8 in ?? ()
#3 0x004bb6bd in CONTROLS_TCONTROL_$_DOSETBOUNDS$LONGINT$LONGINT$LONGINT$LONGINT_BOUNDSOUTOFBOUNDS ()
#4 0x004bb49a in CONTROLS_TCONTROL_$__DOSETBOUNDS$LONGINT$LONGINT$LONGINT$LONGINT ()
#5 0x004b3cbb in CONTROLS_TWINCONTROL_$__DOSETBOUNDS$LONGINT$LONGINT$LONGINT$LONGINT ()
#6 0x004bb194 in CONTROLS_TCONTROL_$__CHANGEBOUNDS$LONGINT$LONGINT$LONGINT$LONGINT ()
#7 0x004bf2e0 in CONTROLS_TCONTROL_$__SETBOUNDS$LONGINT$LONGINT$LONGINT$LONGINT ()
#8 0x004b9a60 in CONTROLS_TWINCONTROL_$__SETBOUNDS$LONGINT$LONGINT$LONGINT$LONGINT ()
#9 0x004c1c14 in CONTROLS_TCONTROL_$__SETBOUNDSKEEPBASE$LONGINT$LONGINT$LONGINT$LONGINT$BOOLEAN ()
#10 0x004bcaf9 in CONTROLS_TCONTROL_$__SETALIGNEDBOUNDS$LONGINT$LONGINT$LONGINT$LONGINT ()
#11 0x004b3795 in CONTROLS_TWINCONTROL_$__DOAUTOSIZE ()
#12 0x0041643b in FORMS_TCUSTOMFORM_$__DOAUTOSIZE ()
#13 0x004ba967 in CONTROLS_TCONTROL_$__ADJUSTSIZE ()
#14 0x00000003 in ?? ()
#15 0x004b48cc in CONTROLS_TWINCONTROL_$__UPDATESHOWING ()
#16 0x00418013 in FORMS_TCUSTOMFORM_$__UPDATESHOWING ()
#17 0x004b7463 in CONTROLS_TWINCONTROL_$__UPDATECONTROLSTATE ()
#18 0x0009d9b8 in ?? ()
#19 0x0000000e in ?? ()
#20 0x004ba081 in CONTROLS_TWINCONTROL_$__CMVISIBLECHANGED$TMESSAGE ()
#21 0x0055aa70 in $CONTROLS$_Ld432 ()
#22 0x0040ab5a in SYSTEM_TOBJECT_$__DISPATCH$formal ()
#23 0x004ba040 in CONTROLS_TWINCONTROL_$__GETDEVICECONTEXT$LONGWORD$$LONGWORD ()
#24 0x004162e3 in FORMS_TCUSTOMFORM_$__WNDPROC$TMESSAGE ()
#25 0x004160f0 in FORMS_TCUSTOMFORM_$__VISIBLECHANGING ()
#26 0x0008e7a0 in ?? ()
#27 0x00535134 in $FORMS$_Ld200 ()
#28 0x004bc373 in CONTROLS_TCONTROL_$__PERFORM$LONGWORD$LONGINT$LONGINT$$LONGINT ()
#29 0x004c03b9 in CONTROLS_TCONTROL_$__SETVISIBLE$BOOLEAN ()
#30 0x004152e0 in FORMS_TCUSTOMFORM_$__SETVISIBLE$BOOLEAN ()
#31 0x00417714 in FORMS_TCUSTOMFORM_$__SHOW ()
#32 0x0008e7a0 in ?? ()
#33 0x0041c749 in FORMS_TAPPLICATION_$__RUN ()
#34 0x00402a33 in main () at OctaveGUI.lpr:20
Additional information:
FPC 2.5.1 r14263
Lazarus 0.9.29 r22728
Mantis conversion info:
- Mantis ID: 15205
- Version: 0.9.29 (SVN)
- Target version: 1.0.0
- LazTarget: 1.0