Ok,<br>with the following command: <br>v.net.iso input=prova_punto4 output=prova_punto_err type=line,boundary alayer=1 nlayer=2 ccats=1-100000 costs=1000,5000,10000,20000<br><br>I obtain the "same" error.. and the last few lines are:<br>
<div style="margin-left: 40px;">0026f000-00270000 rw-p 0004d000 08:01 137602 /usr/local/grass-6.5.svn/lib/<a href="http://libgrass_gis.6.5.svn.so">libgrass_gis.6.5.svn.so</a><br>00270000-00271000 rw-p 00000000 00:00 0 <br>
00271000-0035a000 r-xp 00000000 08:01 2363060 /usr/lib/libstdc++.so.6.0.13<br>0035a000-0035b000 ---p 000e9000 08:01 2363060 /usr/lib/libstdc++.so.6.0.13<br>0035b000-0035f000 r--p 000e9000 08:01 2363060 /usr/lib/libstdc++.so.6.0.13<br>
0035f000-00360000 rw-p 000ed000 08:01 2363060 /usr/lib/libstdc++.so.6.0.13<br>00360000-00367000 rw-p 00000000 00:00 0 <br>00367000-00394000 r-xp 00000000 08:01 2362767 /usr/lib/libgssapi_krb5.so.2.2<br>00394000-00395000 r--p 0002d000 08:01 2362767 /usr/lib/libgssapi_krb5.so.2.2Aborted<br>
</div><br>the lines of debug just above the error are: <br><div style="margin-left: 40px;">D3/5: Line 2 : length = 56.568542<br>D3/5: Arc centres: 0 0 (nodes: 3 4)<br>D3/5: Vect_net_get_node_cost(): node = 3<br>D3/5: -> cost = 0.000000<br>
D3/5: Vect_net_get_node_cost(): node = 4<br>D3/5: -> cost = 0.000000<br>D5/5: Vect_net_get_line_cost(): line = 2, dir = 1<br>D5/5: Vect_net_get_line_cost(): line = 2, dir = 2<br>D5/5: Vect_net_get_line_cost(): edge_bcosts = 56.568542<br>
D3/5: s1cost = 13900.749000 n1cost = 0.000000 e1cost = 56.568542<br>D3/5: s2cost = 13957.317000 n2cost = 0.000000 e2cost = 56.568542<br>D3/5: -> arc is reachable<br>D3/5: npnts1 = 1<br>D3/5: npnts2 = 1<br>D3/5: pnt1 = 0 dist1 = 0.000000 iso1 = 2 max iso2 = 2<br>
D3/5: npnts1 cut = 1<br>D3/5: pnt2 = 0 dist2 = 56.568542 iso2 = 2 max iso1 = 2<br>D3/5: npnts2 cut = 1<br>D3/5: npnts1 2. cut = 1<br>D3/5: npnts2 2. cut = 1<br>*** glibc detected *** v.net.iso: realloc(): invalid next size: 0x08df1450 ***<br>
</div><br>moreover I ran more than one time the command and the last row of the error-output (first attached) seems to refer to SOME different libraries (not even the same)..<br>I'm confused.<br><br>Many thanks, Annalisa<br>
<br><div class="gmail_quote">2010/6/23 Martin Landa <span dir="ltr"><<a href="mailto:landa.martin@gmail.com">landa.martin@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
2010/6/23 Annalisa Minelli <<a href="mailto:annagrass6@gmail.com">annagrass6@gmail.com</a>>:<br>
<div><div></div><div class="h5">> I'm testing v.net.iso on some river networks to calculate the "distance<br>
> zones" along the river from a date point (cross section), and *sometimes* I<br>
> found this strange error (in more versions of GRASS: I updated software<br>
> yesterday, compiled and tested on 64, 65 and 70.. with the same results):<br>
><br>
> Number of centres: 1 (nlayer 2)<br>
> Calculating costs from centre 1...<br>
> 100%<br>
> Generating isolines...<br>
> *** glibc detected *** v.net.iso: realloc(): invalid next size: 0x085ecfd8<br>
> ***<br>
> ======= Backtrace: =========<br>
> /lib/tls/i686/cmov/libc.so.6(+0x6b591)[0x3ea591]<br>
> /lib/tls/i686/cmov/libc.so.6(+0x70cbd)[0x3efcbd]<br>
> /lib/tls/i686/cmov/libc.so.6(realloc+0xdd)[0x3eff9d]<br>
> /usr/local/grass-6.5.svn/lib/libgrass_gis.so(G__realloc+0x35)[0x11eb55]<br>
> v.net.iso(main+0x15b9)[0x804a889]<br>
> /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x395bd6]<br>
> v.net.iso[0x8049231]<br>
> ======= Memory map: ========<br>
> 00110000-0015d000 r-xp 00000000 08:01 137602<br>
> /usr/local/grass-6.5.svn/lib/<a href="http://libgrass_gis.6.5.svn.so" target="_blank">libgrass_gis.6.5.svn.so</a><br>
> 0015d000-0015e000 r--p 0004c000 08:01 137602<br>
> /usr/local/grass-6.5.svn/lib/<a href="http://libgrass_gis.6.5.svn.so" target="_blank">libgrass_gis.6.5.svn.so</a><br>
><br>
> and so on for some tens of lines.<br>
> The very strange thing is that in some cases the module produces the right<br>
> output and gives no errors, in other zones I obtain this error evenif the<br>
> input data are prapared in the same way.<br>
<br>
</div></div>try to set debug level to 5 and run command again.<br>
<br>
g.gisenv DEGUG=5<br>
<br>
Post last few lines from the log.<br>
<br>
Martin<br>
<font color="#888888"><br>
--<br>
Martin Landa <landa.martin <a href="http://gmail.com" target="_blank">gmail.com</a>> * <a href="http://gama.fsv.cvut.cz/%7Elanda" target="_blank">http://gama.fsv.cvut.cz/~landa</a><br>
</font></blockquote></div><br>