Invalid clumplet buffer structure: path length doesn't match with clumplet

244 views
Skip to first unread message

Pro Turm

unread,
Jun 19, 2020, 4:31:44 PM6/19/20
to firebird...@googlegroups.com
What is the reason for the following problem?

 901: Invalid clumplet buffer structure: path length doesn't match with clumplet

Dimitry Sibiryakov

unread,
Jun 19, 2020, 5:25:46 PM6/19/20
to firebird...@googlegroups.com
19.06.2020 22:21, Pro Turm wrote:
> What is the reason for the following problem?

'\0' somewhere in the middle of string.

--
WBR, SD.

Pro Turm

unread,
Jun 21, 2020, 9:17:52 AM6/21/20
to firebird...@googlegroups.com
String containing the path to the database, or what did you mean ?

--
You received this message because you are subscribed to the Google Groups "firebird-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-suppo...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/firebird-support/faee9ca3-9684-cd1a-d636-4472022c91c7%40ibphoenix.com.

Dimitry Sibiryakov

unread,
Jun 21, 2020, 9:43:10 AM6/21/20
to firebird...@googlegroups.com
21.06.2020 13:56, Pro Turm wrote:
> String containing the path to the database, or what did you mean ?

String as a clumplet data.

--
WBR, SD.

Pro Turm

unread,
Jun 21, 2020, 10:42:58 AM6/21/20
to firebird...@googlegroups.com
This is seems to be a data generated by a fb itself ?

At least Im not aware of touching the clumpet data by the code Im using.

Could it be a firebird incompatibility issue or what could it be?

--
You received this message because you are subscribed to the Google Groups "firebird-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-suppo...@googlegroups.com.

Dimitry Sibiryakov

unread,
Jun 21, 2020, 11:04:15 AM6/21/20
to firebird...@googlegroups.com
21.06.2020 16:42, Pro Turm wrote:
> This is seems to be a data generated by a fb itself ?

No, parameter blocks are coming from outside.
Most likely in your program you put a string in UTF-16 encoding where ANSI or UTF-8 is
expected.

--
WBR, SD.

Pro Turm

unread,
Jun 21, 2020, 12:52:24 PM6/21/20
to firebird...@googlegroups.com
Sorry, Im kind of newbie to firebird. What do you call a parameter block in this context?

--
You received this message because you are subscribed to the Google Groups "firebird-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-suppo...@googlegroups.com.

Dimitry Sibiryakov

unread,
Jun 21, 2020, 2:02:06 PM6/21/20
to firebird...@googlegroups.com
21.06.2020 18:52, Pro Turm wrote:
> Im kind of newbie to firebird. What do you call a parameter block in this context?

Then this is reading for you:
https://firebirdsql.org/file/documentation/reference_manuals/fbdevgd-en/html/fbdevgd30.html

--
WBR, SD.

Pro Turm

unread,
Jun 21, 2020, 5:58:35 PM6/21/20
to firebird...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "firebird-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-suppo...@googlegroups.com.

Mark Rotteveel

unread,
Jun 22, 2020, 3:46:31 AM6/22/20
to firebird...@googlegroups.com
As far as I'm aware it doesn't cover parameter blocks at all. What
specifically are you referring to here?

Mark

Mark Rotteveel

unread,
Jun 22, 2020, 3:53:08 AM6/22/20
to firebird...@googlegroups.com
On 2020-06-21 18:52, Pro Turm wrote:
> Sorry, Im kind of newbie to firebird. What do you call a parameter
> block in this context?

Database parameter buffers (or blocks) are what a client application
uses to specify connection properties to fbclient/Firebird server when
connecting. This might be hidden from you by a driver layer in your
programming language that converts from a suitable representation in
your language to the one expected by Firebird.

Dimitry suspects that you have a parameter block value that contains a
NUL byte (0x00) in the middle of a string. As this is a non-printable
character, you might not see it.

However, we're just guessing here. With more details, like a
reproducible, but minimal example, we might be able to help you better.

Mark

Pro Turm

unread,
Jun 22, 2020, 8:52:30 AM6/22/20
to firebird...@googlegroups.com
Anything wrong with the parameter block ?

\x1\x1c\x6SYSDBA\x1d\tmasterkey0\x4UTF8<\bread

--
You received this message because you are subscribed to the Google Groups "firebird-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-suppo...@googlegroups.com.

Pro Turm

unread,
Jun 22, 2020, 12:33:56 PM6/22/20
to firebird...@googlegroups.com
Hmm, I couldnt believe, it was so trivial ...
I was using on windows fbclient 4 beta 1 trying to connect to fb server beta 4 .
 This produced the above message.

Pro Turm

unread,
Jun 23, 2020, 4:19:19 AM6/23/20
to firebird...@googlegroups.com
ps sorry small typo
fblient 4 beta 1 -> fbserver 4 beta 2
was the problem.
Reply all
Reply to author
Forward
0 new messages