[GRASS-dev] [GRASS GIS] #3429: g.gui.iclass: segfault when loading vector layer
GRASS GIS
trac at osgeo.org
Fri Nov 10 11:31:55 PST 2017
#3429: g.gui.iclass: segfault when loading vector layer
--------------------------+------------------------------------------
Reporter: mlennert | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.4.0
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords: g.gui.iclass import segfault
CPU: Unspecified | Platform: Unspecified
--------------------------+------------------------------------------
Comment (by annakrat):
Replying to [comment:1 mlennert]:
> Replying to [ticket:3429 mlennert]:
> > * define group
> > * define classes
> > * digitize a few training areas
> > * save training areas to vector map
> > * close g.gui.iclass
> > * reopen g.gui.iclass
> > * import saved vector maps
> > => segfault
>
> I still have this problem. Can anyone reproduce ? Does anyone have a
hint on how to debug this ?
Yes, I looked at it couple days ago, and I could see where the problem is,
but I didn't have time to fix it. The problem is somewhere in
iclass/frame, how it calls the C functions, but I need to explore it more.
The simplest way to debug this (for me) is using debugger integrated into
qtcreator (you need to import grass as a project there). First you run
g.gui.iclass, then in qtcreator you attach this external process and then
do the actions in gui and the debugger shows you the place where it
crashes.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3429#comment:2>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list