Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gbak: ERROR:Invalid clumplet buffer structure: buffer end before end of clumplet - no length component [JDBC147] #189

Closed
firebird-automations opened this issue Sep 26, 2009 · 5 comments

Comments

@firebird-automations
Copy link

Submitted by: Oleg Matveyev (o_matveev)

Assigned to: Roman Rokytskyy (rrokytskyy)

Attachments:
CBackup.java

Votes: 1

On the FB2.5b2 (and Firebird-2.5.0.25563) following code raise error:

(Code bases on the TestServicesAPI.java from Jaybird-2.1.6-src\client-java.sources\src\test\org\firebirdsql\gds\impl\jni)
...
final ServiceRequestBuffer serviceRequestBuffer = gds.createServiceRequestBuffer(ISCConstants.isc_info_svc_to_eof);
final byte[] buffer = new byte[1024];
boolean finished = false;
final FileOutputStream file = new FileOutputStream("c:/1.log");
while(!finished)
{
gds.iscServiceQuery(handle, null, serviceRequestBuffer, buffer);
...

in the c:\1.log:
gbak: ERROR:Invalid clumplet buffer structure: buffer end before end of clumplet - no length component
gbak:Exiting before completion due to errors

Same code on the FB2.1.1.17910 work fine.

@firebird-automations
Copy link
Author

Commented by: Oleg Matveyev (o_matveev)

trouble 2:

In this testcase jaybird do not send op_connect and op_disconnect. Only op_service_attach and op_service_detach.

@firebird-automations
Copy link
Author

Modified by: Oleg Matveyev (o_matveev)

Attachment: CBackup.java [ 11502 ]

@firebird-automations
Copy link
Author

Commented by: Oleg Matveyev (o_matveev)

trouble 3: Jaybird send non-crypted password.

@firebird-automations
Copy link
Author

Modified by: Roman Rokytskyy (rrokytskyy)

Fix Version: Jaybird 2.2 [ 10053 ]

timeestimate: 0 [ 0 ]

timeoriginalestimate: 0 [ 0 ]

Component: Services API [ 10055 ]

@firebird-automations
Copy link
Author

Modified by: Roman Rokytskyy (rrokytskyy)

status: Open [ 1 ] => Closed [ 6 ]

resolution: Fixed [ 1 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant