File: gstelementfactory.override
Function: _wrap_gst_element_factory_get_static_pad_templates
Error: calling PyList_SetItem with NULL as argument 1 (py_list) at gstelementfactory.override:67
51 static PyObject *
52 _wrap_gst_element_factory_get_static_pad_templates(PyGObject *self)
53 {
54   const GList *list;
55   GList	*l;
56   PyObject *py_list;
57   int i = 0;
58 
59   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()
60   list = gst_element_factory_get_static_pad_templates (GST_ELEMENT_FACTORY (self->obj));
61   pyg_end_allow_threads;
when considering range: -0x80000000 <= value <= -1
taking True path
reacquiring the GIL by calling PyEval_RestoreThread()
62 
63   py_list = PyList_New(g_list_length ((GList*) list));
when PyList_New() fails
64 
65   for (l = (GList*) list; l ; l = g_list_next(l), i++) {
when treating unknown const struct GList * from gstelementfactory.override:60 as non-NULL
taking True path
66     GstStaticPadTemplate *templ = (GstStaticPadTemplate*) l->data;
67     PyList_SetItem(py_list, i, pyg_pointer_new(GST_TYPE_STATIC_PAD_TEMPLATE, (gpointer) templ));
when call succeeds
calling PyList_SetItem with NULL as argument 1 (py_list) at gstelementfactory.override:67
PyList_SetItem() invokes Py_TYPE() on the pointer via the PyList_Check() macro, thus accessing (NULL)->ob_type
found 5 similar trace(s) to this
68   }
69   return py_list;
70 }