You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Robert Nishihara (JIRA)" <ji...@apache.org> on 2017/10/05 05:47:00 UTC

[jira] [Created] (ARROW-1647) [Plasma] Potential bug when reading/writing messages.

Robert Nishihara created ARROW-1647:
---------------------------------------

             Summary: [Plasma] Potential bug when reading/writing messages.
                 Key: ARROW-1647
                 URL: https://issues.apache.org/jira/browse/ARROW-1647
             Project: Apache Arrow
          Issue Type: Bug
          Components: Plasma (C++)
            Reporter: Robert Nishihara


When we write the "length" field, it is an {code}int64_t{code}. See https://github.com/apache/arrow/blob/dc129d60fbffbf3a5b71b1f7987f7dab948b3d61/cpp/src/plasma/io.cc#L63.

However, when we read the "length" field, it is a {code}size_t{code}. See https://github.com/apache/arrow/blob/dc129d60fbffbf3a5b71b1f7987f7dab948b3d61/cpp/src/plasma/io.cc#L98.

I'm not sure if this is a bug, but it looks like it might be. And I suspect there is an issue somewhere in this area because a couple Ray users on non-standard platforms have reported issues with a check failure at https://github.com/apache/arrow/blob/dc129d60fbffbf3a5b71b1f7987f7dab948b3d61/cpp/src/plasma/io.cc#L94.

See https://github.com/ray-project/ray/issues/1008.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)