[jira] [Updated] (ARROW-2133) [Python] Segmentation fault on conversion of empty nested arrays to Pandas

2018-02-12 Thread ASF GitHub Bot (JIRA)

 [ 
https://issues.apache.org/jira/browse/ARROW-2133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated ARROW-2133:
--
Labels: pull-request-available  (was: )

> [Python] Segmentation fault on conversion of empty nested arrays to Pandas
> --
>
> Key: ARROW-2133
> URL: https://issues.apache.org/jira/browse/ARROW-2133
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: Python
>Reporter: Uwe L. Korn
>Assignee: Antoine Pitrou
>Priority: Major
>  Labels: pull-request-available
> Fix For: 0.9.0
>
>
> After resolving https://issues.apache.org/jira/browse/ARROW-2129, we still 
> cannot convert empty nested arrays to Pandas. It fails with the following 
> backtrace:
> {code:java}
> (gdb) bt
> #0 PyErr_Restore (type=type@entry=0x0, value=value@entry=0x0, 
> traceback=traceback@entry=0x0) at Python/errors.c:42
> #1 0x77a1c48b in PyErr_Clear () at Python/errors.c:355
> #2 0x77959320 in PyDict_GetItem (op=0x7fffe831df78, 
> key=key@entry=0x7fffec8873f0) at Objects/dictobject.c:1417
> #3 0x70278e89 in _buffer_clear_info (arr=0x7fffe37f52b0)
> from 
> /home/uwe/miniconda3/envs/pyarrow-dev/lib/python3.6/site-packages/numpy/core/multiarray.cpython-36m-x86_64-linux-gnu.so
> #4 _array_dealloc_buffer_info (self=self@entry=0x7fffe37f52b0) at 
> numpy/core/src/multiarray/buffer.c:776
> #5 0x7022b0de in array_dealloc (self=0x7fffe37f52b0)
> from 
> /home/uwe/miniconda3/envs/pyarrow-dev/lib/python3.6/site-packages/numpy/core/multiarray.cpython-36m-x86_64-linux-gnu.so
> #6 0x7172af72 in arrow::py::OwnedRef::reset (obj=0x0, 
> this=0x7fff3760) at ../src/arrow/python/common.h:75
> #7 arrow::py::OwnedRef::reset (this=0x7fff3760) at 
> ../src/arrow/python/common.h:79
> #8 0x7174220e in arrow::py::OwnedRef::~OwnedRef (this=0x7fff3760, 
> __in_chrg=) at ../src/arrow/python/common.h:72
> #9 arrow::py::ConvertListsLike (options=..., 
> col=std::shared_ptr (count 2, weak 0) 0x10b0ca0, out_values=,
> out_values@entry=0xf793d0) at ../src/arrow/python/arrow_to_pandas.cc:522
> #10 0x7173d833 in arrow::py::ArrowDeserializer::Visit 
> (this=this@entry=0x7fff3aa0, type=...) at 
> ../src/arrow/python/arrow_to_pandas.cc:1708
> #11 0x7173dc0b in 
> arrow::VisitTypeInline (type=..., 
> visitor=visitor@entry=0x7fff3aa0)
> at ../src/arrow/visitor_inline.h:59
> #12 0x71728063 in arrow::py::ArrowDeserializer::Convert 
> (out=0x7fff3ba8, this=0x7fff3aa0) at 
> ../src/arrow/python/arrow_to_pandas.cc:1744
> #13 arrow::py::ConvertColumnToPandas (options=..., options@entry=..., 
> col=std::shared_ptr (count 2, weak 0) 0x10b0ca0, 
> py_ref=py_ref@entry=0x7fffe37d4ea8,
> out=out@entry=0x7fff3ba8) at ../src/arrow/python/arrow_to_pandas.cc:1769
> #14 0x717282e6 in arrow::py::ConvertArrayToPandas (options=..., 
> arr=std::shared_ptr (count 2, weak 0) 0xfe9960, py_ref=0x7fffe37d4ea8,
> out=0x7fff3ba8) at ../src/arrow/python/arrow_to_pandas.cc:1763
> #15 0x7211b594 in __pyx_pw_7pyarrow_3lib_5Array_26to_pandas(_object*, 
> _object*, _object*) ()
> from 
> /home/uwe/Development/arrow-repos-1/arrow/python/pyarrow/lib.cpython-36m-x86_64-linux-gnu.so
> #16 0x77967ded in _PyCFunction_FastCallDict 
> (func_obj=func_obj@entry=0x762921b0, args=args@entry=0x11d2bd8, 
> nargs=,
> kwargs=kwargs@entry=0x0) at Objects/methodobject.c:231{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (ARROW-2133) [Python] Segmentation fault on conversion of empty nested arrays to Pandas

2018-02-11 Thread Wes McKinney (JIRA)

 [ 
https://issues.apache.org/jira/browse/ARROW-2133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wes McKinney updated ARROW-2133:

Fix Version/s: (was: 0.10.0)
   0.9.0

> [Python] Segmentation fault on conversion of empty nested arrays to Pandas
> --
>
> Key: ARROW-2133
> URL: https://issues.apache.org/jira/browse/ARROW-2133
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: Python
>Reporter: Uwe L. Korn
>Priority: Major
> Fix For: 0.9.0
>
>
> After resolving https://issues.apache.org/jira/browse/ARROW-2129, we still 
> cannot convert empty nested arrays to Pandas. It fails with the following 
> backtrace:
> {code:java}
> (gdb) bt
> #0 PyErr_Restore (type=type@entry=0x0, value=value@entry=0x0, 
> traceback=traceback@entry=0x0) at Python/errors.c:42
> #1 0x77a1c48b in PyErr_Clear () at Python/errors.c:355
> #2 0x77959320 in PyDict_GetItem (op=0x7fffe831df78, 
> key=key@entry=0x7fffec8873f0) at Objects/dictobject.c:1417
> #3 0x70278e89 in _buffer_clear_info (arr=0x7fffe37f52b0)
> from 
> /home/uwe/miniconda3/envs/pyarrow-dev/lib/python3.6/site-packages/numpy/core/multiarray.cpython-36m-x86_64-linux-gnu.so
> #4 _array_dealloc_buffer_info (self=self@entry=0x7fffe37f52b0) at 
> numpy/core/src/multiarray/buffer.c:776
> #5 0x7022b0de in array_dealloc (self=0x7fffe37f52b0)
> from 
> /home/uwe/miniconda3/envs/pyarrow-dev/lib/python3.6/site-packages/numpy/core/multiarray.cpython-36m-x86_64-linux-gnu.so
> #6 0x7172af72 in arrow::py::OwnedRef::reset (obj=0x0, 
> this=0x7fff3760) at ../src/arrow/python/common.h:75
> #7 arrow::py::OwnedRef::reset (this=0x7fff3760) at 
> ../src/arrow/python/common.h:79
> #8 0x7174220e in arrow::py::OwnedRef::~OwnedRef (this=0x7fff3760, 
> __in_chrg=) at ../src/arrow/python/common.h:72
> #9 arrow::py::ConvertListsLike (options=..., 
> col=std::shared_ptr (count 2, weak 0) 0x10b0ca0, out_values=,
> out_values@entry=0xf793d0) at ../src/arrow/python/arrow_to_pandas.cc:522
> #10 0x7173d833 in arrow::py::ArrowDeserializer::Visit 
> (this=this@entry=0x7fff3aa0, type=...) at 
> ../src/arrow/python/arrow_to_pandas.cc:1708
> #11 0x7173dc0b in 
> arrow::VisitTypeInline (type=..., 
> visitor=visitor@entry=0x7fff3aa0)
> at ../src/arrow/visitor_inline.h:59
> #12 0x71728063 in arrow::py::ArrowDeserializer::Convert 
> (out=0x7fff3ba8, this=0x7fff3aa0) at 
> ../src/arrow/python/arrow_to_pandas.cc:1744
> #13 arrow::py::ConvertColumnToPandas (options=..., options@entry=..., 
> col=std::shared_ptr (count 2, weak 0) 0x10b0ca0, 
> py_ref=py_ref@entry=0x7fffe37d4ea8,
> out=out@entry=0x7fff3ba8) at ../src/arrow/python/arrow_to_pandas.cc:1769
> #14 0x717282e6 in arrow::py::ConvertArrayToPandas (options=..., 
> arr=std::shared_ptr (count 2, weak 0) 0xfe9960, py_ref=0x7fffe37d4ea8,
> out=0x7fff3ba8) at ../src/arrow/python/arrow_to_pandas.cc:1763
> #15 0x7211b594 in __pyx_pw_7pyarrow_3lib_5Array_26to_pandas(_object*, 
> _object*, _object*) ()
> from 
> /home/uwe/Development/arrow-repos-1/arrow/python/pyarrow/lib.cpython-36m-x86_64-linux-gnu.so
> #16 0x77967ded in _PyCFunction_FastCallDict 
> (func_obj=func_obj@entry=0x762921b0, args=args@entry=0x11d2bd8, 
> nargs=,
> kwargs=kwargs@entry=0x0) at Objects/methodobject.c:231{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)