bugGNU Octave - Bugs: bug #31791, addpath fails on cifs (samba)...

 
 

bug #31791: addpath fails on cifs (samba) mounted network drives

Submitter:  None
Submitted:  Sun 05 Dec 2010 02:55:22 AM UTC
   
 
Category:  Libraries Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Paul Probert Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.2.4
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 05 Sep 2013 01:16:40 AM UTC, comment #2: 

This appears to be addressed in the development version of Octave:

http://hg.savannah.gnu.org/hgweb/octave/rev/8122286c69a9

In addition, the released 3.6.x Debian and Ubuntu packages all appear to have been compiled with _FILE_OFFSET_BITS=64. Please test with an updated package for Debian or Ubuntu and report back if you still experience problems accessing files over CIFS.

Mike Miller <mtmiller>
Group Member
Fri 17 Dec 2010 05:59:48 PM UTC, comment #1: 

The Octave developers don't distribute binaries, so I guess it is up to people who package Octave to decide what options to use.

OTOH, if there are changes to Octave that are needed to better support large files, I would be happy to accept patches or get some guidance about what needs to be done since I am certain I don't understand all the issues involved.

John W. Eaton <jwe>
Group administrator
Sun 05 Dec 2010 02:55:22 AM UTC, original submission:  

Folks,
   On octave 3.2.4, 32 bit Ubuntu 10.10 x86, I get a failure on a call to addpath('/netmnt/some_shared_dir') where the path refers to a mounted cifs (samba) network shared folder. The error is:
'warning: addpath: /netmnt/some_shared_dir: Value too large for defined data type'

It seems the problem is that a cifs (smbmount or mount.cifs) mounted share has 64 bit inode numbers. If you add "noserverino" to the mount parameters for the share in fstab, then addpath works.

The man page (man mount.cifs) says:
   "It is strongly recommended to compile your programs with LFS support (i.e. with -D_FILE_OFFSET_BITS=64) to prevent this problem. You can also use "noserverino" mount option to generate inode numbers smaller than 2 power 32 on the client. But you may not be able to detect hardlinks properly."

So, should octave developers be compiling with D_FILE_OFFSET_BITS=64 ?

Anonymous

 

(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 (Updated the item)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by None (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-10-17 rik5 StatusNeed Info Fixed
        Open/ClosedOpen Closed
    2013-09-05 mtmiller StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code