[GRASS-dev] [GRASS GIS] #1590: new vector map crashing GUI in 6.4.3 svn

#1590: new vector map crashing GUI in 6.4.3 svn
-------------------------+--------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: wxGUI | Version: svn-releasebranch64
Keywords: digitizer | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
I just compiled 6.4.3 svn and tested. The digitizer crashes the entire GUI
if you try to create a new vector map. The empty vector is created. I
fixed the topology and tried to digitize it again, and it crashed the GUI
again.

Digitizing on an existing map works fine.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1590&gt;
GRASS GIS <http://grass.osgeo.org>

#1590: new vector map crashing GUI in 6.4.3 svn
-------------------------+--------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: wxGUI | Version: svn-releasebranch64
Keywords: digitizer | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by annakrat):

Bug is caused by running db.execute with {{{input='-'}}} option in
gui_core/dialogs in {{{CreateNewVector}}}, which works for 6.5 but not 6.4
(difference is in db/base/execute.c line 49). I removed {{{input='-'}}}
(r50932), another option is to synchronize execute.c.

Anna

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1590#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1590: new vector map crashing GUI in 6.4.3 svn
-------------------------+--------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: wxGUI | Version: svn-releasebranch64
Keywords: digitizer | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by cmbarton):

Thanks. I'll try again when I get a chance to compile.

Michaesl

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1590#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1590: new vector map crashing GUI in 6.4.3 svn
--------------------------+-------------------------------------------------
  Reporter: cmbarton | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.3
Component: wxGUI | Version: svn-releasebranch64
Resolution: fixed | Keywords: digitizer
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by cmbarton):

  * status: new => closed
  * resolution: => fixed

Comment:

This is fixed. Closing.

Michael

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1590#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#1590: new vector map crashing GUI in 6.4.3 svn
--------------------------+-------------------------------------------------
  Reporter: cmbarton | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.3
Component: wxGUI | Version: svn-releasebranch64
Resolution: fixed | Keywords: digitizer
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------

Comment(by martinl):

Replying to [comment:1 annakrat]:
> Bug is caused by running db.execute with {{{input='-'}}} option in
gui_core/dialogs in {{{CreateNewVector}}}, which works for 6.5 but not 6.4
(difference is in db/base/execute.c line 49). I removed {{{input='-'}}}
(r50932), another option is to synchronize execute.c.

just quick note, I would prefer to synchronize usage of `db.execute` (G65
X G64) rather than just fixing wxGUI code.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1590#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>