[GRASS-dev] [GRASS GIS] #1411: closing area boundary crashes entire GUI

#1411: closing area boundary crashes entire GUI
---------------------------------+------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
     Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: wxdigizer,digitizer | Platform: Unspecified
      Cpu: OSX/Intel |
---------------------------------+------------------------------------------
If I'm creating an area in the wxGUI digitizer, right clicking to close
the boundary (how else to close it?) will crash the GUI. This is on the
Mac, but may affect other platforms. GRASS 7 compiled a couple days ago
(r47225)

Michael

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

#1411: closing area boundary crashes entire GUI
---------------------------------+------------------------------------------
Reporter: cmbarton | Owner: martinl
     Type: defect | Status: assigned
Priority: critical | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: wxdigizer,digitizer | Platform: Unspecified
      Cpu: OSX/Intel |
---------------------------------+------------------------------------------
Changes (by martinl):

* cc: grass-dev@… (added)
  * owner: grass-dev@… => martinl
  * status: new => assigned

Comment:

* 32 or 64bit ?
  * compiled with or without LFS?

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

#1411: closing area boundary crashes entire GUI
---------------------------------+------------------------------------------
Reporter: cmbarton | Owner: martinl
     Type: defect | Status: assigned
Priority: critical | Milestone: 6.5.0
Component: wxGUI | Version: unspecified
Keywords: wxdigizer,digitizer | Platform: Unspecified
      Cpu: OSX/Intel |
---------------------------------+------------------------------------------
Changes (by cmbarton):

  * version: svn-trunk => unspecified
  * milestone: 7.0.0 => 6.5.0

Comment:

This affects both GRASS 7 and GRASS 6.5

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

#1411: closing area boundary crashes entire GUI
---------------------------------+------------------------------------------
Reporter: cmbarton | Owner: martinl
     Type: defect | Status: assigned
Priority: critical | Milestone: 6.5.0
Component: wxGUI | Version: unspecified
Keywords: wxdigizer,digitizer | Platform: Unspecified
      Cpu: OSX/Intel |
---------------------------------+------------------------------------------

Comment(by martinl):

Replying to [comment:2 cmbarton]:
> This affects both GRASS 7 and GRASS 6.5

...and probably also 6.4.2. It's seems to me as a know bug (if you are on
32bits and with LFS).

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

#1411: closing area boundary crashes entire GUI
---------------------------------+------------------------------------------
Reporter: cmbarton | Owner: martinl
     Type: defect | Status: assigned
Priority: critical | Milestone: 6.5.0
Component: wxGUI | Version: unspecified
Keywords: wxdigizer,digitizer | Platform: Unspecified
      Cpu: OSX/Intel |
---------------------------------+------------------------------------------

Comment(by cmbarton):

I'm on a Mac. This is compiled 64bit and without LFS support (unless that
is the default). Here is my config string:

