Skip to content

[Python Dev] Using reinterpret_steal breaks the refcount of the passed-in object#17525

Merged
Mytherin merged 1 commit intoduckdb:v1.3-ossivalisfrom
Tishj:fix_pytype_constructor_corruption
May 19, 2025
Merged

[Python Dev] Using reinterpret_steal breaks the refcount of the passed-in object#17525
Mytherin merged 1 commit intoduckdb:v1.3-ossivalisfrom
Tishj:fix_pytype_constructor_corruption

Conversation

@Tishj
Copy link
Contributor

@Tishj Tishj commented May 18, 2025

Fix #17523

Fixes the corruption of the refcount of the passed-in object

…resulting in any interaction with the object resulting in a crash
@Tishj Tishj changed the base branch from main to v1.3-ossivalis May 18, 2025 07:27
@Mytherin Mytherin merged commit 4fbe38a into duckdb:v1.3-ossivalis May 19, 2025
13 checks passed
@Mytherin
Copy link
Collaborator

Thanks!

krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 21, 2025
Fix update extensions (duckdb/duckdb#17527)
[Python Dev] Using `reinterpret_steal` breaks the refcount of the passed-in object (duckdb/duckdb#17525)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 21, 2025
Fix update extensions (duckdb/duckdb#17527)
[Python Dev] Using `reinterpret_steal` breaks the refcount of the passed-in object (duckdb/duckdb#17525)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 21, 2025
Fix update extensions (duckdb/duckdb#17527)
[Python Dev] Using `reinterpret_steal` breaks the refcount of the passed-in object (duckdb/duckdb#17525)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 23, 2025
Fix update extensions (duckdb/duckdb#17527)
[Python Dev] Using `reinterpret_steal` breaks the refcount of the passed-in object (duckdb/duckdb#17525)
@Tishj Tishj deleted the fix_pytype_constructor_corruption branch November 7, 2025 15:35
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.

Type Conversion for UDF - segfault

2 participants