[GRASS-dev] [GRASS GIS] #297: wxNVIZ: crash or failure

#297: wxNVIZ: crash or failure
----------------------+-----------------------------------------------------
Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: critical | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Keywords: | Platform: Linux
      Cpu: x86-64 |
----------------------+-----------------------------------------------------
Starting w NVIZ I either get a complete wxGUI crash, with a following
related entry in dmesg output:

{{{
python[982]: segfault at 68 ip 7f970909eb06 sp 7fff1f6dfb00 error 4 in
libgrass_gis.6.4.svn.so[7f9709075000+64000]
}}}

or, a plain blank screen and an error on the terminal:

{{{
Gtk-CRITICAL **: gtk_range_set_range: assertion `min < max' failed
}}}

r33303

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

#297: wxNVIZ: crash or failure
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: martinl
      Type: defect | Status: assigned
  Priority: critical | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords: nviz
  Platform: Linux | Cpu: x86-64
-----------------------+----------------------------------------------------
Changes (by martinl):

  * keywords: => nviz
  * status: new => assigned
  * owner: grass-dev@lists.osgeo.org => martinl
* cc: grass-dev@lists.osgeo.org (added)

Comment:

I cannot reproduce it. Can you send me sample location or exact commands
which lead to this crash?

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

#297: wxNVIZ: crash or failure
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: martinl
      Type: defect | Status: assigned
  Priority: critical | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords: nviz
  Platform: Linux | Cpu: x86-64
-----------------------+----------------------------------------------------
Comment (by msieczka):

The crash takes place when the computational region is different than
wxGUI display region.

E.g., in spearfish6:

1. Set region away from data, g.region n=2 e=2 w=1 s=1 res=1 -a.

2. Load 'elevation.dem' in wxGUI.

3. "Zoom to selected map" on it.

4. Start NVIZ - a complete wxGUI crash.

Apparently wxNVIZ depends on computational region. I think it should use
the display region.

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

#297: wxNVIZ: crash or failure
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: martinl
      Type: defect | Status: assigned
  Priority: critical | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords: nviz
  Platform: Linux | Cpu: x86-64
-----------------------+----------------------------------------------------
Comment (by martinl):

Fixed in r33315.

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

#297: wxNVIZ: crash or failure
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: martinl
      Type: defect | Status: closed
  Priority: critical | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: fixed | Keywords: nviz
  Platform: Linux | Cpu: x86-64
-----------------------+----------------------------------------------------
Changes (by martinl):

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

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