-
-
Notifications
You must be signed in to change notification settings - Fork 36.1k
deleting sqlite3 row_factory causes segfault #149738
Copy link
Copy link
Closed
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtopic-sqlite3type-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump
Description
Activity
Metadata
Metadata
Assignees
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtopic-sqlite3type-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump
Projects
- StatusShow more project fieldsDone
Crash report
What happened?
->
zsh: segmentation fault python3In connection.c, the row_factory is compared against Py_None and incref'd, but deleting it sets it to null, resulting in
Py_INCREF(NULL)CPython versions tested on:
3.14
Operating systems tested on:
macOS
Output from running 'python -VV' on the command line:
No response
Linked PRs