File: | src/BTrees/BTreeTemplate.c |
Function: | BTree__p_resolveConflict |
Error: | ob_refcnt of new ref from (unknown) get_bucket_state is 1 too high |
1194 static PyObject *
1195 BTree__p_resolveConflict(BTree *self, PyObject *args)
1196 {
1197 PyObject *s[3];
1198 PyObject *x, *y, *z;
1199
1200 if (!PyArg_ParseTuple(args, "OOO", &x, &y, &z))
when PyArg_ParseTuple() succeeds
taking False path
1201 return NULL;
1202
1203 s[0] = get_bucket_state(x);
when get_bucket_state() succeeds
new ref from (unknown) get_bucket_state allocated at: s[0] = get_bucket_state(x);
ob_refcnt is now refs: 1 + N where N >= 0
1204 if (s[0] == NULL)
taking False path
1205 return NULL;
1206 s[1] = get_bucket_state(y);
when get_bucket_state() succeeds
1207 if (s[1] == NULL)
taking False path
1208 return NULL;
1209 s[2] = get_bucket_state(z);
when get_bucket_state() succeeds
1210 if (s[2] == NULL)
taking False path
1211 return NULL;
1212
1213 if (PyObject_IsInstance((PyObject *)self, (PyObject *)&BTreeType))
when considering range: -0x80000000 <= value <= -1
taking True path
1214 x = _bucket__p_resolveConflict(OBJECT(&BucketType), s);
when _bucket__p_resolveConflict() succeeds
1215 else
1216 x = _bucket__p_resolveConflict(OBJECT(&SetType), s);
1217
1218 if (x == NULL)
taking False path
1219 return NULL;
1220
1221 return Py_BuildValue("((N))", x);
when Py_BuildValue() succeeds
1222 }
ob_refcnt of new ref from (unknown) get_bucket_state is 1 too high
was expecting final ob_refcnt to be N + 0 (for some unknown N)
but final ob_refcnt is N + 1
found 29 similar trace(s) to this
File: | src/BTrees/BTreeTemplate.c |
Function: | BTree__p_resolveConflict |
Error: | ob_refcnt of '*x.89' is 1 too high |
1194 static PyObject *
1195 BTree__p_resolveConflict(BTree *self, PyObject *args)
1196 {
1197 PyObject *s[3];
1198 PyObject *x, *y, *z;
1199
1200 if (!PyArg_ParseTuple(args, "OOO", &x, &y, &z))
when PyArg_ParseTuple() succeeds
taking False path
1201 return NULL;
1202
1203 s[0] = get_bucket_state(x);
when get_bucket_state() succeeds
1204 if (s[0] == NULL)
taking False path
1205 return NULL;
1206 s[1] = get_bucket_state(y);
when get_bucket_state() succeeds
1207 if (s[1] == NULL)
taking False path
1208 return NULL;
1209 s[2] = get_bucket_state(z);
when get_bucket_state() succeeds
1210 if (s[2] == NULL)
taking False path
1211 return NULL;
1212
1213 if (PyObject_IsInstance((PyObject *)self, (PyObject *)&BTreeType))
when considering range: -0x80000000 <= value <= -1
taking True path
1214 x = _bucket__p_resolveConflict(OBJECT(&BucketType), s);
when _bucket__p_resolveConflict() succeeds
new ref from (unknown) _bucket__p_resolveConflict allocated at: x = _bucket__p_resolveConflict(OBJECT(&BucketType), s);
ob_refcnt is now refs: 1 + N where N >= 0
1215 else
1216 x = _bucket__p_resolveConflict(OBJECT(&SetType), s);
1217
1218 if (x == NULL)
taking False path
1219 return NULL;
1220
1221 return Py_BuildValue("((N))", x);
when Py_BuildValue() fails
1222 }
ob_refcnt of '*x.89' is 1 too high
was expecting final ob_refcnt to be N + 0 (for some unknown N)
but final ob_refcnt is N + 1
found 1 similar trace(s) to this
File: | src/BTrees/BTreeTemplate.c |
Function: | BTree__p_resolveConflict |
Error: | ob_refcnt of '*x.90' is 1 too high |
1194 static PyObject *
1195 BTree__p_resolveConflict(BTree *self, PyObject *args)
1196 {
1197 PyObject *s[3];
1198 PyObject *x, *y, *z;
1199
1200 if (!PyArg_ParseTuple(args, "OOO", &x, &y, &z))
when PyArg_ParseTuple() succeeds
taking False path
1201 return NULL;
1202
1203 s[0] = get_bucket_state(x);
when get_bucket_state() succeeds
1204 if (s[0] == NULL)
taking False path
1205 return NULL;
1206 s[1] = get_bucket_state(y);
when get_bucket_state() succeeds
1207 if (s[1] == NULL)
taking False path
1208 return NULL;
1209 s[2] = get_bucket_state(z);
when get_bucket_state() succeeds
1210 if (s[2] == NULL)
taking False path
1211 return NULL;
1212
1213 if (PyObject_IsInstance((PyObject *)self, (PyObject *)&BTreeType))
when considering value == (int)0 from src/BTrees/BTreeTemplate.c:1213
taking False path
1214 x = _bucket__p_resolveConflict(OBJECT(&BucketType), s);
1215 else
1216 x = _bucket__p_resolveConflict(OBJECT(&SetType), s);
when _bucket__p_resolveConflict() succeeds
new ref from (unknown) _bucket__p_resolveConflict allocated at: x = _bucket__p_resolveConflict(OBJECT(&SetType), s);
ob_refcnt is now refs: 1 + N where N >= 0
1217
1218 if (x == NULL)
taking False path
1219 return NULL;
1220
1221 return Py_BuildValue("((N))", x);
when Py_BuildValue() fails
1222 }
ob_refcnt of '*x.90' is 1 too high
was expecting final ob_refcnt to be N + 0 (for some unknown N)
but final ob_refcnt is N + 1