Testing with GRASS 6.4.3RC2
Rem-ing out line 684 in gvl_calc_c
/* gvl_align_data(dbuff[i].ndx_new, dbuff[i].new); */
prevents crashing. But I don't see an isosurface.
Helena,
I'm using your test data (jr_7408MR_2m_t70)
What is a good value to set for an isosurface to see anything?
Slices still crash because they still call gvl_align_data. As before, though initially displaying a slice works fine. It only crashes when I try to change something about the slice and it wants to redraw.
Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
voice: 480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
On Jan 1, 2013, at 1:24 PM, Anna Kratochvílová <kratochanna@gmail.com>
wrote:
Hi Michael,
On Tue, Jan 1, 2013 at 8:48 PM, Michael Barton <Michael.Barton@asu.edu> wrote:
Hi Anna,
On the slim chance that you are online today, can you tell me where gvl_align_data in gvl_calc.c reside in either the source code or compiled code? I have a bit of down time and thought I'd see what I could find out about the volume display breaking. I don't know C but can selectively rem out some things and see what happens.
It should be here
gvl_calc.c in grass/trunk/lib/ogsf – GRASS GISAlso, you could try debugging with QtCreator [1] (as an user-friendly
interface to the debugger), it is quite easy, here [2] is some help
for setting up the project. I don't know what method you would like to
use but this is the easiest I know. I suppose it should work on Mac,
too.Regards,
Anna[1] The Qt Project
[2] Using QtCreator for GRASS C development - GRASS-WikiThanks
Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State Universityvoice: 480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.eduOn Dec 6, 2012, at 12:07 AM, Anna Kratochvílová <kratochanna@gmail.com> wrote:
Hi Michael,
On Wed, Dec 5, 2012 at 11:02 PM, Michael Barton <michael.barton@asu.edu> wrote:
Any suggestions yet on where the crash I documented in
#1736 (wxNVIZ volume display crashes Mac) – GRASS GIS actually happens in the code so that
I can take a look at it and see if there is something fixable for the Mac? I
posted what I hope is the relevant debug output to help identify this.While we may need to think about wxPython 2.9, it seems best to first look
at what line is actually causing the crash and see if there is a fix or
workaround.The crash occurs probably in gvl_align_data in gvl_calc.c. The error
message 'pointer being realloc'd was not allocated' is quite clear,
however it's not clear why it happens on Mac only. Maybe someone with
better knowledge of C could understand it more.Anna
Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State Universityvoice: 480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu