File: goocanvas.override
Function: _wrap_goo_canvas_points__get_coords
Error: calling PyList_SetItem with NULL as argument 1 (ret) at goocanvas.override:1899
1884 static PyObject *
1885 _wrap_goo_canvas_points__get_coords(PyObject *self, void *closure)
1886 {
1887     gdouble     *coords;
1888     int         num_points, i;
1889     PyObject    *ret = Py_None;
1890     
1891     num_points = pyg_boxed_get(self, GooCanvasPoints)->num_points;
when treating unknown void * from goocanvas.override:1891 as non-NULL
1892     coords = pyg_boxed_get(self, GooCanvasPoints)->coords;
when treating unknown void * from goocanvas.override:1892 as non-NULL
1893     
1894     if (num_points > 0) {
when considering range: 1 <= value <= 0x7fffffff
taking True path
1895         ret = PyList_New(num_points);
when PyList_New() fails
1896         
1897         for (i = 0; i < num_points; i ++) {
taking True path
1898             PyObject *py_temp = Py_BuildValue("dd", coords[2*i], coords[2*i + 1]);
when treating unknown gdouble * from goocanvas.override:1898 as non-NULL
when treating unknown gdouble * from goocanvas.override:1898 as non-NULL
when Py_BuildValue() succeeds
1899             PyList_SetItem(ret, i, py_temp);
calling PyList_SetItem with NULL as argument 1 (ret) at goocanvas.override:1899
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
1900         }
1901         return ret;
1902     }
1903     Py_INCREF(ret);    
1904     return ret;
1905 }