#1 2015-01-15 11:27:02

ubaltino
Member
From: Brasil
Registered: 2014-05-23
Posts: 24
Website

Violated access in Win64 Server accessing PostgreSQL with XE7

Updated the mORMot yesterday (14/01/2015) night and my server no longer works for Win64. And for Win32 runs smoothly.

I went back to the previous version of the previous mORMot and worked fine for Win32 and Win64.

Had some change for Win64?

Environment tested:
- Windows 7 and Windows Server 2012 both 64-bit;
- Delphi XE7
- In Windows7 PostgreSQL for Win32. With sqlite3.dll.
- In Windows Server 2012 for PostgreSQL Win64. With sqlite3-64.dll.

The access is accused violated the stretch down the Unit SynSQLite3.pas

function TSQLDataBase.DBOpen: integer;
….
  if fOpenV2Flags<>(SQLITE_OPEN_READWRITE or SQLITE_OPEN_CREATE) then
    result := sqlite3.open_v2(pointer(utf8),fDB,fOpenV2Flags,nil) else
    result := sqlite3.open(pointer(utf8),fDB);
…

In the passage above is the violated access. Recalling that for Win32 works. And the earlier version of mORMot I have works for Win32 and Win64.

That is the problem that the current version of Git asap Win64.

I hope I was clear.


Ubaltino Faleiro
www.sistemainteligente.com
Brasil - Goiás - Goiânia

Offline

#2 2015-01-15 17:56:29

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

Re: Violated access in Win64 Server accessing PostgreSQL with XE7

What is your slqite3-64.dll revision?

Our version at http://synopse.info/files/SQLite3-64.7z
is number 3.8.6 but you may be able to find a newer revision.

Edit:
We introduced a regression yesterday.
Should be fixed by http://synopse.info/fossil/info/30e332d8ed

Sorry for the inconvenience.

Offline

#3 2015-01-16 12:12:24

ubaltino
Member
From: Brasil
Registered: 2014-05-23
Posts: 24
Website

Re: Violated access in Win64 Server accessing PostgreSQL with XE7

Thank U. Resolved.


Ubaltino Faleiro
www.sistemainteligente.com
Brasil - Goiás - Goiânia

Offline

Board footer

Powered by FluxBB