#1 2015-11-29 09:13:46

DanT
Member
Registered: 2015-11-29
Posts: 1

TestSQL3 compiled with XE5 on windows 7 64bit

With the latest nigtly build, the only errors received:

 1.2. Low level types:
  - RTTI: 61 assertions passed  1.07ms
  - Url encoding: 200 assertions passed  1.24ms
! Low level types - Encode decode JSON
! Exception EAccessViolation raised with messsage:
!  Access violation at address 007B1FE5 in module 'TestSQL3.exe'. Read of addres
s 00000004
  - Variants: 46 assertions passed  317us
!  - Mustache renderer: 5 / 49 FAILED  19.19ms
  - TDocVariant: 70,579 assertions passed  108.45ms
  - BSON: 245,050 assertions passed  2.54ms
!  - TSynTableStatement: 4 / 205 FAILED  337us
  Total failed: 12 / 621,045  - Low level types FAILED  4.90s

Any ideas what am I doing wrong?

Offline

#2 2015-11-29 10:38:57

miab3
Member
From: Poland
Registered: 2014-10-01
Posts: 188

Re: TestSQL3 compiled with XE5 on windows 7 64bit

Tests on the current mORMot 1.18.2105 (on Win7-64):


DXE2-Win32

Using mORMot 1.18.2105 FTS3
Running on wSeven_64 with code page 1250
TSQLite3LibraryStatic 3.9.2 with internal MM
Generated with: Delphi XE2 compiler

Time elapsed for all tests: 56.77s
Tests performed at 2015-11-29 10:56:06

Total assertions failed for all test suits:  0 / 21,997,891
! All tests passed successfully.

DXE2-Win64

...
!  - Encode decode JSON: 60 / 303,807 FAILED  119.19ms
...
Using mORMot 1.18.2105 FTS3
Running on wSeven_64 with code page 1250
TSQLite3LibraryDynamic 3.8.7 with internal MM
Generated with: Delphi XE2 64 bit compiler

Time elapsed for all tests: 59.43s
Tests performed at 2015-11-29 11:23:07

Total assertions failed for all test suits:  60 / 21,906,152
! Some tests FAILED: please correct the code.

DX10 Seattle-Win32

Using mORMot 1.18.2105 FTS3
Running on wSeven_64 with code page 1250
TSQLite3LibraryStatic 3.9.2 with internal MM
Generated with: Delphi 10 Seattle compiler

Time elapsed for all tests: 48.07s
Tests performed at 2015-11-29 11:07:08

Total assertions failed for all test suits:  0 / 22,021,241
! All tests passed successfully.

DX10 Seattle-Win64

Using mORMot 1.18.2105 FTS3
Running on wSeven_64 with code page 1250
TSQLite3LibraryDynamic 3.8.7 with internal MM
Generated with: Delphi 10 Seattle 64 bit compiler

Time elapsed for all tests: 45.81s
Tests performed at 2015-11-29 11:10:37

Total assertions failed for all test suits:  0 / 21,933,835
! All tests passed successfully.

What is interesting only for DX10 Seattle-Win64, I got:

Building TestSQL3.dproj (Debug, Win64)
...
[dcc64 Hint] SynSelfTests.pas(3418): H2135 FOR or WHILE loop executes zero times - deleted
[dcc64 Hint] SynSelfTests.pas(3419): H2135 FOR or WHILE loop executes zero times - deleted
[dcc64 Hint] SynSelfTests.pas(3420): H2135 FOR or WHILE loop executes zero times - deleted
[dcc64 Hint] SynSelfTests.pas(3423): H2135 FOR or WHILE loop executes zero times - deleted
[dcc64 Hint] SynSelfTests.pas(3424): H2135 FOR or WHILE loop executes zero times - deleted
[dcc64 Hint] SynSelfTests.pas(3425): H2135 FOR or WHILE loop executes zero times - deleted
[dcc64 Hint] SynSelfTests.pas(3426): H2135 FOR or WHILE loop executes zero times - deleted
...
Success

Michal

Last edited by miab3 (2015-11-29 11:20:47)

Offline

#3 2015-11-29 11:21:12

miab3
Member
From: Poland
Registered: 2014-10-01
Posts: 188

Re: TestSQL3 compiled with XE5 on windows 7 64bit

@ab:
I wonder why the Total for each test is different?

Michal

Offline

#4 2015-11-29 18:04:19

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,655
Website

Re: TestSQL3 compiled with XE5 on windows 7 64bit

[dcc64 Hint] SynSelfTests.pas(3418): H2135 FOR or WHILE loop executes zero times - deleted

Is true, but expected.
I do not know why the latest Win64 compiler is so paranoid.

I wonder why the Total for each test is different?

Because there are some random checks, and some time-specific behavior, depending on each execution.

About Delphi XE2, I do not know.
Some weird bug at the compiler level. It happens...
What are the falling tests?
BTW, try to download a more recent sqlite3-64.dll version, e.g. from our http://synopse.info/files/SQLite3-64.7z link.

Offline

Board footer

Powered by FluxBB