bugGNU Octave - Bugs: bug #47632, no tracebacks

 
 

bug #47632: no tracebacks

Submitter:  Muhali <muhali>
Submitted:  Wed 06 Apr 2016 05:14:44 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 16 Aug 2018 05:11:15 AM UTC, comment #3: 

Somewhere in the past 2 years this has been fixed.  I verified the original example and the one in comment #2 on the development branch with a tip from 8/15/18.

Rik <rik5>
Group administrator
Thu 22 Sep 2016 01:51:23 PM UTC, comment #2: 

Running a script with

a=1;
a(2);


correctly produces a traceback with 4.2.0-rc2:

error: a(2): out of bound 1
error: called from
    noLineInErrorMessage at line 2 column 1


wheras a script containing

figure(1,"adsfa")


does not:

error: wrong type argument 'scalar'
error: set: argument 0 must be a property name


Martin Kunz <mkunz>
Thu 07 Apr 2016 04:16:35 PM UTC, comment #1: 

Also bug #47605 may be related.  I haven't looked at it in detail, but I'm pretty sure that the problems were caused by this change that I made to fix another problem:  http://hg.savannah.gnu.org/hgweb/octave/rev/909129eb77c5

I'll try to take a look at it soon.

John W. Eaton <jwe>
Group administrator
Wed 06 Apr 2016 05:14:44 PM UTC, original submission:  

It seems that bug 44862 has resurfaced in the current development version.

Executing testScript.m


a=1;
a(2);


gives in the stable version

%:~> /usr/local/octave/bin/octave-cli testScript.m
error: testScript.m: A(I): index out of bounds; value 2 out of bound 1
error: called from
    testScript.m at line 2 column 1

and in the dev version

%:~> /usr/local/octave-dev/bin/octave-cli testScript.m
error: a(2): out of bound 1
error: execution exception in testScript.m

Muhali <muhali>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mkunz (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by muhali (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-08-16 rik5 Open/ClosedOpen Closed
    2018-08-16 rik5 StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code