Welcome, Guest
Username: Password: Remember me
General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.
  • Page:
  • 1

TOPIC:

ZeosDBO SigSegV after Query.Refresh 2 years 3 months ago #17242

  • universe
  • universe's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 122
  • Thank you received: 8
Hello All,
The first problem, I have discovered an access violation (program exits silently or after showing "Access violation" when running Query.Refresh)
The second is I failed to reproduce it with a minimal program.
SigSevG occurs in file 'source\dbc\ZDbcCache.pas' at line 2968, function TZRowAccessor.GetInt(ColumnIndex: Integer; out IsNull: Boolean): Integer;
  • RDBM: Postgres 14
  • OS: Windows 11
  • CT 7.7 (and also 7.8)
Any help could be appreciated.

PS: Just to add some more details, the query is similar to: 
SELECT name FROM foo WHERE name IN (SELECT label FROM bar);
Then I call Query.Refresh programmatically, which gives either segmentation fault, or silent program exit, or just do the refresh.
Thank you.

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

Last edit: by universe.

ZeosDBO SigSegV after Query.Refresh 2 years 3 months ago #17244

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
My suggestion is to post the problem at  ZeosLib forum

Zeos it's big library and has active forum.
 
PilotLogic Core Programmer

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

ZeosDBO SigSegV after Query.Refresh 2 years 3 months ago #17246

  • universe
  • universe's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 122
  • Thank you received: 8
OK, thank you.

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

ZeosDBO SigSegV after Query.Refresh 2 years 3 months ago #17250

  • universe
  • universe's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 122
  • Thank you received: 8
Hello,
In Zeoslib forum they asked me, whether I am using the latest revision of Zeos 8.0 (not trunk/master) from SVN or GIT?

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

ZeosDBO SigSegV after Query.Refresh 2 years 3 months ago #17251

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
We use always the latest  ZeosLib from SVN.

Open pl_ZeosDBO pkg
1) Click on pkg Info button
2) Sync Src SVN Rev : xxxx


 

 
PilotLogic Core Programmer
Attachments:

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

Last edit: by Matis A..

ZeosDBO SigSegV after Query.Refresh 2 years 3 months ago #17252

  • universe
  • universe's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 122
  • Thank you received: 8
I have even replaced the source files by those from latest SVN but the problem remains. Still,I have found the source of the bug, and reported to Zeos forum, hope it could be fixed soon.
Thank you

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

  • Page:
  • 1