./configure --with-freetype --with-freetype-
includes="/Library/Frameworks/FreeType.framework/unix/include/freetype2
/Library/Frameworks/FreeType.framework/unix/include" --with-freetype-
libs=/Library/Frameworks/FreeType.framework/unix/lib --with-
gdal=/Library/Frameworks/GDAL.framework/Programs/gdal-config --with-proj
--with-proj-includes=/Library/Frameworks/PROJ.framework/unix/include
--with-proj-libs=/Library/Frameworks/PROJ.framework/unix/lib --with-proj-
share=/Library/Frameworks/PROJ.framework/Resources/proj --with-
geos=/Library/Frameworks/GEOS.framework/Programs/geos-config --with-jpeg-
includes=/Library/Frameworks/UnixImageIO.framework/unix/include --with-
jpeg-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib --with-png-
includes=/Library/Frameworks/UnixImageIO.framework/unix/include --with-
png-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib --with-tiff-
includes=/Library/Frameworks/UnixImageIO.framework/unix/include --with-
tiff-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib --with-cairo
--with-cairo-
includes="/Library/Frameworks/cairo.framework/unix/include/cairo
/Library/Frameworks/cairo.framework/unix/include" --with-cairo-
libs=/Library/Frameworks/cairo.framework/unix/lib --with-cairo-
ldflags="-lcairo" --without-postgres --without-mysql --with-odbc --with-
sqlite --with-sqlite-libs=/Library/Frameworks/SQLite3.framework/unix/lib
--with-sqlite-includes=/Library/Frameworks/SQLite3.framework/unix/include
--with-fftw-includes=/Library/Frameworks/FFTW3.framework/unix/include
--with-fftw-libs=/Library/Frameworks/FFTW3.framework/unix/lib --with-x
--with-cxx --with-opengl=aqua --without-readline
--prefix=/Applications/GRASS --enable-macosx-app --with-python --with-
wxwidgets=/usr/local/lib/wxPython-unicode-2.8.12.0/bin/wx-config --with-
tcltk-includes="/Library/Frameworks/Tcl.framework/Headers
/Library/Frameworks/Tk.framework/Headers
/Library/Frameworks/Tk.framework/PrivateHeaders" --with-tcltk-
libs="/usr/local/tcltk_active/lib" --with-macosx-archs="i386 x86_64"

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

#1411: closing area boundary crashes entire GUI
---------------------------------+------------------------------------------
Reporter: cmbarton | Owner: martinl
     Type: defect | Status: assigned
Priority: critical | Milestone: 6.5.0
Component: wxGUI | Version: unspecified
Keywords: wxdigizer,digitizer | Platform: Unspecified
      Cpu: OSX/Intel |
---------------------------------+------------------------------------------

Old description:

If I'm creating an area in the wxGUI digitizer, right clicking to close
the boundary (how else to close it?) will crash the GUI. This is on the
Mac, but may affect other platforms. GRASS 7 compiled a couple days ago
(r47225)

Michael

New description:

If I'm creating an area in the wxGUI digitizer, right clicking to close
the boundary (how else to close it?) will crash the GUI. This is on the
Mac, but may affect other platforms. GRASS 7 compiled a couple days ago
(r47225)

Michael'' ''

--

Comment(by martinl):

Replying to [comment:2 cmbarton]:
> This affects both GRASS 7 and GRASS 6.5

try more recent version please. Also some debug messages could help

{{{
g.gisenv set=DEBUG=5
}}}

and attach last debug messages you obtain.

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

#1411: closing area boundary crashes entire GUI
---------------------------------+------------------------------------------
Reporter: cmbarton | Owner: martinl
     Type: defect | Status: assigned
Priority: critical | Milestone: 6.5.0
Component: wxGUI | Version: unspecified
Keywords: wxdigizer,digitizer | Platform: Unspecified
      Cpu: OSX/Intel |
---------------------------------+------------------------------------------

Comment(by cmbarton):

Closing an area feature in the digitizer now works fine. No crashes.
Thanks much!

Michael

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

#1411: closing area boundary crashes entire GUI
---------------------------------+------------------------------------------
Reporter: cmbarton | Owner: martinl
     Type: defect | Status: assigned
Priority: critical | Milestone: 6.5.0
Component: wxGUI | Version: unspecified
Keywords: wxdigizer,digitizer | Platform: Unspecified
      Cpu: OSX/Intel |
---------------------------------+------------------------------------------

Comment(by cmbarton):

Tested in GRASS 7 compiled a few minutes ago 12 Sept. 2011.

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

#1411: closing area boundary crashes entire GUI
--------------------------+-------------------------------------------------
  Reporter: cmbarton | Owner: martinl
      Type: defect | Status: closed
  Priority: critical | Milestone: 6.5.0
Component: wxGUI | Version: unspecified
Resolution: fixed | Keywords: wxdigizer,digitizer
  Platform: Unspecified | Cpu: OSX/Intel
--------------------------+-------------------------------------------------
Changes (by martinl):

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

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