Hm, I am seeing a 9th byte that shouldn't be there:

```
[ RUN      ] TestFileFormat.DictionaryRoundTrip

Breakpoint 1, arrow::ipc::SchemaWriter::WriteSchema (this=0x7fffffff9ff0) at 
../src/arrow/ipc/writer.cc:771
771         RETURN_NOT_OK(internal::WriteMessage(*schema_fb, sink_, 
&metadata_length));
(gdb) s
std::__shared_ptr<arrow::Buffer, (__gnu_cxx::_Lock_policy)2>::operator* 
(this=0x7fffffff9b78)
    at 
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/bits/shared_ptr_base.h:1041
1041            return *_M_ptr;
(gdb) s
arrow::ipc::internal::WriteMessage (message=..., file=0xb670d0, 
message_length=0x7fffffff99d8) at ../src/arrow/ipc/metadata-internal.cc:961
961       RETURN_NOT_OK(file->Tell(&start_offset));
(gdb) n
963       int32_t padded_message_length = static_cast<int32_t>(message.size()) 
+ 4;
(gdb) p start_offset 
$1 = 9
```

Digging in to see what's going on

[ Full content available at: https://github.com/apache/arrow/issues/2559 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to