#1006: r.terraflow fails to create temp file on Windows when launched from wxgui
------------------------------+---------------------------------------------
Reporter: marisn | Owner: [email protected]
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: Raster | Version: svn-releasebranch64
Resolution: | Keywords: wxgui, wingrass, terraflow
Platform: MSWindows Vista | Cpu: x86-32
------------------------------+---------------------------------------------
Comment (by hamish):
Replying to [comment:9 hellik]:
> D3/3: nrows=1350 ncols=1500 stream_len()=0
> [[BR]]
> '''Assertion failed: nrows * ncols == str->stream_len(), file
> grass2str.h, line 146'''
(assert() complains because the two sides are not the same)
ok, so str->stream_len() is not getting set correctly.
I wonder if this works:
{{{
/* create output stream */
AMI_STREAM<T>* str = new AMI_STREAM<T>();
}}}
stream_len() is defined in include/iostream/ami_stream.h
(number of items in each stream)
more debug messages now turned on in that r41548 (6.5svn) ...
hmmm I get "Free Memory=-1" in stats.out on 32bit linux too.
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1006#comment:12>
GRASS GIS <http://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev