crash with sparta form editor
Original Reporter info from Mantis: Martin @martin_frb
-
Reporter name: Martin Friebe
Original Reporter info from Mantis: Martin @martin_frb
- Reporter name: Martin Friebe
Description:
Docked IDE (SourceEdit, MenuBar, Messages all docked together)
Switching to the form editor (and working on the form) results in access violations.
Steps to reproduce:
Open a new project/application and then just switch to the form editor (click the button or use F12).
This always give an access violation.
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
#1 ONDESIGNREFRESHPROPERTYVALUES(0x68231b0) at source\sparta_edtu_main.pas:239
#2 SETROOT(0x68231b0, 0x0) at source\sparta_edtu_main.pas:158
#3 SETDESIGNEDFORM(0x68231b0, 0x1647d5b0) at source\sparta_resizer.pas:65
#4 ?? at :0
#5 RTTI_$SPARTA_DESIGNEDFORM_$$_IDESIGNEDFORMIDE at :0
#6 ?? at :0
#7 ?? at :0
#8 SETDESIGNFORMDATA(0x68231b0, 0x1647d5b0) at source\sparta_mainide.pas:633
#9 SETACTIVEDESIGNFORMDATA(0x68231b0, 0x1647d5b0) at source\sparta_mainide.pas:701
#10 TABCHANGE(0x1013ac910, 0x73d6ed0) at source\sparta_mainide.pas:1437
#11 DOCHANGE(0x0) at include\customnotebook.inc:335
#12 CHANGE(0x68231b0) at include\customnotebook.inc:1046
#13 ?? at :0
#14 ?? at :0
#15 CNNOTIFY(0x68231b0, {MSG = 373801520, UNUSEDMSG = 0, IDCTRL = 0, NMHDR = 0x100e84718, RESULT = 0}) at include\customnotebook.inc:1109
#16 COMCTRLS$_$TCUSTOMTABCONTROL_$__$$_INTERNALSETPAGEINDEX$LONGINT at :0
#17 ?? at :0
#18 ?? 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,
Mantis conversion info:
- Mantis ID: 33772
- OS: win 10
- OS Build: 10
- Build: 58001
- Platform: 64bit Intel
- Version: 1.9 (SVN)
- Monitored by: » K155LA3 (K155LA3)