[CONPY-101] Negative refcount after cursor.callproc() Created: 2020-08-12  Updated: 2020-08-12  Resolved: 2020-08-12

Status: Closed
Project: MariaDB Connector/Python
Component/s: DBAPI 2.0
Affects Version/s: 1.0.0
Fix Version/s: 1.0.1

Type: Bug Priority: Major
Reporter: Georg Richter Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None


 Description   

When executing cursors.callproc() method with a python debug build, it segfaults with the following message:

../Include/object.h:541: _Py_NegativeRefcount: Assertion failed: object has negative ref count
Memory block allocated at (most recent call first):
  File "<unknown>", line 0
 
object address  : 0x7f8af6e0ebf0
object refcount : -1
object type     : 0x55dee6e03ac0
object type name: tuple
object repr     : <refcnt -1 at 0x7f8af6e0ebf0>
 
Fatal Python error: _PyObject_AssertFailed
Python runtime state: initialized



 Comments   
Comment by Georg Richter [ 2020-08-12 ]

Fixed. rev. 03f283a2ff22c850b965fdbae2f2af4da4379492

Generated at Thu Feb 08 03:30:15 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.