#1 2016-01-21 12:36:32

dexter
Member
Registered: 2015-04-24
Posts: 53

TestSQL3 results with FPC/trunk

Hi,

I have a lot of errors while running TestSQL3 compiled with FPC/trunk/win32 mode.

I have included the provided TestSQL3FPCInterfaces into uses clause of the TestSQL3.dpr project.


1.3. Cryptographic routines:
[..]
!  - Base64: 3 / 11,994 FAILED  205.87ms
  Total failed: 3 / 26,573  - Cryptographic routines FAILED  581.09ms

1.4. Compression:
[..]
!  - GZIP format: 1 / 19 FAILED  875.40ms
!  - ZIP format: 7 / 64 FAILED  3.46s
!  - SynLZO: 1,000 / 3,006 FAILED  163.89ms
!  - SynLZ: 989 / 32,221 FAILED  846.73ms
  Total failed: 1,997 / 35,322  - Compression FAILED  5.79s


2. mORMot

2.1. File based:
[..]
!  - TSQLRestClientDB: 4 / 608,195 FAILED  3.64s
  Total failed: 4 / 792,588  - File based FAILED  4.10s

2.2. File based memory map:
[..]
!  - TSQLRestClientDB: 4 / 608,194 FAILED  3.62s
  Total failed: 4 / 792,582  - File based memory map FAILED  4.08s

2.3. File based WAL:
[..]
!  - TSQLRestClientDB: 4 / 608,195 FAILED  3.75s
  Total failed: 4 / 792,588  - File based WAL FAILED  4.21s

2.4. Memory based:
[..]
!  - TSQLRestClientDB: 4 / 676,502 FAILED  4.60s
  Total failed: 4 / 1,000,890  - Memory based FAILED  6.07s

2.5. Basic classes:
!  - TSQLRecord: 5 / 80 FAILED  819us
[..]
!  - TSQLRestServerFullMemory: 370,119 / 640,135 FAILED  6.09s
  Total failed: 370,124 / 640,431  - Basic classes FAILED  6.10s

2.6. Client server access:
[..]
!  - Local window messages: 1 / 2 FAILED  2.97ms
[..]
  Total failed: 1 / 25,017  - Client server access FAILED  2.84s

2.7. Service oriented architecture:
[..]
!  - Service initialization: 1 / 17 FAILED  1.89ms
[..]
!  - Server side: 1 / 3 FAILED  246us
! Service oriented architecture - Client side REST
! Exception EServiceException raised with messsage:
!  TServiceFactoryClient.Create(): IComplexCalculator interface or TSQLRestRoutingREST routing not supported by server:
{
"errorCode":400,
"errorText":"Bad Request"
}
! Service oriented architecture - Client side REST as JSON object
! Exception EServiceException raised with messsage:
!  TServiceFactoryClient.Create: IComplexCalculator.TestBlob sicClientDriven mode not allowed with TServiceCustomAnswer
result
! Service oriented architecture - Client side REST sessions stats
! Exception EServiceException raised with messsage:
!  TServiceFactoryClient.Create: IComplexCalculator.TestBlob sicClientDriven mode not allowed with TServiceCustomAnswer
result
  - Client side REST locked: 3 assertions passed  1.51ms
  - Client side REST main thread: 3 assertions passed  1.49ms
! Service oriented architecture - Client side REST background thread
! Exception EServiceException raised with messsage:
!  TServiceFactoryClient.Create: IComplexCalculator.TestBlob sicClientDriven mode not allowed with TServiceCustomAnswer
result
! Service oriented architecture - Client side REST weak authentication
! Exception EServiceException raised with messsage:
!  TServiceFactoryClient.Create: IComplexCalculator.TestBlob sicClientDriven mode not allowed with TServiceCustomAnswer
result
! Service oriented architecture - Client side REST basic authentication
! Exception EServiceException raised with messsage:
!  TServiceFactoryClient.Create: IComplexCalculator.TestBlob sicClientDriven mode not allowed with TServiceCustomAnswer
result
! Service oriented architecture - Client side REST custom record layout
! Exception EServiceException raised with messsage:
!  TServiceFactoryClient.Create: IComplexCalculator.TestBlob sicClientDriven mode not allowed with TServiceCustomAnswer
result
! Service oriented architecture - Client side REST service log to DB
! Exception EServiceException raised with messsage:
!  TServiceFactoryClient.Create: IComplexCalculator.TestBlob sicClientDriven mode not allowed with TServiceCustomAnswer
result
! Service oriented architecture - Client side JSONRPC
! Exception EServiceException raised with messsage:
!  TServiceFactoryClient.Create: IComplexCalculator.TestBlob sicClientDriven mode not allowed with TServiceCustomAnswer
result
! Service oriented architecture - Test over HTTP
! Exception EServiceException raised with messsage:
!  TServiceFactoryClient.Create(): IComplexCalculator interface or TSQLRestRoutingREST routing not supported by server:
{
"errorCode":400,
"errorText":"Bad Request"
}
!  - Security: 52 / 135 FAILED  2.70ms
  - Mocks and stubs: 30,030 assertions passed  85.70ms
  Total failed: 58 / 567,460  - Service oriented architecture FAILED  199.52ms

2.8. Bidirectional remote connection:
[..]
! Bidirectional remote connection - SOA callback via JSON websockets
! Exception EInterfaceFactoryException raised with messsage:
!  TInterfacedObjectFakeClient.FakeCall(IBidirService.TestCallback) failed: '{
"errorCode":500,
"error":
{"EAccessViolation":{"EAccessViolation":"Access violation"}}
}'
! Bidirectional remote connection - SOA callback via binary websockets
! Exception EInterfaceFactoryException raised with messsage:
!  TInterfacedObjectFakeClient.FakeCall(IBidirService.TestCallback) failed: '{
"errorCode":500,
"error":
{"EAccessViolation":{"EAccessViolation":"Access violation"}}
}'
  - TRecordVersion: 20,068 assertions passed  144.57ms
  Total failed: 0 / 29,366  - Bidirectional remote connection PASSED  288.04ms

2.9. External database:
  - TQuery: 2,003 assertions passed  6.29ms
! External database - SynDBRemote
! Exception ESQLDBRemote raised with messsage:
!  You do not have the right to be here
[..]
  Total failed: 0 / 789,413  - External database PASSED  6.84s

2.10. Multi thread process:
[..]
!  - TSQLRestClientURIMessage: 18 / 40 FAILED  58.06ms
     1=63251/s  2=61022/s  5=37379/s  10=20198/s
  - Windows API: 4,814 assertions passed  503.93ms
     1=2518/s  2=4879/s  5=5509/s  10=6283/s  30=7400/s  50=6838/s
Runtime error 204 at $004175BB
Runtime error 204 at $004175BB
Runtime error 204 at $004175BB
Runtime error 204 at $004175BB
Runtime error 204 at $004175BB
Runtime error 204 at $004175BB
Runtime error 204 at $004175BB
Runtime error 204 at $004175BB
Runtime error 204 at $004175BB
Runtime error 204 at $004175BB
  $004175BB
Runtime error 204 at $004175BB
Runtime error 204 at $004175BB
Runtime error 204 at $004175BB
Runtime error 204 at $004175BB
  $004175BB
Runtime error 204 at $004175BB
Runtime error 204 at $004175BB
  $004175BB
Runtime error 204 at $004175BB
  $004175BB
  $004175BB
  $004175BB
  $004175BB
  $004175BB
  $004175BB

  $004175BB
  $004175BB
  $004175BB
  $004175BB

  $004175BB
  $004175BB

  $004175BB












  $00641A9C
No heap dump by heaptrc unit
  $00641D07
Exitcode = 204
  $0042EE5B
  $0042F11C
  $00430FDD
  $00430D6D
  $00641995
  $0041037E
  $7506338A

Marked memory at $0552C12C invalid
Wrong size : 6808248 allocated 6374192 freed
  $7506338A
  $772B9882
  $772B9855

Offline

#2 2016-01-21 13:06:36

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

Re: TestSQL3 results with FPC/trunk

There are errors due to the new code page strings introduced in FPC.
Their use of constant string in the source code is NOT consistent with Delphi.

Offline

#3 2016-01-21 13:35:32

dexter
Member
Registered: 2015-04-24
Posts: 53

Re: TestSQL3 results with FPC/trunk

I hope someone from mORMot team raised a ticket for Free Pascal team smile

Offline

Board footer

Powered by FluxBB