Package xmlresource crashes the IDE
- Lazarus/FPC Version: Lazarus 2.3.0 (rev main-2_3-1339-g2a2e5271) FPC 3.2.2 i386-win32-win32/win64, but the issue happens also with the v2.2.2 release
- Operating System: Win 11 (probably others affected as well)
- CPU / Bitness: 32-bit IDE (but tested Laz 2.2.2 at 64 bit - same issue)
What happens
Among the sample projects in the examples
folder there is a package xmlresource
demonstrating how xml can be registered as form file format. A forum user installed this package and reported that he crashes the IDE when a form is saved (https://forum.lazarus.freepascal.org/index.php/topic,59481.msg443398.htm).
Steps to reproduce
I confirm his observations:
- Installed the xmlresource package
- Save the default project with is created when the IDE opens --> the IDE does not respond any more. After some time there is an exception message saying that an abstract method is called.
- Killed the IDE by the Windows Task Manager, restarted, uninstalled the xmlresource package --> ok again.
Further observations
When I compile the xml resource package there are these compiler hints/warnings:
- xmlresourcefile.pas(657,43) Warning: Constructing a class "TXMLObjectWriter" with abstract method "WriteSignature"
- classesh.inc(1455,15) Hint: Found abstract method: WriteSignature();