Generated DXF file opens in AutoCAD but chrashes BricsCAD

I am working on a DXF (AC1021 version) exporter in Delphi and I ran into some problems. I was looking closely at ezdxf for minimum file structure and I was able to successfully generate it in delphi.

Now the problem I have is that the generated file works OK in AutoCAD but chrashes BricsCAD as soon as I try to click on entity from block.

Below I am sending you my generated file from my google drive. Maybe somebody knows an analyzing tool are maybe has an idea what is wrong with my dxf exporter. Thanks for all the hints!

This discussion has been closed.