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-11686: [C++] Call ArrowLog::InstallFailureSignalHandler to show stack trace #9524

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions cpp/src/arrow/flight/test_integration_client.cc
Expand Up @@ -203,6 +203,8 @@ class IntegrationTestScenario : public flight::Scenario {
} // namespace arrow

int main(int argc, char** argv) {
arrow::util::ArrowLog::InstallFailureSignalHandler();

gflags::SetUsageMessage("Integration testing client for Flight.");
gflags::ParseCommandLineFlags(&argc, &argv, true);
std::shared_ptr<arrow::flight::Scenario> scenario;
Expand All @@ -222,5 +224,7 @@ int main(int argc, char** argv) {
ABORT_NOT_OK(arrow::flight::Location::ForGrpcTcp(FLAGS_host, FLAGS_port, &location));
ABORT_NOT_OK(arrow::flight::FlightClient::Connect(location, options, &client));
ABORT_NOT_OK(scenario->RunClient(std::move(client)));

arrow::util::ArrowLog::UninstallSignalAction();
return 0;
}