[GRASS-dev] [GRASS GIS] #1580: wxGUI crashes when editing script that has been launched at least once

#1580: wxGUI crashes when editing script that has been launched at least once
----------------------------------+-----------------------------------------
Reporter: mlennert | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.5.0
Component: wxGUI | Version: unspecified
Keywords: wxGUI, script, crash | Platform: Linux
      Cpu: Unspecified |
----------------------------------+-----------------------------------------
- Take any script, such as

{{{
#! /bin/bash

echo "running script"
r.to.vect input=myroads output=myroads
v.select ainput=roadsmajor binput=censusblk_swwake output=selected_roads
operator=within
}}}

- Launch it using Launch script in the File menu of the wxGUI.

- Open the script file in any editor (I tried vi and gedit) and save it
again.

=> wxGUI crashes with the following error message appearing in the
terminal:

{{{
Gtk:ERROR:/build/buildd-
gtk+2.0_2.20.1-2-i386-TNeM25/gtk+2.0-2.20.1/gtk/gtkfilesystemmodel.c:746:gtk_file_system_model_sort:
assertion failed: (r == n_visible_rows)
}}}

A backtrace is attached.

This happens in trunk, grass65 and grass64svn

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