|
[
Permalink
| « Hide
]
Dmitry Yemanov added a comment - 13/Jul/11 09:14 AM
What was the fbclient.dll version used to connect the server? Was a connection local or remote (TCP)?
- fbclient.dll version 2.1.4.18393
- Remote TCP conection to the server. I'm trying to upload a memory dump on an external server, because the file is too large. Here is: http://www.tempfiles.net/download/201107/203491/user_dmp.html Also, SuperServer or Classic?
Sorry, SuperServer version.
Well, we can surely fix the server to not crash. But I'm not sure it will magically resolve your issues, as the actual problem lies on the client side. Your application either passes the empty SQL text to prepare, or passes a "too long" SQL text (64KB or 128KB etc) so its length becomes zero as a result of conversion into USHORT (unsigned 16-bit integer) which represents the supported SQL text length.
Ok, do you think the problem may be related to the ODBC drivers?, because I am sure that my application does not send empty or too big, SQL queries.
If so, then i ask for help to the developer of the ODBC drivers. Thank you very much, Dmitry. Honestly, I don't know. You could start with the call tracing enabled (in the ODBC settings) and find out the last statements before the server crashes. It might give some ideas for further searching. Or you might try the next (tomorrow's) snapshot build of v2.1.5 which would have the crash supposedly fixed and test it in the field. If I'm right, you'll get the proper error reported and this could be enough to have the reason debugged on your side by adding the error logging into the application.
Hello Dmitry.
Now i'm testing the snapshot build of v2.1.5 and the server does not crash, but on another server i have a diferent problem, the server crashes in a diferent way, i post the link to the server memory dump, can you have a look ? or i need to create a new issue. http://www.tempfiles.net/download/201107/203954/user_dmp_15072011.html Thank you very much What is the FB version/build on that another server? 2.1.4.18393 or some snapshot build?
It's Firebird 2.1.4.18393.
This server also suffers from the same problem of errors during prepare, but this new error occurs more times a day. It's a known issue, already reported as
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||