bugGNU Octave - Bugs: bug #42429, @ftp/dir crashes Octave

 
 

bug #42429: @ftp/dir crashes Octave

Submitted by:  Allan Jacobs <allanjacobs>
Submitted on:  Mon 26 May 2014 03:54:56 PM UTC  
 
Category:  Octave Function Severity:  3 - Normal
Priority:  3 - Low Item Group:  Segfault, Bus Error, etc.
Status:  Confirmed Assigned to:  Mike Miller <mtmiller>
Originator Name:  allanjacobs Open/Closed:  Open
Release:  dev Operating System:  GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 08 Aug 2016 06:04:51 PM UTC, comment #3:

Downgrading severity to 3, this bug will not gate the 4.2 release.

Rik <rik5>
Project Administrator
Tue 29 Mar 2016 04:47:04 PM UTC, comment #2:

I hit this again recently and traced it a bit. The most obvious problem seems to be that the curl_transfer class does not have any way to recover from errors. When a libcurl error occurs, it simply returns and leaves the class in an inconsistent state. Changing to a nonexistent directory should probably throw an error and restore the state of the connection to the last valid directory. No patch yet, but I'll assign this to me with the intention of working on it soon-ish (but feel free to take it from me if someone wants to work on it).

Mike Miller <mtmiller>
Project AdministratorIn charge of this item.
Thu 29 May 2014 04:17:53 PM UTC, comment #1:

Confirmed. I traced this back through gdb and the segfault is happening in curl library code. It's possible that Octave is not using the library correctly, but it appears to be the case that the library itself is fragile.

Rik <rik5>
Project Administrator
Mon 26 May 2014 03:54:56 PM UTC, original submission:

@ftp/dir applied to a directory that does not exist crashes Octave.

Allan Jacobs <allanjacobs>

 

(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 mtmiller (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by allanjacobs (Submitted the item)
  •  

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

    Only project members can vote.

     

     

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-04-27 mtmiller Priority5 - Normal => 3 - Low
        Release3.8.1 => dev
    2016-08-08 rik5 Severity4 - Important => 3 - Normal
    2016-07-01 rik5 Severity3 - Normal => 4 - Important
    2016-03-29 mtmiller Assigned toNone => mtmiller
    2014-05-29 rik5 StatusNone => Confirmed
        Releasedev => 3.8.1

    Back to the top


    Powered by Savane 3.3