octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #49699] Octave crashes when using fread to loa


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #49699] Octave crashes when using fread to load more than 2 GB from a file
Date: Wed, 4 Jan 2017 20:30:17 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Update of bug #49699 (project octave):

                  Status:               Confirmed => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #6:

I checked in the following changeset on stable and merged with default:

  http://hg.savannah.gnu.org/hgweb/octave/rev/36df0e0072a5

In the next stable release, if you build without --enable-64, you should still
be able to read up to (approximately) 2^31 elements.  On a 64-bit system, that
can be more than 2^31 bytes.

With the new way of handling octave_idx_type on the default branch, you will
be able to read many more elements because 64-bit indexing will be enabled by
default, independent of the size of integers used by the BLAS and other
numerical libraries.

This change fixes the problem for me so I'm closing the report.  Re-open or
submit a new bug report if there is something I missed.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49699>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]