You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2019/09/18 11:44:00 UTC
[jira] [Resolved] (ARROW-6597) [Python] Segfault in test_pandas
with Python 2.7
[ https://issues.apache.org/jira/browse/ARROW-6597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Pitrou resolved ARROW-6597.
-----------------------------------
Resolution: Fixed
Issue resolved by pull request 5416
[https://github.com/apache/arrow/pull/5416]
> [Python] Segfault in test_pandas with Python 2.7
> ------------------------------------------------
>
> Key: ARROW-6597
> URL: https://issues.apache.org/jira/browse/ARROW-6597
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Reporter: Antoine Pitrou
> Assignee: Antoine Pitrou
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.15.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> I get a segfault in test_pandas with Python 2.7.
> gdb stack trace (excerpt):
> {code}
> Thread 27 "python" received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7fffb7fff700 (LWP 17725)]
> 0x00007fffcac1a9f9 in arrow::py::internal::PyDate_from_int (val=10957, unit=arrow::DateUnit::DAY, out=0x555555e1b9b0) at ../src/arrow/python/datetime.cc:229
> 229 *out = PyDate_FromDate(static_cast<int32_t>(year), static_cast<int32_t>(month),
> (gdb) bt
> #0 0x00007fffcac1a9f9 in arrow::py::internal::PyDate_from_int (val=10957, unit=arrow::DateUnit::DAY, out=0x555555e1b9b0) at ../src/arrow/python/datetime.cc:229
> #1 0x00007fffcabaed34 in arrow::Status arrow::py::ConvertDates<arrow::Date32Type>(arrow::py::PandasOptions const&, arrow::ChunkedArray const&, _object**)::{lambda(int, _object**)#1}::operator()(int, _object**) const (this=0x7fffb7ffde90, value=10957, out=0x555555e1b9b0) at ../src/arrow/python/arrow_to_pandas.cc:657
> #2 0x00007fffcabaeb8c in arrow::Status arrow::py::ConvertAsPyObjects<arrow::Date32Type, arrow::Status arrow::py::ConvertDates<arrow::Date32Type>(arrow::py::PandasOptions const&, arrow::ChunkedArray const&, _object**)::{lambda(int, _object**)#1}&>(arrow::py::PandasOptions const&, arrow::ChunkedArray const&, arrow::Status arrow::py::ConvertDates<arrow::Date32Type>(arrow::py::PandasOptions const&, arrow::ChunkedArray const&, _object**)::{lambda(int, _object**)#1}&, _object**)::{lambda(int const&, _object**)#1}::operator()(int const, _object**) const (this=0x7fffb7ffdd88, value=@0x7fffb7ffdcbc: 10957, out_values=0x555555e1b9b0)
> at ../src/arrow/python/arrow_to_pandas.cc:417
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)