[GRASS-dev] Re: [GRASS GIS] #536: memory corruption
GRASS GIS
trac at osgeo.org
Sat Mar 28 13:36:32 EDT 2009
#536: memory corruption
----------------------+-----------------------------------------------------
Reporter: martinl | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: closed
Priority: blocker | Milestone: 7.0.0
Component: Vector | Version: svn-trunk
Resolution: fixed | Keywords:
Platform: Linux | Cpu: x86-32
----------------------+-----------------------------------------------------
Comment (by martinl):
Replying to [comment:15 martinl]:
> Replying to [comment:14 mmetz]:
> > Can you try the first patch, and if that doesn't work, the second
patch?
> >
> > I seems that v.info failed in main.c:334
> >
> > My guess is that the real problem is in v.info main.c:112. It would be
safer if v_head would be a pointer and line 112 would be v_head =
&Map.head. Even better is patch1, if it works for you.
> >
> > Hope that helps.
>
> Right, it helps (committed in r36508). Anyway I do not understand why
memory corruption was detected only in GRASS7 not GRASS6.
I just forgot to thank you for the help! M.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/536#comment:16>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list