#1 2025-08-12 11:43:25

damiand
Member
From: Greece
Registered: 2018-09-21
Posts: 102

mormot2tests compiled by Delphi 12.3 fail

The execution of mormot2tests compiled (either in 32 or 64 bits target) by Delphi 12.3 fails, with the following error:

! Core crypto - Benchmark
! Exception EAccessViolation at 744d3f: 2025-08-12 11:35:13 [Access violation at address 0000000000744D3F in module 'mormot2tests.exe' (offset 3E4D3F). Read of address 0000000000000850]

Software version and platform info follows:

Software version tested: 2.3.11967 (2025-08-12 14:29:12)

Windows 11 64bit 24H2 (10.0.26100.4652) [ms1253 31.1GB 65F41B01]
    24 x AMD Ryzen AI 9 HX 370 w/ Radeon 890M [16MB] (x64)
    on ASUSTeK COMPUTER INC. ASUS Zenbook S 16 UM5606WA_UM5606WA 1.0
Using mORMot 2.3.11967 12 Aug 2025
    TSqlite3LibraryStatic 3.46.1 with internal MM
Generated with: Delphi 12.3 Athens 64 bit Win compiler

Time elapsed for all tests: 1m41
Performed 12 Aug 2025, 14:36:08 by damia on DONNAELVIRA

Total assertions failed for all test suits:  0 / 136,089,189
! Some tests FAILED: please correct the code.

Offline

#2 2025-08-12 16:36:59

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 15,134
Website

Re: mormot2tests compiled by Delphi 12.3 fail

With Delphi 12.2 no problem with tonight's state:

https://gist.github.com/synopse/83d7b26 … e16b94585e

Offline

#3 2025-08-13 07:16:34

damiand
Member
From: Greece
Registered: 2018-09-21
Posts: 102

Re: mormot2tests compiled by Delphi 12.3 fail

Hmm... with Delphi 12.2 in a Win10 64bits VM (Linux kvm/qemu) of mine, fails at the same point:

https://gist.github.com/dadim/a9479de2b … 0de6c59f6c

It's quite strange... is it something related to OpenSSL?

I don't think that I have installed anything related to it on these machines.

UPDATE:

Indeed, it is due to OpenSSL. When I temporarily updated my PATH adding the path to GitGUI's openssl executable in the console session before the tests execution, all tested passed!

https://gist.github.com/dadim/1a7c478fe … 246861d23b

Last edited by damiand (2025-08-13 07:38:23)

Offline

#4 2025-08-13 10:35:04

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 15,134
Website

Re: mormot2tests compiled by Delphi 12.3 fail

Running on BOCHS?
cool

You are right: I was expecting OpenSSL to be available.
sad

Now it should be fine with or without it:
https://github.com/synopse/mORMot2/commit/76d4c29d0

Offline

Board footer

Powered by FluxBB