File: | ./gst.override |
Function: | gst_type_find_suggest_handler |
Error: | ob_refcnt of new ref from call to PyObject_CallObject is 1 too high |
1106 static void
1107 gst_type_find_suggest_handler (gpointer data, guint probability, const GstCaps * caps)
1108 {
1109 PyGILState_STATE state;
1110 PyObject *py_data;
1111 PyObject *callback, *args;
1112
1113 GST_DEBUG ("mkay");
when taking True path
when considering range: -0x8000000000000000 <= value <= -1
taking True path
1114
1115 if (!data)
when taking False path
1116 return;
1117 py_data = (PyObject *) data;
1118 g_assert (PyTuple_Check (py_data));
when treating unknown void * from ./gst.override:1107 as non-NULL
when treating unknown struct _typeobject * from ./gst.override:1118 as non-NULL
when considering range: 1 <= value <= 0x4000000
taking True path
when considering range: -0x8000000000000000 <= value <= -1
taking True path
1119
1120 state = pyg_gil_state_ensure ();
when treating unknown struct _PyGObject_Functions * from /usr/include/pygtk-2.0/pygobject.h:207 as non-NULL
calling unknown int (*) (void) from ./gst.override:1120
1121
1122 /* Figure out the callback and create the arguments */
1123 if (!(callback = PyTuple_GetItem(py_data, 2)))
taking False path
1124 goto beach;
1125
1126 args = Py_BuildValue ("(OIN)",
when call succeeds
when Py_BuildValue() succeeds
1127 PyTuple_GetItem(py_data, 0),
1128 probability, pyg_boxed_new (GST_TYPE_CAPS, (GstCaps*) caps, TRUE, TRUE));
1129 if (!args)
taking False path
1130 goto beach;
1131
1132 /* Call python method */
1133 PyObject_CallObject (callback, args);
when PyObject_CallObject() succeeds
new ref from call to PyObject_CallObject allocated at: PyObject_CallObject (callback, args);
ob_refcnt is now refs: 1 + N where N >= 0
1134
1135 Py_DECREF (args);
when taking True path
1136
1137 beach:
1138 pyg_gil_state_release (state);
calling unknown void (*) (int) from ./gst.override:1138
1139 return;
1140 }
ob_refcnt of new ref from call to PyObject_CallObject 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 4 similar trace(s) to this
File: | ./gst.override |
Function: | gst_type_find_suggest_handler |
Error: | ob_refcnt of new ref from call through function pointer is 1 too high |
1106 static void
1107 gst_type_find_suggest_handler (gpointer data, guint probability, const GstCaps * caps)
1108 {
1109 PyGILState_STATE state;
1110 PyObject *py_data;
1111 PyObject *callback, *args;
1112
1113 GST_DEBUG ("mkay");
when taking True path
when considering range: -0x8000000000000000 <= value <= -1
taking True path
1114
1115 if (!data)
when taking False path
1116 return;
1117 py_data = (PyObject *) data;
1118 g_assert (PyTuple_Check (py_data));
when treating unknown void * from ./gst.override:1107 as non-NULL
when treating unknown struct _typeobject * from ./gst.override:1118 as non-NULL
when considering value == (long int)0 from ./gst.override:1118
taking False path
when considering range: -0x8000000000000000 <= value <= -1
taking True path
1119
1120 state = pyg_gil_state_ensure ();
when treating unknown struct _PyGObject_Functions * from /usr/include/pygtk-2.0/pygobject.h:207 as non-NULL
calling unknown int (*) (void) from ./gst.override:1120
1121
1122 /* Figure out the callback and create the arguments */
1123 if (!(callback = PyTuple_GetItem(py_data, 2)))
taking False path
1124 goto beach;
1125
1126 args = Py_BuildValue ("(OIN)",
when call succeeds
when Py_BuildValue() fails
new ref from call through function pointer allocated at: args = Py_BuildValue ("(OIN)",
ob_refcnt is now refs: 1 + N where N >= 0
1127 PyTuple_GetItem(py_data, 0),
1128 probability, pyg_boxed_new (GST_TYPE_CAPS, (GstCaps*) caps, TRUE, TRUE));
1129 if (!args)
taking True path
1130 goto beach;
1131
1132 /* Call python method */
1133 PyObject_CallObject (callback, args);
1134
1135 Py_DECREF (args);
1136
1137 beach:
1138 pyg_gil_state_release (state);
calling unknown void (*) (int) from ./gst.override:1138
1139 return;
1140 }
ob_refcnt of new ref from call through function pointer 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