[GRASS-user] r.li help

Just keeping this on the list. My first concern was possible build problems, but this is beyond me.

Begin forwarded message:

From: Nathan Lemoine <lemoine.nathan@gmail.com>
Date: August 10, 2009 9:47:23 AM CDT
To: William Kyngesburye <kyngchaos@kyngchaos.com>
Subject: Re: [GRASS-user] r.li help

here is the crash report:

Process: r.li.patchdensity [1823]
Path: /Applications/GRASS-6.4.app/Contents/MacOS/bin/r.li.patchdensity
Identifier: r.li.patchdensity
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: r.li.patchdensity [1819]

Date/Time: 2009-08-10 09:46:43.699 -0500
OS Version: Mac OS X 10.5.8 (9L30)
Report Version: 6
Anonymous UUID: 79A157D4-B61F-432E-8CB4-A2211DE1A30D

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000404280000
Crashed Thread: 0

Thread 0 Crashed:
0 libSystem.B.dylib 0x00007fff806afd95 tiny_malloc_from_free_list + 255
1 libSystem.B.dylib 0x00007fff806a8bef szone_malloc + 203
2 libSystem.B.dylib 0x00007fff806a8aef malloc_zone_malloc + 82
3 libSystem.B.dylib 0x00007fff806a8a80 malloc + 44
4 libgrass_gis.dylib 0x00000001000059b0 G__realloc + 54
5 libgrass_gis.dylib 0x0000000100019f9d new_mapset + 57
6 libgrass_gis.dylib 0x000000010001a06e G__mapset_name + 166
7 libgrass_gis.dylib 0x0000000100010fd7 find_file + 348
8 libgrass_gis.dylib 0x000000010001111f find_file1 + 132
9 r.li.patchdensity 0x00000001000018a8 patch_density + 67
10 libgrass_rli.dylib 0x000000010005e896 worker + 1337
11 libgrass_rli.dylib 0x000000010005d8d5 calculateIndex + 422
12 r.li.patchdensity 0x000000010000175c start + 52

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000101080000 rbx: 0x0000000100100c60 rcx: 0x0000000000000007 rdx: 0x0000000404280000
rdi: 0x0000000100064000 rsi: 0x0000000100100000 rbp: 0x00007fff5fbf9450 rsp: 0x00007fff5fbf9410
  r8: 0x00000001000641a8 r9: 0x000000000000000a r10: 0x000000000000fec0 r11: 0x00007fff700cffd8
r12: 0x0000000100064000 r13: 0x0000000000000001 r14: 0x0000000000000001 r15: 0x0000000100030474
rip: 0x00007fff806afd95 rfl: 0x0000000000010206 cr2: 0x0000000404280000

Binary Images:
      0x100000000 - 0x100001fff +r.li.patchdensity ??? (???) <0de460ac620e3de07ee2496c7c8b02de> /Applications/GRASS-6.4.app/Contents/MacOS/bin/r.li.patchdensity
      0x100004000 - 0x100042ff7 +libgrass_gis.dylib ??? (???) <3f754d3fd572946f5f5c57939c5efd58> /Applications/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib
      0x100053000 - 0x100058fff +libgrass_datetime.dylib ??? (???) <366b12b0e9b5622047457160897ad0ee> /Applications/GRASS-6.4.app/Contents/MacOS/lib/libgrass_datetime.dylib
      0x10005b000 - 0x100060fff +libgrass_rli.dylib ??? (???) <d5dd64d7346e0357e77ecc2d883b4bd0> /Applications/GRASS-6.4.app/Contents/MacOS/lib/libgrass_rli.dylib
   0x7fff5fc00000 - 0x7fff5fc2e643 dyld 97.1 (???) <1d1ba42c89e77cfe2558a3c66129fff6> /usr/lib/dyld
   0x7fff806a7000 - 0x7fff80832ffb libSystem.B.dylib ??? (???) <714d2608b5acae3ad5364897c49868fa> /usr/lib/libSystem.B.dylib
   0x7fff81d78000 - 0x7fff81d89ffd libz.1.dylib ??? (???) <2022cc8950afdf485ba1df76364ba725> /usr/lib/libz.1.dylib
   0x7fff82abc000 - 0x7fff82ac8ff1 libgcc_s.1.dylib ??? (???) <6fc905606335f261db4da9529c7e2711> /usr/lib/libgcc_s.1.dylib
   0x7fff841fd000 - 0x7fff84201fff libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
   0x7fffffe00000 - 0x7fffffe01780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib

On Aug 10, 2009, at 8:38 AM, William Kyngesburye wrote:

When it crashes, if you get a crash dialog box, click the Report button and copy the details text from that (don't send the crash report).

or

Run Console.app and look for a crash log for r.li.patchnum in your home Library.

On Aug 10, 2009, at 12:43 AM, Nathan Lemoine wrote:

I just installed GRASS 6.4 on MacOS X and have been attempting to run some landscape analysis with the r.li modules. I can run the r.li.setup module just fine, but when I attempt to run r.li.patchnum or the density function it just crashes immediately. I've run it from the python GUI and the command-line and the same thing happens. Is there a fix for this?

Thanks,
Nate

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"History is an illusion caused by the passage of time, and time is an illusion caused by the passage of history."

- Hitchhiker's Guide to the Galaxy