bugGNU Octave - Bugs: bug #42822, index error in...

 
 

bug #42822: index error in graphics.cc:patch::properties::update_fvc

Submitted by:  Andreas Weber <andy1978>
Submitted on:  Tue 22 Jul 2014 07:25:59 AM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 22 Jul 2014 10:15:29 PM UTC, comment #3:

I can confirm that the changeset you pushed does fix the error message.

Rik <rik5>
Project Administrator
Tue 22 Jul 2014 10:11:11 AM UTC, comment #2:

Pushed a cset here http://hg.savannah.gnu.org/hgweb/octave/rev/5bfedd39cc77

I would like to let his "Ready for Test" until bug #42823 which is related is fixed.

Andreas Weber <andy1978>
Project Member
Tue 22 Jul 2014 09:53:16 AM UTC, comment #1:

demo pie and ribbon has another problem in surface::properties::update_normals. Bug #42823

Andreas Weber <andy1978>
Project Member
Tue 22 Jul 2014 07:25:59 AM UTC, original submission:

Since changeset df972b9d080a "Translate patch property listeners to C++ (bug #42159)" the demos

area 1, copyobj 2, legend 18, legend 19, legend 35, pie3 1, pie3 2, pie3 3, ribbon 1 fail with A(I,J): row index out of bounds; value 2 out of bound 1 or A(I,J): column index out of bounds; value 3 out of bound 2

when configured and built with "./configure FFLAGS=-g CFLAGS=-g CXXFLAGS=-g --enable-bounds-check" without "--enable-bounds-check" there is no error.

A minimalistiv testcase:

The problem in in graphics.cc:patch::properties::update_fvc

where xd got transposed but yd not. Therefore yd(ii,jj) triggers an indexing error.

Andreas Weber <andy1978>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by andy1978 (Author of cset df972b9d080a)
  • -unavailable- added by andy1978 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 23 Jul 2014 05:47:50 AM UTCrik5StatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Tue 22 Jul 2014 10:11:11 AM UTCandy1978StatusNone=>Ready For Test
    Tue 22 Jul 2014 09:53:16 AM UTCandy1978Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1