File: gstmessage.override
Function: _wrap_gst_message_parse_error
Error: calling PyList_SetItem with NULL as argument 1 (ret) at gstmessage.override:135
120 static PyObject *
121 _wrap_gst_message_parse_error (PyGstMiniObject *self)
122 {
123 	PyObject	*ret;
124 	GError	*error = NULL;
125 	gchar	*debug;
126 	
127 	if (GST_MESSAGE_TYPE(self->obj) != GST_MESSAGE_ERROR) {
when treating unknown struct GstMiniObject * from gstmessage.override:127 as non-NULL
when taking False path
128 		PyErr_SetString(PyExc_TypeError, "Message is not an error message");
129 		return NULL;
130 	}
131 
132 	gst_message_parse_error (GST_MESSAGE(self->obj), &error, &debug);
133 
134 	ret = PyList_New(2);
when PyList_New() fails
135 	PyList_SetItem(ret, 0, pyg_boxed_new (GST_TYPE_G_ERROR, error, TRUE, TRUE));
when treating unknown struct _PyGObject_Functions * from /usr/include/pygtk-2.0/pygobject.h:207 as non-NULL
when call succeeds
calling PyList_SetItem with NULL as argument 1 (ret) at gstmessage.override:135
PyList_SetItem() invokes Py_TYPE() on the pointer via the PyList_Check() macro, thus accessing (NULL)->ob_type
found 1 similar trace(s) to this
136 	if (error)
137 		g_error_free (error);
138 	if (debug != NULL) {
139 		PyList_SetItem(ret, 1, PyString_FromString(debug));
140 	} else {
141 		Py_INCREF (Py_None);
142 		PyList_SetItem(ret, 1, Py_None);
143 	}
144 	g_free(debug);
145 	return ret;
146 }