[GRASS-dev] [GRASS GIS] #1214: r.li.edgedensity: segmentation fault

Glynn Clements glynn at gclements.plus.com
Tue Nov 23 14:46:08 EST 2010


Markus Neteler wrote:

> does anyone have an idea why memcpy() fails below?

> >  Program received signal SIGSEGV, Segmentation fault.
> >  0x00002aaaaaf42655 in next_Area (parsed=1, l=0x604690, g=0x6046b0,
> >  m=0x7fffffffadc0) at daemon.c:651
> >  651                 memcpy(&tmp, l->head->m, sizeof(msg));

tmp is a local variable of type msg, so either l, l->head or
l->head->m are bogus. No idea which, although l itself appears sane.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list