Tue 22 Jul 2014 09:50:49 AM UTC, original submission:
A current dev (ed3cb9f81145) build with debugging enabled
./configure FFLAGS=-g CFLAGS=-g CXXFLAGS=-g --enable-bounds-check
fails with surface (or demo pie3 or demo ribbons)
The indexing comes from surface::properties::update_normals at ../../octave-src/libinterp/corefcn/graphics.cc:8132 (comment says lower right quadrangle)
I've added output of x,y,z at the top of update_normals. As you can see update_normals is first called with real xdata and defaults for ydata and zdata (see default_surface_ydata).
After this update_normals is called again with real xdata and ydata and this time the indexing problem occours because x and y are 2x3, z is 3x3 (I suppose a third call with real zdata would follow)
I don't fully gasp the logic behind "update_normals" so I would be pleased if someone other could fix this.
-- Andy
|