View Issue Details

IDProjectCategoryView StatusLast Update
0033772LazarusPackagespublic2019-11-29 13:36
ReporterMartin FriebeAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platform64bit IntelOSwin 10OS Version10
Product Version1.9 (SVN)Product Build58001 
Target VersionFixed in Version 
Summary0033772: crash with sparta form editor
DescriptionDocked IDE (SourceEdit, MenuBar, Messages all docked together)

Switching to the form editor (and working on the form) results in access violations.
Steps To ReproduceOpen 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 InformationThe 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,
TagsNo tags attached.
Fixed in Revision
LazTarget-
WidgetsetWin32/Win64
Attached Files

Relationships

related to 0036151 new Access violation in Lazarus IDE when sparta_DockedFormEditor is installed and a unit with a frame is closed 
related to 0036375 new [Sparta] Access error on Toggle Form/Unit View (F12) 

Activities

Martin Friebe

2018-05-22 13:58

manager  

spartacrash.xml (486,809 bytes)

Akira1364

2018-05-24 23:08

reporter   ~0108518

Since when does the "smart" form editor package work at all in the first place?

Juha Manninen

2019-10-08 19:30

developer   ~0118427

Last edited: 2019-10-08 21:16

View 2 revisions

Martin has also sparta_smartformeditor installed. Apparently sparta_smartformeditor depends on sparta_dockedformeditor. What is their difference anyway?
The related issue has only sparta_dockedformeditor installed.
The backtrace is different but may be caused by the same memory management issue.

Issue History

Date Modified Username Field Change
2018-05-22 13:58 Martin Friebe New Issue
2018-05-22 13:58 Martin Friebe File Added: spartacrash.xml
2018-05-22 14:02 Martin Friebe Additional Information Updated View Revisions
2018-05-24 23:08 Akira1364 Note Added: 0108518
2019-10-08 19:26 Juha Manninen Relationship added related to 0036151
2019-10-08 19:30 Juha Manninen Note Added: 0118427
2019-10-08 21:16 Juha Manninen Note Edited: 0118427 View Revisions
2019-11-29 13:36 Juha Manninen Relationship added related to 0036375