Bug #111111 Deallocating None issue
Submitted: 22 May 2023 19:28 Modified: 17 Jun 2023 23:20
Reporter: Marcel M Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / Python Severity:S3 (Non-critical)
Version:8.0.33 OS:Ubuntu (20.04)
Assigned to: CPU Architecture:x86

[22 May 2023 19:28] Marcel M
Description:
I run into a "deallocating None" error, if I use connect()/disconnect() with mysql-connector-python.

Here my environment:
python: 3.8.10
OS: ubuntu 20.04
mysql-connector-python: 8.0.33

How to repeat:
See https://forums.mysql.com/read.php?50,708910,708910#msg-708910 (including testcode)
[24 May 2023 13:12] MySQL Verification Team
Hello Marcel,

Thank you for the bug report.
Verified as described.

Regards,
Ashwini Patil
[17 Jun 2023 23:20] Philip Olson
Posted by developer:
 
Fixed as of the upcoming MySQL Connector/Python 8.1.0 release, and here's the proposed changelog entry from the documentation team:

Closing a connection multiple times could cause a fatal deallocation
error in Connector/Python 8.0.33.

Thank you for the bug report.