LoadLfm crash on unknown lfm entry with sub-object
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:
Attached files are from the cef3 package.
However: DO NOT ADD/INSTALL this package. => The IDE must fail to open the package.
The LFM contains
object Chromium: TChromium
AnchorSideLeft.Control = Owner
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = Owner
AnchorSideBottom.Side = asrBottom
TChromium is not a registered component.
The IDE will complain while loading => continue
The IDE will complain about the Anchorside. (continue once, then cancel loading the one component)
The IDE will (run time check assumed) crash
#0 HANDLEERRORADDRFRAME(210, 0x10090d48c, 0x13fedc0) at ..\inc\system.inc:1105
#1 HANDLEERRORADDRFRAMEIND(210, 0x10090d48c, 0x13fedc0) at ..\inc\system.inc:1124
#2 fpc_handleerror(210) at ..\inc\system.inc:1144
#3 _$SOURCEFILEMANAGER$_Lj18084(0xd0a6770, 0x133a5fb0, [ofProjectLoading..ofOnlyIfExists, ofMultiOpen], [cfSaveDependencies]) at :6167
#4 LoadLFM(0xd0a6770, [ofProjectLoading..ofOnlyIfExists, ofMultiOpen], [cfSaveDependencies]) at sourcefilemanager.pas:5916
#5 InitOpenedProjectFile(0x13fef98 #248#160'b'#12, [ofAddToRecent]) at sourcefilemanager.pas:3778
#6 DoOpenProjectFile(0x63d9730, 0x13ff098 #248#160'b'#12, [ofAddToRecent]) at main.pp:6509
#7 OpenEditorFile(0x13143170, -1, 0, 0x0, [ofAddToRecent]) at sourcefilemanager.pas:1263
#8 OpenEditorFile(0x13ff248 #232#220'e'#19, -1, 0, 0x0, [ofAddToRecent], false) at sourcefilemanager.pas:353
#9 DoOpenEditorFile(0x63d9730, 0x13ff2b8 #232#220'e'#19, -1, 0, 0x0, [ofAddToRecent]) at main.pp:5786
SourceFileManage line 6167
AnUnitInfo.ResourceBaseClass:=GetComponentBaseClass(NewComponent.ClassType);
NewComponent is nil.
Mantis conversion info:
- Mantis ID: 38417
- OS: win 10
- OS Build: 10
- Platform: 64bit Intel
- Version: 2.1 (SVN)