Crash when saving DataModule
Original Reporter info from Mantis: Martok @martok
-
Reporter name:
Original Reporter info from Mantis: Martok @martok
- Reporter name:
Description:
Saving TDataModule descendants is completely broken.
[Window Title]
Streaming-Fehler
[Content]
Kann DataModule3 nicht streamen: TDataModule3
Access violation
Pfad zur fehlgeschlagenen Instanz:
TDataModule3
Seems to be a component streaming issue (in that case, please move this report to Compiler/RTL), but there is some corruption involved and I can't get breakpoints to work when debugging the IDE, so I can't confirm what side the problem is on.
Lazarus trunk r64727
FPC trunk r48870
Steps to reproduce:
- Create a Datamodule: File -> New -> Datamodule
- Try to save it
Additional information:
(line numbers are displayed in the stack trace dialog, but for some reason don't get copied...)
#0 CLASSES$_$TDATAMODULE_$__$$_DEFINEPROPERTIES$TFILER at dm.inc:88
#1 CLASSES$_$TWRITER_$__$$_WRITEPROPERTIES$TPERSISTENT at writer.inc:841
#2 CLASSES$_$TWRITER_$__$$_WRITECOMPONENTDATA$TCOMPONENT at writer.inc:747
#3 CLASSES$_$TCOMPONENT_$__$$_WRITESTATE$TWRITER at :0
#4 CLASSES$_$TWRITER_$__$$_WRITECOMPONENT$TCOMPONENT at :0
#5 CLASSES$_$TWRITER_$__$$_WRITEDESCENDENT$TCOMPONENT$TCOMPONENT at :0
#6 SAVEUNITCOMPONENT(0x13c3dde8, 0x0, 0x0, [SFSAVEAS, SFCHECKAMBIGUOUSFILES]) at sourcefilemanager.pas:5096
#7 SAVEEDITORFILE(0x14568588, [SFSAVEAS, SFCHECKAMBIGUOUSFILES]) at sourcefilemanager.pas:2556
#8 DOSAVEEDITORFILE(0x12213ba0, 0x14568588, [SFCHECKAMBIGUOUSFILES]) at main.pp:5719
#9 MNUSAVECLICKED(0x12213ba0, 0x174525d0) at main.pp:3332
Mantis conversion info:
- Mantis ID: 38588