bugGNU Octave - Bugs: bug #44679, Segmentation fault when loading a...

 
 

bug #44679: Segmentation fault when loading a MAT-file containing a function_handle to a subfunction

Submitted by:  Guillaume <gyom>
Submitted on:  Tue 31 Mar 2015 02:45:35 PM UTC  
 
Category: LibrariesSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: ConfirmedAssigned to: None
Originator Name: GuillaumeOpen/Closed: Open
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.

 

Thu 03 Dec 2015 05:46:58 PM UTC, comment #1:

Using a recent development tip the test file no longer produces a segmentation fault. Octave can't read the MAT-file with an embedded handle to a subfunction, but just issues an error message about that. I am changing the Item Group to Matlab Compatibility and marking this as confirmed.

Rik <rik5>
Project Administrator
Tue 31 Mar 2015 02:45:35 PM UTC, original submission:

Create file myfcn.m as follow:

and call it from MATLAB to create MAT-file testmat.mat (attached as well). Then load it in Octave:

It does not seem to depend on the MATLAB version used nor whether the -v6 flag was used or not.

Guillaume <gyom>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #33498:  testmat.mat added by gyom (3KiB - application/octet-stream)

 

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 gyom (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 03 Dec 2015 05:46:58 PM UTCrik5Item GroupSegfault, Bus Error, etc.=>Matlab Compatibility
      StatusNone=>Confirmed
    Tue 31 Mar 2015 02:45:35 PM UTCgyomAttached File-=>Added testmat.mat, #33498

    Back to the top


    Powered by Savane 3.1-cleanup1