Unsolved
This post is more than 5 years old
2 Posts
0
677
March 24th, 2014 06:00
FP_STREAM_BYTECOUNT_MISMATCH_ERR with centera SDK 3.3 on AIX 6.1
Hi,
With the latest centera SDK3.3 our application always returns an FP_STREAM_BYTECOUNT_MISMATCH_ERR in the FPStream_Close call.
I read about the issue number 32304CEN in the release notes which addresses this error, but we do not use deprecated functions.
Because our application acts quite the same like the StoreContent programm in the SDK sample I compiled the StoreContent.c example with the gcc and run it:
./StoreContent
Enter values or leave blank to use defaults:
Enter the IP address or DNS name of the cluster(s): 168.159.214.20?...c1armtesting.pea
Enter the name of the file containing the content: /tmp/foo
Enter the threshold value for embedded blobs size in bytes: <50000>
Content smaller than 50000 will be stored embedded in the Clip
Content stored embedded in the Clip as it's size (6) is less than the threshold.
FP Stream Close Error: FP_STREAM_BYTECOUNT_MISMATCH_ERR - CloseProc: mStreamLen
The C-Clip ID of the content is F02...
Even if I disable the FP_OPTION_STREAM_STRICT_MODE option in the StoreContent.c program, the error still appears.
With SDK 3.2 the error does not occur.
Thanks