bugGNU Octave - Bugs: bug #41083, rfsearch "out-of-bounds...

 
 

bug #41083: rfsearch "out-of-bounds error" upon loading io-2.0.0 package

Submitter:  Philip Nienhuis <philipnienhuis>
Submitted:  Fri 03 Jan 2014 10:37:59 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  philipnienhuis
Originator Name:  Philip Nienhuis Open/Closed:  * Closed
Release:  * other Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 06 Jan 2014 06:02:12 PM UTC, comment #3: 

Fixed in new io-2.0.1 release

Philip Nienhuis <philipnienhuis>
Group Member
Fri 03 Jan 2014 11:10:05 AM UTC, comment #2: 

and patch attached.

An io-2.0.1 is imminent, I'll wait until sat Jan 4 if other bugs come up.

(file #30168)

Philip Nienhuis <philipnienhuis>
Group Member
Fri 03 Jan 2014 10:54:21 AM UTC, comment #1: 

patched rfsearch.m attached.

(file #30167)

Philip Nienhuis <philipnienhuis>
Group Member
Fri 03 Jan 2014 10:37:59 AM UTC, original submission:  

This happens upon loading the io package if there is no
[octave_config_info("libdir") filesep "java"]
subdirectory present:


error: rfsearch: A(I): index out of bounds; value 1 out of bound 0
error: called from:
error:   X:\Octave\octave-3.9.0+_20131203\share\octave\packages\io-2.0.0\rfsearch.m at
 line 96, column 5
error:   X:\Octave\octave-3.9.0+_20131203\share\octave\packages\io-2.0.0\chk_spreadshe
et_support.m at line 678, column 8
error:   X:\Octave\octave-3.9.0+_20131203\share\octave\packages\io-2.0.0\chk_spreadshe
et_support.m at line 615, column 23
error:   X:\Octave\octave-3.9.0+_20131203\lib\octave\packages\io-2.0.0\i686-pc-mingw32
-api-v48+\PKG_ADD at line 8, column 16
error: addpath: all arguments must be character strings
error: addpath: all arguments must be character strings
error: addpath: all arguments must be character strings
error: addpath: all arguments must be character strings
error: addpath: all arguments must be character strings
error: addpath: all arguments must be character strings
error:   X:\Octave\octave-3.9.0+_20131203\share\octave\3.9.0+\m\pkg\private\load_packa
ges_and_dependencies.m at line 47, column 5
error:   X:\Octave\octave-3.9.0+_20131203\share\octave\3.9.0+\m\pkg\private\load_packa
ges.m at line 60, column 3
error:   X:\Octave\octave-3.9.0+_20131203\share\octave\3.9.0+\m\pkg\pkg.m at line 412,
 column 7
error:   X:\Octave\octave-3.9.0+_20131203\share\octave\3.9.0+\m\startup/octaverc at li
ne 20, column 1


Cause: sloppy testing by me, it didn't occur to me to test this w/o Java spreadsheet class libs (I have them installed so never hit it).

I'll prepare a fix + io-2.0.1

Philip Nienhuis <philipnienhuis>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #30168:  rfsearch.patch added by philipnienhuis (2KiB - application/x-download)
file #30167:  rfsearch.m added by philipnienhuis (5KiB - text/x-objcsrc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by philipnienhuis (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-01-06 philipnienhuis StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2014-01-03 philipnienhuis Attached File- Added rfsearch.patch, #30168
    2014-01-03 philipnienhuis Attached File- Added rfsearch.m, #30167

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code