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

R: Avoid crash when finalizing #8207

Merged
merged 1 commit into from
Jul 12, 2023
Merged

Conversation

krlmlr
Copy link
Collaborator

@krlmlr krlmlr commented Jul 11, 2023

Closes r-dbi/RSQLite#465.

This problem occurs during shutdown of R when another package that also uses the cpp11 package is loaded. The linked PR contains a reprex.

I can spend more time on that as needed.

@Mytherin
Copy link
Collaborator

Thanks for the PR! Could you run make format-fix?

@github-actions github-actions bot marked this pull request as draft July 12, 2023 07:53
@Mytherin Mytherin marked this pull request as ready for review July 12, 2023 08:11
@Mytherin Mytherin merged commit a25458c into duckdb:master Jul 12, 2023
9 checks passed
krlmlr pushed a commit to krlmlr/duckdb that referenced this pull request Aug 21, 2023
krlmlr pushed a commit to krlmlr/duckdb-r that referenced this pull request Sep 2, 2023
krlmlr pushed a commit to krlmlr/duckdb-r that referenced this pull request Sep 2, 2023
krlmlr pushed a commit to krlmlr/duckdb-r that referenced this pull request Sep 2, 2023
krlmlr pushed a commit to krlmlr/duckdb-r that referenced this pull request Sep 2, 2023
- Merge pull request duckdb/duckdb#8717 from Tmonster/projection_quoted_columns

- Indent tests, was part of of the following PRs which otherwise cancel themselves out:

- Merge pull request duckdb/duckdb#8600 from krlmlr/b-altrep-unwind: R: Fix core dump when failing to evaluate ALTREP query

- Merge pull request duckdb/duckdb#8647 from krlmlr/b-altrep-cpp11-wrap: Wrap ALTREP methods with BEGIN_CPP11 and END_CPP11

- Merge pull request duckdb/duckdb#8207 from krlmlr/b-copy-string: R: Avoid crash when finalizing

- Merge pull request duckdb/duckdb#8272 from krlmlr/b-warn-copy: Remove dangerous overload of cpp11::warning()
krlmlr pushed a commit to krlmlr/duckdb-r that referenced this pull request Sep 2, 2023
- Merge pull request duckdb/duckdb#8717 from Tmonster/projection_quoted_columns

- Indent tests, was part of of the following PRs which otherwise cancel themselves out:

- Merge pull request duckdb/duckdb#8600 from krlmlr/b-altrep-unwind: R: Fix core dump when failing to evaluate ALTREP query

- Merge pull request duckdb/duckdb#8647 from krlmlr/b-altrep-cpp11-wrap: Wrap ALTREP methods with BEGIN_CPP11 and END_CPP11

- Merge pull request duckdb/duckdb#8207 from krlmlr/b-copy-string: R: Avoid crash when finalizing

- Merge pull request duckdb/duckdb#8272 from krlmlr/b-warn-copy: Remove dangerous overload of cpp11::warning()
krlmlr pushed a commit to krlmlr/duckdb-r that referenced this pull request Sep 2, 2023
- Merge pull request duckdb/duckdb#8717 from Tmonster/projection_quoted_columns

- Indent tests, was part of of the following PRs which otherwise cancel themselves out:

- Merge pull request duckdb/duckdb#8600 from krlmlr/b-altrep-unwind: R: Fix core dump when failing to evaluate ALTREP query

- Merge pull request duckdb/duckdb#8647 from krlmlr/b-altrep-cpp11-wrap: Wrap ALTREP methods with BEGIN_CPP11 and END_CPP11

- Merge pull request duckdb/duckdb#8207 from krlmlr/b-copy-string: R: Avoid crash when finalizing

- Merge pull request duckdb/duckdb#8272 from krlmlr/b-warn-copy: Remove dangerous overload of cpp11::warning()
krlmlr pushed a commit to krlmlr/duckdb-r that referenced this pull request Sep 2, 2023
- Merge pull request duckdb/duckdb#8717 from Tmonster/projection_quoted_columns

- Indent tests, was part of of the following PRs which otherwise cancel themselves out:

- Merge pull request duckdb/duckdb#8600 from krlmlr/b-altrep-unwind: R: Fix core dump when failing to evaluate ALTREP query

- Merge pull request duckdb/duckdb#8647 from krlmlr/b-altrep-cpp11-wrap: Wrap ALTREP methods with BEGIN_CPP11 and END_CPP11

- Merge pull request duckdb/duckdb#8207 from krlmlr/b-copy-string: R: Avoid crash when finalizing

- Merge pull request duckdb/duckdb#8272 from krlmlr/b-warn-copy: Remove dangerous overload of cpp11::warning()
krlmlr pushed a commit to duckdb/duckdb-r that referenced this pull request Sep 5, 2023
- Merge pull request duckdb/duckdb#8717 from Tmonster/projection_quoted_columns

- Indent tests, was part of of the following PRs which otherwise cancel themselves out:

- Merge pull request duckdb/duckdb#8600 from krlmlr/b-altrep-unwind: R: Fix core dump when failing to evaluate ALTREP query

- Merge pull request duckdb/duckdb#8647 from krlmlr/b-altrep-cpp11-wrap: Wrap ALTREP methods with BEGIN_CPP11 and END_CPP11

- Merge pull request duckdb/duckdb#8207 from krlmlr/b-copy-string: R: Avoid crash when finalizing

- Merge pull request duckdb/duckdb#8272 from krlmlr/b-warn-copy: Remove dangerous overload of cpp11::warning()
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