#1 2013-06-15 13:22:58

warleyalex
Member
From: Sete Lagoas-MG, Brasil
Registered: 2013-01-20
Posts: 250

testsql3.dpr Failed in D7

Synopse mORMot jun, 14th 11:48
project testsql3.dpr

Delphi XE2 compiler --> Item 2.6 PASSED
but
Delphi 7 compiler   --> Item 2.6 FAILED

------------------------------------------------------------------------

 2.6. Service oriented architecture:
  - Weak interfaces: 56 assertions passed  240us
  - Service initialization: 133 assertions passed  6.34ms
  - Direct call: 608,487 assertions passed  114.68ms
  - Server side: 608,506 assertions passed  114.73ms
! Exception EInterfaceFactoryException raised with messsage:
!  Invalid fake ICalculator.ComplexCall interface call: : {
"ErrorCode":500,
"ErrorText":"Exception EAccessViolation: Access violation at address 004255F2 in
 module 'TestSQL3.exe'. Read of address 0017F000"
}

Synopse framework used: 1.18
SQlite3 engine used: 3.7.17
Generated with: Delphi 7 compiler
Tests performed at 14/6/2013 22:07:59

Last edited by warleyalex (2013-06-15 13:24:08)

Offline

#2 2013-06-16 19:08:09

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

Re: testsql3.dpr Failed in D7

I just run the tests with Delphi 7.

No access violation at all.

Could you please provide the stack trace of the error, on your side?

Offline

#3 2013-06-17 11:14:22

warleyalex
Member
From: Sete Lagoas-MG, Brasil
Registered: 2013-01-20
Posts: 250

Re: testsql3.dpr Failed in D7

File: mORMot and Open Source friends-da4c7638f9122988.zip
WINXP sp3

TSynLog 1.18 2013-06-17T07:44:27

20130617 07442741 fail  TTestSynopsePDF(00C13F94) Synopse PDF: TPdfDocumentGDI "" stack trace API 0019260D mORMotSelfTests.SQLite3ConsoleTests (203) 001929E5 TestSQL3 (93) 
20130617 07450020 EXCOS EAccessViolation (C0000005) at 00000F29 System.DeleteFree  stack trace 001444A1 mORMotSQLite3.TSQLRestClientDB.Create (1398) 0018EBF8 SynSelfTests.TTestServiceOrientedArchitecture.ServiceInitialization (7089) 00006508 System.@IntfCopy 0019260D mORMotSelfTests.SQLite3ConsoleTests (203) 001929E5 TestSQL3 (93) 
20130617 07450020 EXCOS EAccessViolation (C0000005) at 00000F29 System.DeleteFree  stack trace 0018EBF8 SynSelfTests.TTestServiceOrientedArchitecture.ServiceInitialization (7089) 00006508 System.@IntfCopy 0019260D mORMotSelfTests.SQLite3ConsoleTests (203) 001929E5 TestSQL3 (93) 
20130617 07450020 EXCOS EAccessViolation (C0000005) at 00000F29 System.DeleteFree  stack trace 0019260D mORMotSelfTests.SQLite3ConsoleTests (203) 001929E5 TestSQL3 (93) 

Last edited by warleyalex (2013-06-17 11:15:21)

Offline

#4 2013-08-06 19:36:15

VojkoCendak
Member
From: Celje Slovenia
Registered: 2012-09-02
Posts: 93

Re: testsql3.dpr Failed in D7

D2009ent

we too. We recently upgraded to last version (1-2 months ago) and now app is receiving these EXCOS eAccessviolation (C0000005).
It happens after some time, application hangs let's say after couple of hours.
Client apps work flawlessly (calls from several threads, ...) .

App runs on Windows 7 pro. The application just stops. I have Eurekalog and it doesn't detects any errors.
I now have a program that automatically restarts production server .

Glad someone also found it.

We have normal interface based services with HTTP sys server.

thank you.

Vojko

Offline

#5 2013-08-06 19:49:59

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

Re: testsql3.dpr Failed in D7

What if you disable TTestSynopsePDF test?

Ensure you get the latest version.
da4c7638f9122988 is pretty old.
Latest from today is http://synopse.info/fossil/info/ded90143cc

A lot of refactoring and fixes have been included lately.

What is the stack trace in the logs, at access violation problem?

Offline

#6 2013-08-08 13:14:12

warleyalex
Member
From: Sete Lagoas-MG, Brasil
Registered: 2013-01-20
Posts: 250

Re: testsql3.dpr Failed in D7

No AV on testsql3 with Delphi XE2.
I discovered something wierd. If my environment PATH is setting to path=e:\Delphi7\Projects\Bpl --> it occurs AV with Delphi7.  I just changed the path and no AV anymore.

So I guess there is something wrong with your environment.

Offline

#7 2013-08-08 14:31:48

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

Re: testsql3.dpr Failed in D7

This is pretty weird, since mORMot does not use any package nor component.
Just plain unit sources.

Offline

Board footer

Powered by FluxBB