File: gst.c
Function: _wrap_gst_element_factory_get_uri_protocols
Error: calling PyTuple_SetItem with NULL as argument 1 (py_ret) at gst.c:12062
12049 static PyObject *
12050 _wrap_gst_element_factory_get_uri_protocols(PyGObject *self)
12051 {
12052     gchar **ret;
12053 
12054     pyg_begin_allow_threads;
when treating unknown struct _PyGObject_Functions * from /usr/include/pygtk-2.0/pygobject.h:207 as non-NULL
when considering range: -0x80000000 <= value <= -1
taking True path
releasing the GIL by calling PyEval_SaveThread()
12055     ret = gst_element_factory_get_uri_protocols(GST_ELEMENT_FACTORY(self->obj));
12056     pyg_end_allow_threads;
when considering range: -0x80000000 <= value <= -1
taking True path
reacquiring the GIL by calling PyEval_RestoreThread()
12057     if (ret) {
when treating unknown gchar * * from gst.c:12055 as non-NULL
taking True path
12058         guint size = g_strv_length(ret);
12059         PyObject *py_ret = PyTuple_New(size);
when PyTuple_New() fails
12060         gint i;
12061         for (i = 0; i < size; i++)
when considering range: 1 <= value <= 0xffffffff
taking True path
12062             PyTuple_SetItem(py_ret, i,
when treating unknown gchar * * from gst.c:12058 as non-NULL
when PyString_FromString() succeeds
calling PyTuple_SetItem with NULL as argument 1 (py_ret) at gst.c:12062
PyTuple_SetItem() invokes Py_TYPE() on the pointer via the PyTuple_Check() macro, thus accessing (NULL)->ob_type
found 5 similar trace(s) to this
12063                 PyString_FromString(ret[i]));
12064         return py_ret;
12065     }
12066     return PyTuple_New (0);
12067 
12068 }