synopse / mORMot2

OpenSource RESTful ORM/SOA/MVC Framework for Delphi and FreePascal
https://synopse.info
Other
531 stars 132 forks source link

Test suite execution fails in Delphi 7: Access violation #323

Closed ptvoinfo closed 2 days ago

ptvoinfo commented 2 days ago

I'm trying to make a simple test for my unit, but execution fails with Access Violation in the following place:

Rtti.RegisterFromText([ TypeInfo(TSmbiosBios), _TSmbiosBios, TypeInfo(TSmbiosSystem), _TSmbiosSystem, ^^^^^^^^^ Access violation is here.

It looks, the code does not check the boundaries of in a string.

img1

synopse commented 2 days ago

I just run the mORMot 2 regression tests on Delphi 7 with no trouble. The problem is likely to be somewhere in your code.

Please use the forum for this. Opening here an issue is only if there is an issue in the framework.