File: gstmessage.override
Function: _wrap_gst_message_parse_info
Error: calling PyList_SetItem with NULL as argument 1 (ret) at gstmessage.override:193
178 static PyObject *
179 _wrap_gst_message_parse_info (PyGstMiniObject *self)
180 {
181 	PyObject	*ret;
182 	GError	*info = NULL;
183 	gchar	*debug;
184 	
185 	if (GST_MESSAGE_TYPE(self->obj) != GST_MESSAGE_INFO) {
when treating unknown struct GstMiniObject * from gstmessage.override:185 as non-NULL
when taking False path
186 		PyErr_SetString(PyExc_TypeError, "Message is not an info message");
187 		return NULL;
188 	}
189 
190 	gst_message_parse_info (GST_MESSAGE(self->obj), &info, &debug);
191 
192 	ret = PyList_New(2);
when PyList_New() fails
193 	PyList_SetItem(ret, 0, pyg_boxed_new (GST_TYPE_G_ERROR, info, 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:193
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
194 	if (info)
195 		g_error_free (info);
196 	if (debug != NULL) {
197 		PyList_SetItem(ret, 1, PyString_FromString(debug));
198 	} else {
199 		Py_INCREF (Py_None);
200 		PyList_SetItem(ret, 1, Py_None);
201 	}
202 	g_free(debug);
203 	return ret;
204 }