🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@ksunden
Copy link
Member

@ksunden ksunden commented Nov 8, 2023

PR summary

This ensures the GIL is held while freeing the renderer buffer.

Fixes #27262

This became problematic in 3.12, but was likely possible in earlier python versions.

This method is handed to Obj-C code to call upon releasing, which we therefore do not fully control.

PR checklist

@QuLogic QuLogic added this to the v3.8.2 milestone Nov 8, 2023
@tacaswell tacaswell added the Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. label Nov 9, 2023
@tacaswell tacaswell merged commit f4ca1ea into matplotlib:main Nov 9, 2023
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Nov 9, 2023
tacaswell added a commit that referenced this pull request Nov 9, 2023
…290-on-v3.8.x

Backport PR #27290 on branch v3.8.x (Ensure GIL while releasing buffer)
@QuLogic
Copy link
Member

QuLogic commented Nov 15, 2023

@meeseeksdev backport to v3.7.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GUI: MacOSX Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Segmentation fault when resizing on Python 3.12 and MacOS 14

3 participants