[GRASS-dev] [bug #5076] (grass) gis.m: freeze when zooming on Map
Display 2 while Map Display 1 is being refreshed
Request Tracker
grass-bugs at intevation.de
Wed Aug 30 11:13:30 EDT 2006
this bug's URL: http://intevation.de/rt/webrt?serial_num=5076
-------------------------------------------------------------------------
Subject: gis.m: freeze when zooming on Map Display 2 while Map Display 1 is being refreshed
Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: 2006-08-29
In spearfish60.
1. $ grass63 -text
2. $ g.region rast=slope res=1 -a
(setting res to 1 to slow down the display to make the bug easy to reproduce)
3. $ gis.m
4. add some raster, display it
5. start Map Display 2, add another raster
6. refresh Map Display 2 and try to press 'zoom in' on Map Display 1 while Map Display 2 is being refreshed - the outcome is:
error renaming "/home/grassdata/spearfish60/sieczka/.tmp/sorbus/15530.0.ppm": no such file or directory
error renaming "/home/grassdata/spearfish60/sieczka/.tmp/sorbus/15530.0.ppm": no such file or directory
while executing
"file rename -force $mapfile($mon) $lfile($id)"
(procedure "GmCommonLayer::display_commands" line 31)
invoked from within
"GmCommonLayer::display_commands $namespace $id [list $cmd]"
(procedure "GmCommonLayer::display_command" line 2)
invoked from within
"GmCommonLayer::display_command [namespace current] $id $cmd"
(procedure "GmRaster::display" line 71)
invoked from within
"GmRaster::display $node $mod"
("raster" arm line 2)
invoked from within
"switch $type {
group {
GmGroup::display $node $mod
}
raster {
GmRaster::display $node $mod
}
labels {
GmLabels::disp..."
(procedure "GmTree::display_node" line 7)
invoked from within
"GmTree::display_node $n $mod"
(procedure "GmGroup::display" line 25)
invoked from within
"GmGroup::display "root" $mod"
(procedure "MapCanvas::runprograms" line 69)
invoked from within
"MapCanvas::runprograms $mon [expr {$mymodified != 0}]"
(procedure "MapCanvas::drawmap" line 38)
invoked from within
"MapCanvas::drawmap $mon"
(procedure "MapCanvas::display_server" line 9)
invoked from within
"MapCanvas::display_server"
("after" script)
gis.m freezes, I have to kill -9 it's wish.
I'm not saying that zooming on one display while the other is being refreshed must work (I don't think it is critical), but if the user tries to do such a thing (it's likely - the refresh takes long on Map Display 1, so he decides to use Map Display 2 in the meantime) it cannot result in a complete freeze of gis.m.
Maciek
-------------------------------------------- Managed by Request Tracker
More information about the grass-dev
mailing list