You are not logged in.
@ab
mORMot 1.18.2753:
...
2.11. DDD shared units:
- User model: 3,276 assertions passed 463us
! DDD shared units - Authentication model
! Exception EAccessViolation raised with messsage:
! Access violation
- Email validation process: 55 assertions passed 124.19ms
! DDD shared units - User CQRS repository
! Exception EAccessViolation raised with messsage:
! Access violation
2.12. DDD multi thread:
- Delete old database: 1 assertion passed 577us
- Start server: 1 assertion passed 7.91ms
- Single client test: 1,002 assertions passed 172.52ms
- Multi threaded clients test: 21 assertions passed 124.33ms
Total failed: 0 / 1,025 - DDD multi thread PASSED 307.11ms
Using mORMot 1.18.2753 FTS3
Running on Windows 7 64bit SP1 (6.1.7601) with code page 1250
TSQLite3LibraryStatic 3.13.0 with internal MM
Generated with: Free Pascal 3.1.1 compiler
Time elapsed for all tests: 52.61s
Tests performed at 2016-06-18 01:07:32
Total assertions failed for all test suits: 0 / 21,327,100
! Some tests FAILED: please correct the code.
Done - Press ENTER to Exit
mORMot 1.18.2754 - Crashes immediately after START !!!
Michal
Offline
Went the same in my test after updating to revision 3090. Rev 3089 was fine
Offline
It depends on your FPC trunk revision.
See http://synopse.info/forum/viewtopic.php … 783#p20783
If you have issues with this commit (e.g. if you have a trunk from this month), disable HASDIRECTTYPEINFO conditional below $ifdef VER3_1 in Synopse.inc.
I would disable it by default in a few weeks, when the trunk would be stabilized...
Sven introduced a breaking change in the FPC trunk.
http://wiki.freepascal.org/User_Changes … mat_change
With no FPC_HAS_* associated conditional.
I was not able to find an automated way of identifying if the breaking change was included or not...
Online
@miab3
Please note that the errors in 2.11. DDD shared units are caused by optimizations problems in FPC.
Using -O0 or -O1 under i386 would be ok.
See: http://bugs.freepascal.org/view.php?id=30255
edit
My bad, this FPC bug was already solved: http://svn.freepascal.org/cgi-bin/viewv … sion=33948
Using -O2 on x86_64 is ok however.
Last edited by AOG (2016-06-18 05:51:55)
Offline
mORMot 1.18.2754 with
280: {.$define HASDIRECTTYPEINFO}:
...
2.11. DDD shared units:
- User model: 3,276 assertions passed 463us
! DDD shared units - Authentication model
! Exception EAccessViolation raised with messsage:
! Access violation
- Email validation process: 55 assertions passed 30.68ms
! DDD shared units - User CQRS repository
! Exception EAccessViolation raised with messsage:
! Access violation
2.12. DDD multi thread:
- Delete old database: 1 assertion passed 716us
- Start server: 1 assertion passed 9.02ms
- Single client test: 1,002 assertions passed 177.55ms
- Multi threaded clients test: 21 assertions passed 147.56ms
Total failed: 0 / 1,025 - DDD multi thread PASSED 337.11ms
Using mORMot 1.18.2754 FTS3
Running on Windows 7 64bit SP1 (6.1.7601) with code page 1250
TSQLite3LibraryStatic 3.13.0 with internal MM
Generated with: Free Pascal 3.1.1 compiler
Time elapsed for all tests: 57.48s
Tests performed at 2016-06-18 10:08:18
Total assertions failed for all test suits: 0 / 21,326,971
! Some tests FAILED: please correct the code.
Done - Press ENTER to Exit
Michal
Offline
Did you try with -O0 and/or -O1 optimizations ?
Offline
I compiled TestSQL3.exe (from source 2016-06-30_140818) with Lazarus 1.6, FPC 3.0.0, ran it with Windows 10, got a lot of AV too, first one was:
! - Url encoding: 5 / 150 FAILED 2.19ms
Offline
Win32 platform?
I have compiled and test with both 32bit and 64bit, both have a lot of AV. Last night I tried New Pascal package and result was the same.
Last edited by Bo (2016-07-06 00:57:38)
Offline
Just downloaded latest mORMot, compiled and ran TestSQLite3.exe 32bit on my Win8.1 codepage 1252 machine: 100% success and (as a trivial result) no AV.
My conclusion: there is something special about your PC or your mORMot / FPC setup !?
Offline
@AOG,
I still haven started using Lazarus. So today I downloaded the official mormot and your fork for fpc, I compiled the testsqlit3 project successfully with the fpclazrtticross Lazarus/FPC distribuation you provided earlier.
But interestingly, it emits the following runtime error:
[Window Title]
Error
[Content]
Project TestSQL3 raised exception class 'External: SIGSEGV'.
At address 458577
[OK]
I think I should download a new version of your cross-compile-ready Lazarus, or download and use the https://github.com/dathox/newpascalpack instead?
I'm a bit confused by the newpascal.org project now - it seems that it integrates your work, but from what I see in the download .zip file, it doesn't contain files for cross-compiling for Linux.
Thanks in advance, for your possible clarification and advises
Last edited by edwinsn (2016-07-06 14:21:36)
Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.
Offline
On July 7, 2016 all tests went OK using the newpascal.org distribution: http://synopse.info/forum/viewtopic.php … 989#p20989
Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.
Offline