You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Miki Tebeka (JIRA)" <ji...@apache.org> on 2017/03/16 10:23:41 UTC

[jira] [Created] (ARROW-639) [Python] Crash in out-of-bounds __repr__ of array

Miki Tebeka created ARROW-639:
---------------------------------

             Summary: [Python] Crash in out-of-bounds __repr__ of array
                 Key: ARROW-639
                 URL: https://issues.apache.org/jira/browse/ARROW-639
             Project: Apache Arrow
          Issue Type: Bug
          Components: Python
            Reporter: Miki Tebeka


The following code ({{slice.py}})
{code}
import pyarrow as pa

arr = pa.from_pylist(['a', 'b', 'c'])
s = arr.slice(1, 10)
print('ok')
print(len(s))
print('ok')
print(s)
print('crash')
{code}

produces
{noformat}
$ python slice.py
ok
2
ok
terminate called after throwing an instance of 'std::length_error'
  what():  basic_string::_M_create
[1]    28401 abort (core dumped)  python slice.py
$
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)