File: gstelement.override
Function: _wrap_gst_element_get_pad_template_list
Error: calling PyList_SetItem with NULL as argument 1 (ret) at gstelement.override:540
523 static PyObject *
524 _wrap_gst_element_get_pad_template_list(PyGObject *self)
525 {
526         PyObject *ret;
527 	GList *res = NULL;
528 	guint i;
529     
530         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()
531         res = gst_element_class_get_pad_template_list
532             (GST_ELEMENT_GET_CLASS (self->obj));
when treating unknown struct GObject * from gstelement.override:532 as non-NULL
533         pyg_end_allow_threads;
when considering range: -0x80000000 <= value <= -1
taking True path
reacquiring the GIL by calling PyEval_RestoreThread()
534 
535         if (res) {
when treating unknown struct GList * from gstelement.override:531 as non-NULL
taking True path
536 		i = g_list_length (res);
537 		ret = PyList_New (i);
when PyList_New() fails
538 		for (i = 0 ; res ; res = g_list_next (res), i++) {
taking True path
539 			GstPadTemplate * tmpl = (GstPadTemplate *) res->data;
540 			PyList_SetItem (ret, i, pygobject_new (G_OBJECT (tmpl)));
when call succeeds
calling PyList_SetItem with NULL as argument 1 (ret) at gstelement.override:540
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
541 		}
542         } else {
543                 ret = Py_None;
544                 Py_INCREF (ret);
545         }
546 
547         return ret;
548 }