[CONPY-274] Crash in garbage collector Created: 2023-11-27 Updated: 2023-12-01 Resolved: 2023-12-01 |
|
| Status: | Closed |
| Project: | MariaDB Connector/Python |
| Component/s: | DBAPI 2.0 |
| Affects Version/s: | 1.1.8 |
| Fix Version/s: | 1.1.9 |
| Type: | Bug | Priority: | Major |
| Reporter: | Georg Richter | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
OS: Windows 11 |
||
| Python Version: | 3.8+ |
| Description |
|
When running a script without closing connection and cursor python sometimes crashes when closing these objects via garbage collector (Only reproducable on Windows). Instead of if tp_dealloc method, objects should be cleared in tp_finalize.
|