File: gst.c
Function: _wrap_gst_uri_handler_get_protocols
Error: calling PyTuple_SetItem with NULL as argument 1 (py_ret) at gst.c:23058
23045 static PyObject *
23046 _wrap_gst_uri_handler_get_protocols(PyGObject *self)
23047 {
23048     gchar **ret;
23049 
23050     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()
23051     ret = gst_uri_handler_get_protocols(GST_URI_HANDLER(self->obj));
23052     pyg_end_allow_threads;
when considering range: -0x80000000 <= value <= -1
taking True path
reacquiring the GIL by calling PyEval_RestoreThread()
23053     if (ret) {
when treating unknown gchar * * from gst.c:23051 as non-NULL
taking True path
23054         guint size = g_strv_length(ret);
23055         PyObject *py_ret = PyTuple_New(size);
when PyTuple_New() fails
23056         gint i;
23057         for (i = 0; i < size; i++)
when considering range: 1 <= value <= 0xffffffff
taking True path
23058             PyTuple_SetItem(py_ret, i,
when treating unknown gchar * * from gst.c:23054 as non-NULL
when PyString_FromString() succeeds
calling PyTuple_SetItem with NULL as argument 1 (py_ret) at gst.c:23058
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
23059                 PyString_FromString(ret[i]));
23060         return py_ret;
23061     }
23062     return PyTuple_New (0);
23063 
23064 }