bugGNU Octave - Bugs: bug #39100, tsa MEX: "invalid image"

 
 

bug #39100: tsa MEX: "invalid image"

Submitted by:  None
Submitted on:  Tue 28 May 2013 05:06:58 PM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: Works For MeAssigned to: None
Originator Name: Ingmar VoigtOriginator Email: -unavailable-
Open/Closed: ClosedRelease: other
Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 16 Nov 2016 07:49:41 PM UTC, comment #4:

Closing as "works for me" based on comment #2 and several years of inactivity.

If there is still a real bug with the mex files in the tsa package, this bug can be reopened or a new one can be reported.

Mike Miller <mtmiller>
Project Administrator
Wed 29 May 2013 06:59:13 AM UTC, comment #3:

Nitzan,

sorry indeed I fixed the script to make it work with octave (also attached, IsomapR1.zip):

(file #28201)

Ingmar Voigt <ingmar_voigt>
Wed 29 May 2013 05:35:56 AM UTC, comment #2:

Could not reproduce this with Octave3.6.4 mingw on my win7 x64.

The Isomap script runs with no errors until it gets to line 180 and warns about deprecated corrcoef which is not compatible with matlab's corrcoef:

warning: corrcoef is not equivalent to Matlab and will be removed from a future version of Octave; for similar functiona
lity see corr

Since the octave's corcoeff produce a scalar output when the input are ttwo row vectros the next line 181 produce an "out of bounds indexing error":

error: Isomap: A(I,J): row index out of bounds; value 2 out of bound 1
error: called from:
error: C:\isomap\Isomap.m at line 181, column 16

This is unrelated to the issue reported by this discussion.

Nitzan Arazi <nitnit>
Tue 28 May 2013 05:14:20 PM UTC, comment #1:

IMPORTANT NOTE:
using dijkstra.dll from http://web.mit.edu/cocosci/isomap/code/ is not recommendable, this used to generate unrelated issues

just do not download the script will run fine anyways

Ingmar Voigt <ingmar_voigt>
Tue 28 May 2013 05:06:58 PM UTC, original submission:

"tsa" package in Windows MinGW build generates error in Windows Server 2008 R2 (similar to Windows 7)

Running several functions generates an error message box from Windows entitled "octave.exe - Invalid Image", message box body is "Octave3.6.4_gcc4.6.2\share\octave\packages\tsa-4.2.4\i686-pc-mingw32-api-v48+\sumskipnan_mex.mex is not intended for execution with windows or contains an error". In fact I could not even find the file ...

The issues stopped occurring, after unloading the "tsa" package
Unfortunately I could not really track down the faulting instruction, however it can be reproduced with the code from http://web.mit.edu/cocosci/isomap/isomap.html

Code: http://web.mit.edu/cocosci/isomap/code/

Instructions to execute (from http://web.mit.edu/cocosci/isomap/code/Readme):

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #28201:  IsomapR1.zip added by ingmar_voigt (11KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by nitnit (Posted a comment)
  • -unavailable- added by ingmar_voigt (Posted a comment)
  • -unavailable- added by None (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 16 Nov 2016 07:49:41 PM UTCmtmillerStatusNone=>Works For Me
      Open/ClosedOpen=>Closed
      Release3.6.4=>other
    Wed 29 May 2013 06:59:13 AM UTCingmar_voigtAttached File-=>Added IsomapR1.zip, #28201

    Back to the top


    Powered by Savane 3.1-cleanup1