Firebird 4 IResultSet.fetchNext error

The offical for ZeosLib 7.3 Report problems, ask for help, post proposals for the new version of Zeoslib 7.3/v8
Quick Info:
-We made two new drivers: odbc(raw and unicode version) and oledb
-GUID domain/field-defined support for FB
-extended error infos of Firebird
-performance ups are still in queue
In future some more feature will arrive, so stay tuned and don't hassitate to help
Post Reply
eversun
Fresh Boarder
Fresh Boarder
Posts: 20
Joined: 28.01.2020, 09:31

Firebird 4 IResultSet.fetchNext error

Post by eversun »

SVN version from last update (7807)

Problem appeared with FB4 (4.0.1) and fbclient same version, x86
After some short time of operation with massive select, update, transactions, etc, an error appeared:

Step 1
Error reading data from the connection.; GDS Code: 335544726; Code: -902 Message: IResultSet.fetchNext

Right next to that error:
Step 2
Error writing data to the connection.; GDS Code: 335544727; send_packet/send; GDS Code: 335544382;
Code: -902 Message: GET NEW TRANSACTION

Step 3
Connection is not opened yet
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: Firebird 4 IResultSet.fetchNext error

Post by marsupilami »

Hello eversun,
eversun wrote: 09.06.2022, 10:15 Step 1
Error reading data from the connection.; GDS Code: 335544726; Code: -902 Message: IResultSet.fetchNext

Right next to that error:
Step 2
Error writing data to the connection.; GDS Code: 335544727; send_packet/send; GDS Code: 335544382;
Code: -902 Message: GET NEW TRANSACTION
These two error messages usually mean that the connection was loast - it somehow got disconnected.
eversun
Fresh Boarder
Fresh Boarder
Posts: 20
Joined: 28.01.2020, 09:31

Re: Firebird 4 IResultSet.fetchNext error

Post by eversun »

Possibly yes. But it never happened before with FB2.5 - I just had updated several instances to FB4 and got this problem. As the load is quite heavy, the problem appears after some hours of operation, maybe 6-12 hours.

And together with the Reconnect problem is causes total fault. Once this error appears, further operation shortly causes an AV and requires manual full SW restart
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: Firebird 4 IResultSet.fetchNext error

Post by marsupilami »

Hello Eversun,
eversun wrote: 15.06.2022, 14:40 Possibly yes. But it never happened before with FB2.5 - I just had updated several instances to FB4 and got this problem.
Did you check the log files of Firebird? "Error reading data from the connection." and "Error writing data to the connection." usually happen when Windows has to close the socket for some reason. This can happen due to a lot of problems like faulty network hardware and the like. If you want to simulate this problem: Just unplug your computer from the network and plug it in again. Windows will close all open sockets when the network gets disconnected. Some uses of mine had this problem too when using wireless networks. When they switched to cables things usually got better or vanished.
If you still think this is because of Zeos: The only thing that changes in Zeos when switching from Firebird 2.5 to Firebird 4: Zeos enables the use of the interface based API if it is available and it isn't forced to use the legacy API. On Firebird 2.5 the legacy API is the only one that is available.

eversun wrote: 15.06.2022, 14:40 And together with the Reconnect problem is causes total fault. Once this error appears, further operation shortly causes an AV and requires manual full SW restart
Did you check if the latest changes from the other thread help on the reconnect problem?

Best regards,

Jan
Post Reply