#1 2025-10-30 21:06:27

Alex724
Member
Registered: 2025-10-30
Posts: 2

Tests 2.2, 2.3, 2.4, 2.5, 2.6, 3.3 do not pass in the 64-bit build

Dear all,

Tests 2.2, 2.3, 2.4, 2.5, 2.6, 3.3 do not pass in the 64-bit build.
In the 32-bit build everything works.

Tests 2.2, 2.3, 2.4, 2.5, 2.6, 3.3 were passed in the 64-bit DEBUG build only by disabling static sqlite (NOSQLITE3STATIC), using sqlite3-64.dll version 3.46.1.

Summary (text):
Pass #1 Win64    Debug     Original                    ERRORS
Pass #2 Win64    Debug     NOSQLITE3STATIC    PASSED
Pass #3 Win64    Release    Original                    ERRORS
Pass #4 Win64    Release    NOSQLITE3STATIC    ERRORS
Pass #5 Win32    Debug     Original                    PASSED
Pass #6 Win32    Debug     NOSQLITE3STATIC    PASSED
Pass #7 Win32    Release    Original                    PASSED
Pass #8 Win32    Release    NOSQLITE3STATIC    PASSED

Summary (pdf):
https://drive.google.com/file/d/1HganIB … drive_link

I use Delphi 10.2 Tokyo (Update 3).
I downloaded the current version from the master branch (I do not use the release version).
I downloaded the static files from https://synopse.info/files/mormot2static.7z
Internet access is available.
I use Windows 10 Pro (22H2) OS on Intel i7-8650U
  Windows Sandbox
  Defender is off
  Console En-US
  chcp 65001
  sqlite3-64.dll from the static folder
  sqlite3.dll (32 bit) from https://sqlite.org/2024/sqlite-dll-win-x86-3460100.zip

Console output + mormot2tests*.log (8 passes) is saved here: https://drive.google.com/drive/folders/ … sp=sharing

Last edited by Alex724 (Yesterday 11:01:04)

Offline

#2 Yesterday 15:28:36

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

Re: Tests 2.2, 2.3, 2.4, 2.5, 2.6, 3.3 do not pass in the 64-bit build

Sorry for the long delay.

I don't have Delphi 10.2 but I can't reproduce it with Delphi 10.4.
https://gist.github.com/synopse/0d5468d … af947f38da

Sounds like an old Delphi bug, IIRC about linking the static files.
On some early Delphi versions, we just can't use the static SQLite3 and need the external dll.

Offline

#3 Yesterday 16:08:32

Alex724
Member
Registered: 2025-10-30
Posts: 2

Re: Tests 2.2, 2.3, 2.4, 2.5, 2.6, 3.3 do not pass in the 64-bit build

Dear ab,

Thank you for your reply! I have pulled the last commit and ran all 64-bit tests again.

I see that the errors with static files remain. I'll use external DLLs (NOSQLITE3STATIC) - that won't be a problem.

I've noticed one thing: all RELEASE-64 configurations still have 2 errors that aren't present in all DEBUG-64 configurations. These errors occur both in static files and when working with DLLs (NOSQLITE3STATIC). Here they are:

Numerical conversions: #5   Numerical conversions: #6   Numerical conversions: #7   Numerical conversions: #8   !  - Numerical conversions: 4 / 2,628,126 FAILED  235.13ms
     100000 FloatToText  in 33.33ms i.e. 2.8M/s, aver. 333ns, 54.4 MB/s
     100000 str  in 29.65ms i.e. 3.2M/s, aver. 296ns, 73.9 MB/s
     100000 DoubleToShort  in 10.74ms i.e. 8.8M/s, aver. 107ns, 186.5 MB/s
     100000 DoubleToAscii  in 9.53ms i.e. 10M/s, aver. 95ns, 212.1 MB/s

! Core crypto - TKerberosKeyTab
! Exception ESynCrypto at 73262c: 2025-11-06 15:34:47 [TSynSigner.Pbkdf2(saSha3S128) with DestLen=32: use SHAKE instead]

Logically speaking, if there is no error in the DEBUG, but there is an error in the RELEASE, then it is definitely some kind of bug.

Offline

Board footer

Powered by FluxBB