[bug #68350] (IO) xlsread crashes with xls file and jxl

Liang Tang <[email protected]> Fri, 15 May 2026 12:58:45 -0400 (EDT)
Newsgroups gmane.comp.gnu.octave.bugs
Message-ID <[email protected]>
Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only notification stream.  Info posted to this mailing list address won't appear in the tracker database where it is most useful.

URL:
  <https://savannah.gnu.org/bugs/?68350>

                 Summary: (IO) xlsread crashes with xls file and jxl
                   Group: GNU Octave
               Submitter: lt1234
               Submitted: Fri 15 May 2026 04:58:34 PM UTC
                Category: Octave Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: lt1234
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Unlocked
                 Release: 11.1.0
        Operating System: Microsoft Windows
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 15 May 2026 04:58:34 PM UTC By: Liang Tang <lt1234>
xlsread crashes reading xls with jxl.  See zip for the jar.  Thanks.  

Example: 
javaclasspath  % make sure no xls related jar is loaded.  
[val, txt, raw]=xlsread('test.xls', 'test');
javaaddpath('jxl-2.6.12.jar');
[val, txt, raw]=xlsread('test.xls', 'test');

In 10.3.0

>> [val, txt, raw]=xlsread('test.xls', 'test');
warning: xlsopen: no'.xls' spreadsheet I/O support with available interfaces.
>> javaaddpath('jxl-2.6.12.jar');
>> [val, txt, raw]=xlsread('test.xls', 'test');
>> 

In 11.1.0

>> [val, txt, raw]=xlsread('test.xls', 'test');
warning: xlsopen: no'.xls' spreadsheet I/O support with available interfaces.
>> javaaddpath('jxl-2.6.12.jar');
>> [val, txt, raw]=xlsread('test.xls', 'test');  <=== CRASH






    _______________________________________________________
File Attachments:

Name: xlsread_crash.zip              Size: 1.3MiB
    <https://file.savannah.gnu.org/file/xlsread_crash.zip?file_id=58618>



    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-c36938be85ff6c1b727bc7dd7fd30e48f9142870.tar.gz

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68350>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCagdQxQAKCRCqLAuaBUf3
TlVMAP9sMAEbiGddsawxjP7ARgyrej14+7u5LtS9rEc4kBWIogD+K5cznn1c++LX
ALQmcSUu0D/iFg1haciNJr8QO7T6wgY=
=vPN3
-----END PGP SIGNATURE-----