[GRASS-dev] Re: [GRASS GIS] #617: r.sim.water crashes on WinGrass
GRASS GIS
trac at osgeo.org
Wed Jan 27 00:04:40 EST 2010
#617: r.sim.water crashes on WinGrass
---------------------------+------------------------------------------------
Reporter: hamish | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: normal | Milestone: 6.4.0
Component: Raster | Version: 6.4.0 RCs
Resolution: | Keywords: wingrass, r.sim.water
Platform: MSWindows XP | Cpu: x86-32
---------------------------+------------------------------------------------
Comment (by helena):
I looked at this again and on Mac it crashes with segmentation fault after
all allocations are done[[BR]]
when it tries to find the cell file. This is in 6.4. It runs on linux, no
problems. [[BR]]
I am wondering whether the port to grass7 (thanks Soeren, it is greatly
appreciated) [[BR]]
could have fixed it for Mac and windows.
Below is more info,
Helena
{{{
GRASS 6.4.0RC5 (nc_spm_08):~ > r.sim.water -t elevin=elev_lid792_2m
dxin=dx_2m dyin=dy_2m \
rain=rain50mmhr infil=infil0 manin=man05 depth=wdp_2m disch=disch_2m
nwalk=400000 \
niter=500 outit=20 hmax=0.2 halpha=8.0 hbeta=1.0
D2/3: G__read_Cell_head
D2/3: G__read_Cell_head_array
D3/3: region item: proj: 99
D3/3: region item: zone: 0
D3/3: region item: north: 220750
D3/3: region item: south: 220000
D3/3: region item: east: 639000
D3/3: region item: west: 638300
D3/3: region item: cols: 350
D3/3: region item: rows: 375
D3/3: region item: e-w resol: 2
D3/3: region item: n-s resol: 2
D3/3: region item: top: 1
D3/3: region item: bottom: 0
D3/3: region item: cols3: 700
D3/3: region item: rows3: 750
D3/3: region item: depths: 1
D3/3: region item: e-w resol3: 1
D3/3: region item: n-s resol3: 1
D3/3: region item: t-b resol: 1
D3/3: rain_val is set to: -999.990000
D3/3: manin_val is set to: -999.990000
D3/3: infil_val is set to: -999.990000
D3/3: Running MAY 10 version, started modifications on 20080211
Segmentation fault
2ss: r.sim.water [2918]
Path:
/Applications/GRASS-6.4.app/Contents/MacOS/bin/r.sim.water
Identifier: r.sim.water
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: bash [2854]
Interval Since Last Report: 988538 sec
Crashes Since Last Report: 13
Per-App Interval Since Last Report: 0 sec
Per-App Crashes Since Last Report: 1
Date/Time: 2010-01-26 22:49:18.534 -0500
OS Version: Mac OS X 10.5.7 (9J61)
Report Version: 6
Anonymous UUID: B013BEBF-D492-49C8-8BC0-DE006ADDF1AF
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Crashed Thread: 0
Thread 0 Crashed:
0 libgrass_gis.dylib 0x0000000124b9f70e
G__name_is_fully_qualified + 22
1 libgrass_gis.dylib 0x0000000124b960f3 find_file1 + 88
2 libgrass_sim.dylib 0x00000001125c5a6b input_data +
1422
3 r.sim.water 0x000000010000253f main + 3153
4 r.sim.water 0x00000001000018cc start + 52
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000001 rbx: 0x00007fff5fbfe7a0 rcx:
0x0000000000000000 rdx: 0x00007fff5fbfe6a0
rdi: 0x0000000000000000 rsi: 0x00007fff5fbfe7a0 rbp:
0x00007fff5fbfe670 rsp: 0x00007fff5fbfe670
r8: 0x00000001125c9a64 r9: 0x0000000000000001 r10:
0x0000000124b87f30 r11: 0x0000000124b95d51
r12: 0x00007fff5fbfe6a0 r13: 0x0000000000000000 r14:
0x00007fff5fbfe7a0 r15: 0x00000001125c9a64
rip: 0x0000000124b9f70e rfl: 0x0000000000010202 cr2:
0x0000000000000000
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/617#comment:4>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list