[GRASS5] [bug #4246] (grass) NVIZ: segfault in kanimation panel

Harmish Bowman via RT grass-bugs at intevation.de
Sat Apr 8 07:10:46 EDT 2006


re. segfault in nviz if you use a d.nviz generated script:

G61> nviz script=somefile.nvsrc


The segfaults happens when it tries to add a keyframe:

visualization/nviz/src/anim_support.c
line ~410 in  Nadd_key_cmd()

   G_free (listels);

if I comment that line out, the script runs, nviz loads, and all is good.

printf(%p) shows listels at 0xbfffee6c

I notice in the compiler warnings:
anim_support.c:367: warning: passing arg 4 of `Tcl_SplitList' from
incompatible pointer type

which is this:
    if (Tcl_SplitList(interp, argv[2], &numels, &listels) != TCL_OK)

is that call promoting listels to something else?


Is there a better way of debugging nviz than just peppering puts and printf's?
gdb is useless for it.


thanks,
Hamish


-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list