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
sqlite segfault with generators #55020
Comments
I found that the sqlite3 function executemany module crashes when passed in a generator that it iself is executing a query. It looks like this confuses the statement cache, and causes it to get cleared inappropriately in this case. I've attached a file that exhibits the problem, which results in this stack trace: Program received signal EXC_BAD_ACCESS, Could not access memory. |
New changeset c6523d6faef4 by Gerhard Haering in branch 'default': |
New changeset 2fdabf0dc8f7 by Victor Stinner in branch 'default': |
Can this be closed? |
It seems to me that the fix still needs to be backported to 3.2 and 2.7. |
New changeset 631e99961c5f by Petri Lehtinen in branch '2.7': New changeset d51ceef4b62f by Petri Lehtinen in branch '3.2': |
It's now fixed in all branches. Thanks for reporting! |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: