View Revisions: Issue #33772

Summary 0033772: crash with sparta form editor
Revision 2018-05-22 14:02 by Martin Friebe
Additional Information The IDE is compiled with fpc 3.0.4 for 64 bit
IDE build opts: -gh -g -gl -gw -godwarfsets -CX -XX -Xs -gt -O2 -WC -Ct -Co -Ci -Cr

-gh may be essential to get the issue.

At the line, follow the properties "Left","Top",... they accesses DesignedForm, and f.FDesignedForm = DEADBEAF

The attached xml file can be imported into the "debug history" window (open project ide/lazarus). It contains the stacktrace, and some watch values for the top 3 frames. (select/double click the entry in the history window after import, open stack and watch window)


#0 ?? at :0
0000001 ONDESIGNREFRESHPROPERTYVALUES(0x68231b0) at source\sparta_edtu_main.pas:239
0000002 SETROOT(0x68231b0, 0x0) at source\sparta_edtu_main.pas:158
0000003 SETDESIGNEDFORM(0x68231b0, 0x1647d5b0) at source\sparta_resizer.pas:65
0000004 ?? at :0
0000005 RTTI_$SPARTA_DESIGNEDFORM_$$_IDESIGNEDFORMIDE at :0
0000006 ?? at :0
0000007 ?? at :0
0000008 SETDESIGNFORMDATA(0x68231b0, 0x1647d5b0) at source\sparta_mainide.pas:633
0000009 SETACTIVEDESIGNFORMDATA(0x68231b0, 0x1647d5b0) at source\sparta_mainide.pas:701
0000010 TABCHANGE(0x1013ac910, 0x73d6ed0) at source\sparta_mainide.pas:1437
0000011 DOCHANGE(0x0) at include\customnotebook.inc:335
0000012 CHANGE(0x68231b0) at include\customnotebook.inc:1046
0000013 ?? at :0
0000014 ?? at :0
0000015 CNNOTIFY(0x68231b0, {MSG = 373801520, UNUSEDMSG = 0, IDCTRL = 0, NMHDR = 0x100e84718, RESULT = 0}) at include\customnotebook.inc:1109
0000016 COMCTRLS$_$TCUSTOMTABCONTROL_$__$$_INTERNALSETPAGEINDEX$LONGINT at :0
0000017 ?? at :0
0000018 ?? at :0




Installed packages (from conf staticpackages.inc)
anchordockpkg,
filefindlaz,
pascalscript,
sparta_mdi,
anchordockingdsgn,
customdrawn,
dbflaz,
editormacroscript,
exploreidemenu,
externhelp,
fpcunitide,
idefilebrowser,
ideinspector,
jcfidelazarus,
jumptoimplementation,
lazc,
lazcustforms,
lazsvnpkg,
leakview,
sparta_dockedformeditor,
sparta_toolsapi,
sqldblaz,
allsyneditdsgn,
sparta_smartformeditor,
Revision 2018-05-22 13:58 by Martin Friebe
Additional Information The IDE is compiled with fpc 3.0.4 for 64 bit
IDE build opts: -gh -g -gl -gw -godwarfsets -CX -XX -Xs -gt -O2 -WC -Ct -Co -Ci -Cr

-gh may be essential to get the issue.

At the line, follow the properties "Left","Top",... they accesses DesignedForm, and f.FDesignedForm = DEADBEAF

The attached xml file can be imported into the "debug history" window. It contains the stacktrace, and some watch values for the top 3 frames. (select/double click the entry in the history window after import, open stack and watch window)


#0 ?? at :0
0000001 ONDESIGNREFRESHPROPERTYVALUES(0x68231b0) at source\sparta_edtu_main.pas:239
0000002 SETROOT(0x68231b0, 0x0) at source\sparta_edtu_main.pas:158
0000003 SETDESIGNEDFORM(0x68231b0, 0x1647d5b0) at source\sparta_resizer.pas:65
0000004 ?? at :0
0000005 RTTI_$SPARTA_DESIGNEDFORM_$$_IDESIGNEDFORMIDE at :0
0000006 ?? at :0
0000007 ?? at :0
0000008 SETDESIGNFORMDATA(0x68231b0, 0x1647d5b0) at source\sparta_mainide.pas:633
0000009 SETACTIVEDESIGNFORMDATA(0x68231b0, 0x1647d5b0) at source\sparta_mainide.pas:701
0000010 TABCHANGE(0x1013ac910, 0x73d6ed0) at source\sparta_mainide.pas:1437
0000011 DOCHANGE(0x0) at include\customnotebook.inc:335
0000012 CHANGE(0x68231b0) at include\customnotebook.inc:1046
0000013 ?? at :0
0000014 ?? at :0
0000015 CNNOTIFY(0x68231b0, {MSG = 373801520, UNUSEDMSG = 0, IDCTRL = 0, NMHDR = 0x100e84718, RESULT = 0}) at include\customnotebook.inc:1109
0000016 COMCTRLS$_$TCUSTOMTABCONTROL_$__$$_INTERNALSETPAGEINDEX$LONGINT at :0
0000017 ?? at :0
0000018 ?? at :0




Installed packages (from conf staticpackages.inc)
anchordockpkg,
filefindlaz,
pascalscript,
sparta_mdi,
anchordockingdsgn,
customdrawn,
dbflaz,
editormacroscript,
exploreidemenu,
externhelp,
fpcunitide,
idefilebrowser,
ideinspector,
jcfidelazarus,
jumptoimplementation,
lazc,
lazcustforms,
lazsvnpkg,
leakview,
sparta_dockedformeditor,
sparta_toolsapi,
sqldblaz,
allsyneditdsgn,
sparta_smartformeditor,