Welcome, Guest
Username: Password: Remember me
Components and Libraries for Database Development, discussions, problems and suggestions
  • Page:
  • 1

TOPIC:

CT 4.60 Zeos DBO Access violation 10 years 4 months ago #4764

  • Steven
  • Steven's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 2
Hello mr. Sternas
Yesterday I update my CT 4.5 to 4.6 and have a problem.
Simple program with firebird embedded, I got access violation when I make Zconnection.connected := true;
:(

Maybe this is that bug
bugs.freepascal.org/view.php?id=25269

Please Log in or Create an account to join the conversation.

Last edit: by Steven.

CT 4.60 Zeos DBO Access violation 10 years 4 months ago #4765

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
Thanks Sir
we will check this
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

CT 4.60 Zeos DBO Access violation 10 years 4 months ago #4799

  • Victor Franco
  • Victor Franco's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 1
  • Thank you received: 0
is very important to solve this problem

Please Log in or Create an account to join the conversation.

CT 4.60 Zeos DBO Access violation 10 years 4 months ago #4800

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
Sir
you can
try pl_ZeosDBO.7z from CT 4.50 (ver 7.1.2, 11-09-2013 SVN Rev 2724)
or
try pl_ZeosDBO-2.7z from Lab CT 4.70 (ver 7.2.0, 27-11-2013 SVN Rev 2959)

please report any problem here
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

CT 4.60 Zeos DBO Access violation 10 years 4 months ago #4936

  • Rudi
  • Rudi's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 3

ZeUsM wrote: Hello mr. Sternas
Yesterday I update my CT 4.5 to 4.6 and have a problem.
Simple program with firebird embedded, I got access violation when I make Zconnection.connected := true;
:(

Maybe this is that bug
bugs.freepascal.org/view.php?id=25269


Hi

At first I just disabled the UseMetaData of TZConnection and it worked.
but looked into it and found that the bug above was the cause.
I patched only that specific file from svn and recompiled everything. Now Zeos works fine.
the file that I patched was "C:\codetyphon\fpcsrc\compiler\i386\cgcpu.pas" with the svn revision 26101 as in the bug report.
I attached it to make it easier if you want to have a go at it.

Definitely not the best way but gets the job done ;-)

Hope it helps
The following user(s) said Thank You: Vladimir Bazović

Please Log in or Create an account to join the conversation.

CT 4.60 Zeos DBO Access violation 10 years 4 months ago #4937

  • Rudi
  • Rudi's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 3
Oops sorry, here it is. :silly:

File Attachment:

File Name: cgcpu.zip
File Size:8 KB
Attachments:
The following user(s) said Thank You: Vladimir Bazović, Steven

Please Log in or Create an account to join the conversation.

CT 4.60 Zeos DBO Access violation 10 years 4 months ago #4938

  • Steven
  • Steven's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 2
Thanks, all work.

Please Log in or Create an account to join the conversation.

CT 4.60 Zeos DBO Access violation 10 years 4 months ago #4947

  • frederico augusto marques
  • frederico augusto marques's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 1
I tried the two svn versions and ZeosDBO continues failing. I wish to take my congratulations to PilotLogic. The CodeThyphon is a great tool.

Thanks a lot,

Frederico Marques
Rio de Janeiro - Brazil

Please Log in or Create an account to join the conversation.

CT 4.60 Zeos DBO Access violation 10 years 4 months ago #4948

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
Thanks Sir
We prepare a new version from the latest ZEOS SVN trunk
We add windows ADO support and Samples to CodeOcean.

But first we must send the source to Zeos Forum for check
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

CT 4.60 Zeos DBO Access violation 10 years 4 months ago #4951

  • Bernard Asher
  • Bernard Asher's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 1

fred.marques wrote: I tried the two svn versions and ZeosDBO continues failing.

Did you try the compiler fix from rudiloos ?
With that fix not ZeosDBO was changed, but the compiler! After using CodeTyphon to rebuild the compiler, rebuild ZeodDBO.
Some people report that this is the solution.

@Sternas: since the bug is NOT in ZeosDBO, please apply this fix in the next release.

Please Log in or Create an account to join the conversation.

CT 4.60 Zeos DBO Access violation 10 years 4 months ago #4953

  • frederico augusto marques
  • frederico augusto marques's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 1
Really, with cgcpu.pas sent by rudiloos, and rebuilding the compiler and ZeosDBO all works fine !

Thanks

Frederico Marques :)
Rio de Janeiro - Brazil
Ubuntu 12.04 LTS CrossCompiler Linux i386 - Win32

Please Log in or Create an account to join the conversation.

CT 4.60 Zeos DBO Access violation 10 years 4 months ago #4954

  • Bernard Asher
  • Bernard Asher's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 1

fred.marques wrote: Really, with cgcpu.pas sent by rudiloos, and rebuilding the compiler and ZeosDBO all works fine !

Thank you for confirming the validity of this patch.

@Sternas: Can you confirm that this patch is added to the next release of CT?

Please Log in or Create an account to join the conversation.

CT 4.60 Zeos DBO Access violation 10 years 4 months ago #4955

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
We will find a solution Sir
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

CT 4.60 Zeos DBO Access violation 10 years 3 months ago #4956

  • Vladimir Bazović
  • Vladimir Bazović's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 4
Same problem "Access Denied" with Open on ZQuery (ZReadOnlyQuery) with CT 4.6 cross-build to win i386, Zeos, PostgreSQL can be bypassed by UseMetadata := false or applying patch.

Please Log in or Create an account to join the conversation.

Last edit: by Vladimir Bazović. Reason: typo bug
  • Page:
  • 1