[GRASS-dev] [bug #4725] (grass) nviz crashed while volume
visualisation
Harmish Bowman via RT
grass-bugs at intevation.de
Wed Jun 28 06:13:10 EDT 2006
[ https://intevation.de/rt/webrt?serial_num=4725 ]
Hi,
"nviz volume=map3d" segfaults.. see bug report for spearfish example.
I've traced it back to incorrect mode in nviz/src/volume.c
slice_get_drawmode()
mode=1969841253 (or so)
when it should be like DM_GOURAUD=256 or DM_FLAT=512
actual segfault seems to happen after slice_get_drawmode()'s
return (TCL_ERROR);
???
called from scripts/panel_vol.tcl line ~450:
set Nv_(ShadeStyle) [Nvol$curr slice get_drawmode]
I followed "mode" into lib/ogsf/GVL2.c GVL_slice_get_drawmode()
and then *gvl to gvl_get_vol() in lib/ogsf/gvl.c, but then I get lost.
uninit'd variable?
Hamish
-------------------------------------------- Managed by Request Tracker
More information about the grass-dev
mailing list