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

ARROW-10490: [C++][GLib] Fix range-loop-analysis warnings #8587

Closed
wants to merge 1 commit into from

Conversation

kou
Copy link
Member

@kou kou commented Nov 4, 2020

They are detected by Xcode 12.

They are detected by Xcode 12.
@github-actions
Copy link

github-actions bot commented Nov 4, 2020

Copy link
Contributor

@terencehonles terencehonles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Definitely better than pinning Xcode, and now I was going to look into the JNI status check failures.

I've bisected it to #8533, and I'm testing reverting the DCHECK_NE change to see what that does. I just finished bisecting so I was going to run the tests and then ask about if the change should be there and how the test should probably be fixed if it should be there.

@kou
Copy link
Member Author

kou commented Nov 4, 2020

OK.
I'll merge this.

It seems that #8533 isn't related to the JNI failure because #8533 is R related change and the JNI failure is Java related code.
We may need to discuss it at the https://lists.apache.org/thread.html/rdd900f5359fb57f32e3eb686f6584535e81e3b2f7440cbc74f945b67%40%3Cdev.arrow.apache.org%3E thread.

@kou kou closed this in b4ddc96 Nov 4, 2020
@kou kou deleted the xcode-12 branch November 4, 2020 04:57
@terencehonles
Copy link
Contributor

terencehonles commented Nov 4, 2020

OK.
I'll merge this.

It seems that #8533 isn't related to the JNI failure because #8533 is R related change and the JNI failure is Java related code.
We may need to discuss it at the https://lists.apache.org/thread.html/rdd900f5359fb57f32e3eb686f6584535e81e3b2f7440cbc74f945b67%40%3Cdev.arrow.apache.org%3E thread.

It's an R related change, but it touches a C file which breaks the java/adapter/orc/src/test/java/org/apache/arrow/adapter/orc/OrcReaderTest.java test (it seems like it's a segfault, but I don't know how to get better logging to confirm that, the process is dead though). Removing the DCHECK_NE change in memory.cc "fixes" the issue, but it looks like there is also a memory leak coming from java/flight/flight-core/src/test/java/org/apache/arrow/flight/TestDoExchange.java (testClientCancel) which was also causing tests failures in a different test suite. I'll try to follow up on the mailing list tomorrow (thanks for the heads up about it, I just figured I'd share my findings here)

@kou
Copy link
Member Author

kou commented Nov 4, 2020

Ah, I see.

I'll try to follow up on the mailing list tomorrow

Thanks!

GeorgeAp pushed a commit to sirensolutions/arrow that referenced this pull request Jun 7, 2021
They are detected by Xcode 12.

Closes apache#8587 from kou/xcode-12

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants