The workaround does not work for me - as stated originally I have already streamed it over SSH to a file. The extraction command is reading directly from the saved file:
xbstream -x -v < ../20120406_092210_full.xbs
Having run strace it appears that it attempts to read the XBSTCK01 data as 14 bytes. Usually read() returns exactly 14 bytes:
read(0, "XBSTCK01\0P\n\0\0\0", 14) = 14
When the error occurs the last read was shorter than the expected 14 bytes (even though there is more data available). It appears that xbstream doesn't handle read() returning less data than requested.
read(0, "XBSTCK01\0P\n", 14) = 11
Hi Alexey. Any update on this?
The workaround does not work for me - as stated originally I have already streamed it over SSH to a file. The extraction command is reading directly from the saved file: 092210_ full.xbs
xbstream -x -v < ../20120406_
Having run strace it appears that it attempts to read the XBSTCK01 data as 14 bytes. Usually read() returns exactly 14 bytes: 0P\n\0\ 0\0", 14) = 14
read(0, "XBSTCK01\
When the error occurs the last read was shorter than the expected 14 bytes (even though there is more data available). It appears that xbstream doesn't handle read() returning less data than requested.
read(0, "XBSTCK01\0P\n", 14) = 11