Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Python] Segfault in test_pandas with Python 2.7 #22953

Closed
asfimport opened this issue Sep 18, 2019 · 6 comments
Closed

[Python] Segfault in test_pandas with Python 2.7 #22953

asfimport opened this issue Sep 18, 2019 · 6 comments

Comments

@asfimport
Copy link

I get a segfault in test_pandas with Python 2.7.

gdb stack trace (excerpt):

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

Reporter: Antoine Pitrou / @pitrou
Assignee: Antoine Pitrou / @pitrou

PRs and other links:

Note: This issue was originally created as ARROW-6597. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Krisztian Szucs / @kszucs:
@pitrou why wasn't it catched by the CI?

@asfimport
Copy link
Author

Antoine Pitrou / @pitrou:
I have no idea :-/ Perhaps you don't install Pandas on the 2.7 builder?

@asfimport
Copy link
Author

Antoine Pitrou / @pitrou:
Issue resolved by pull request 5416
#5416

@asfimport
Copy link
Author

@asfimport
Copy link
Author

Wes McKinney / @wesm:
I'm guessing this is what has been crashing the sphinx-build lately

@asfimport
Copy link
Author

Antoine Pitrou / @pitrou:
Yes it is.

@asfimport asfimport added this to the 0.15.0 milestone Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants