Skip to content

WIP: GH-43057: [C++] Debug sporadic CI crash#43936

Closed
pitrou wants to merge 1 commit intoapache:mainfrom
pitrou:gh43057-debug
Closed

WIP: GH-43057: [C++] Debug sporadic CI crash#43936
pitrou wants to merge 1 commit intoapache:mainfrom
pitrou:gh43057-debug

Conversation

@pitrou
Copy link
Copy Markdown
Member

@pitrou pitrou commented Sep 3, 2024

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@github-actions
Copy link
Copy Markdown

github-actions bot commented Sep 3, 2024

⚠️ GitHub issue #43057 has been automatically assigned in GitHub to PR creator.

@pitrou
Copy link
Copy Markdown
Member Author

pitrou commented Sep 3, 2024

@github-actions crossbow submit test-ubuntu-20.04-cpp

@github-actions github-actions bot added the awaiting review Awaiting review label Sep 3, 2024
@github-actions
Copy link
Copy Markdown

github-actions bot commented Sep 3, 2024

Failed to render template `docker-tests/github.linux.yml` with UndefinedError: 'failure' is undefined
The Archery job run can be found at: https://github.com/apache/arrow/actions/runs/10684705446

@pitrou
Copy link
Copy Markdown
Member Author

pitrou commented Sep 3, 2024

@github-actions crossbow submit test-ubuntu-20.04-cpp

@github-actions

This comment was marked as outdated.

@pitrou
Copy link
Copy Markdown
Member Author

pitrou commented Sep 3, 2024

@github-actions crossbow submit test-ubuntu-20.04-cpp

@github-actions

This comment was marked as outdated.

@pitrou
Copy link
Copy Markdown
Member Author

pitrou commented Sep 3, 2024

@github-actions crossbow submit test-ubuntu-20.04-cpp

@github-actions

This comment was marked as outdated.

@pitrou
Copy link
Copy Markdown
Member Author

pitrou commented Sep 3, 2024

@github-actions crossbow submit test-ubuntu-20.04-cpp

@github-actions

This comment was marked as outdated.

@pitrou
Copy link
Copy Markdown
Member Author

pitrou commented Sep 3, 2024

@github-actions crossbow submit test-ubuntu-20.04-cpp

@github-actions

This comment was marked as outdated.

@pitrou
Copy link
Copy Markdown
Member Author

pitrou commented Sep 3, 2024

@github-actions crossbow submit test-ubuntu-20.04-cpp

@github-actions
Copy link
Copy Markdown

github-actions bot commented Sep 3, 2024

Revision: cba1277

Submitted crossbow builds: ursacomputing/crossbow @ actions-494e659fc6

Task Status
test-ubuntu-20.04-cpp GitHub Actions

@pitrou
Copy link
Copy Markdown
Member Author

pitrou commented Sep 3, 2024

Ok, now that I finally managed to enable core dumps, I cannot get a crashing test anymore... Hopefully this will fail again later.

@pitrou
Copy link
Copy Markdown
Member Author

pitrou commented Sep 9, 2024

I'm going to close this PR now that we have stack traces

@pitrou pitrou closed this Sep 9, 2024
@pitrou pitrou deleted the gh43057-debug branch September 9, 2024 13:31
kou added a commit that referenced this pull request Sep 11, 2024
…bs (#43937)

### Rationale for this change

In #43936 I noticed that core dumps were not written out for crashing C++ tests. One problem is that, by default, Ubuntu hosts pipe core dumps to `apport`, but it is not available inside containers. Another is that the `ulimit` must be set in the host, not in the container.

In addition, this PR restores automatic traceback generation when running C++ tests, on Linux and macOS jobs.

### Are these changes tested?

Manually by introducing a spurious segfault and running Docker containers.

### Are there any user-facing changes?

No.

Lead-authored-by: Antoine Pitrou <antoine@python.org>
Co-authored-by: Antoine Pitrou <pitrou@free.fr>
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
khwilson pushed a commit to khwilson/arrow that referenced this pull request Sep 14, 2024
…bs (apache#43937)

### Rationale for this change

In apache#43936 I noticed that core dumps were not written out for crashing C++ tests. One problem is that, by default, Ubuntu hosts pipe core dumps to `apport`, but it is not available inside containers. Another is that the `ulimit` must be set in the host, not in the container.

In addition, this PR restores automatic traceback generation when running C++ tests, on Linux and macOS jobs.

### Are these changes tested?

Manually by introducing a spurious segfault and running Docker containers.

### Are there any user-facing changes?

No.

Lead-authored-by: Antoine Pitrou <antoine@python.org>
Co-authored-by: Antoine Pitrou <pitrou@free.fr>
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
QuietCraftsmanship pushed a commit to QuietCraftsmanship/arrow that referenced this pull request Jul 7, 2025
…bs (#43937)

### Rationale for this change

In apache/arrow#43936 I noticed that core dumps were not written out for crashing C++ tests. One problem is that, by default, Ubuntu hosts pipe core dumps to `apport`, but it is not available inside containers. Another is that the `ulimit` must be set in the host, not in the container.

In addition, this PR restores automatic traceback generation when running C++ tests, on Linux and macOS jobs.

### Are these changes tested?

Manually by introducing a spurious segfault and running Docker containers.

### Are there any user-facing changes?

No.

Lead-authored-by: Antoine Pitrou <antoine@python.org>
Co-authored-by: Antoine Pitrou <pitrou@free.fr>
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
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

awaiting review Awaiting review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant