× General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.

Question ZeosDBO SigSegV after Query.Refresh

  • universe
  • universe's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 month 2 weeks ago - 1 month 2 weeks ago #17242 by universe
ZeosDBO SigSegV after Query.Refresh was created by universe
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.
Last edit: 1 month 2 weeks ago by universe.

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

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
More
1 month 2 weeks ago #17244 by Matis A.
Replied by Matis A. on topic ZeosDBO SigSegV after Query.Refresh
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.

  • universe
  • universe's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 month 2 weeks ago #17246 by universe
Replied by universe on topic ZeosDBO SigSegV after Query.Refresh
OK, thank you.

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

  • universe
  • universe's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 month 2 weeks ago #17250 by universe
Replied by universe on topic ZeosDBO SigSegV after Query.Refresh
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.

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
More
1 month 2 weeks ago - 1 month 2 weeks ago #17251 by Matis A.
Replied by Matis A. on topic ZeosDBO SigSegV after Query.Refresh
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:
Last edit: 1 month 2 weeks ago by Matis A..

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

  • universe
  • universe's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 month 2 weeks ago #17252 by universe
Replied by universe on topic ZeosDBO SigSegV after Query.Refresh
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.