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

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

[Octave-bug-tracker] [bug #63971] [octave forge] (io) package crashes Oc


From: Giorgio B
Subject: [Octave-bug-tracker] [bug #63971] [octave forge] (io) package crashes Octave
Date: Wed, 27 Mar 2024 13:20:36 -0400 (EDT)

Follow-up Comment #11, bug #63971 (group octave):

Sorry for the lack of info; I reinstalled 'octave-9.1.0-w64-installer.exe' and
performed following test:

TEST #1- after renaming "C:\Program Files\GNU
Octave\Octave-9.1.0\mingw64\share\octave\packages\io-2.6.4\__init_io__.m" to
something else results:

濰ǂ
GNU Octave, version 9.1.0
Copyright (C) 1993-2024 The Octave Project Developers.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-w64-mingw32".

Home page:            https://octave.org
Support resources:    https://octave.org/support
Improve Octave:       https://octave.org/get-involved

For changes from previous versions, type 'news'.

>>  pkg list io
Package Name  | Version | Installation directory
--------------+---------+-----------------------
          io  |   2.6.4 | C:\Program Files\GNU
Octave\Octave-9.1.0\mingw64\share\octave\packages\io-2.6.4
>> io_testscript ("oct", "io-test.xlsx")

Testing interface OCT using file io-test.xlsx...

 1. Initialize arrays...
 2. Insert first empty sheet...
'col2num' undefined near line 49, column 10

ans =
{
  [1,1] = OCT
  [1,2] = -
  [1,3] = -
  [1,4] = -
  [1,5] = -
  [1,6] = -
  [1,7] = -
  [1,8] = -
  [1,9] = -
  [1,10] = -
  [1,11] = .xlsx

note that 'io_testscript ("oct", "io-test.xlsx")' must be run from 'C:/Program
Files/GNU Octave/Octave-9.1.0/mingw64/share/octave/packages/io-2.6.4',
otherwise it delivers:
>> io_testscript ("oct", "io-test.xlsx")
error: 'io_testscript' undefined near line 1, column 1
>>

TEST #2- after restoring "__init_io__.m" name:
same behaviour as test 1 before, except:
>> pkg load io -> causes Octave to instantly crash
>> pkg test io -> causes Octave to instantly crash

TEST #3- debugging function pkg load io:

>> pkg load io
stopped in methods at line 72 [C:\Program Files\GNU
Octave\Octave-9.1.0\mingw64\share\octave\9.1.0\m\miscellaneous\methods.m]
72:         mtds_str = javaMethod ("getMethods", "org.octave.ClassHelper",
obj);
debug>

the workspace is as follows:
# name:            # type:           # size     # value
havesigs           bool              1x1        0
mtds_list          cell              0x0        {}
obj                string            1x17       java.lang.Runtime
showsigs           bool              1x1        0
valid              bool              1x1        0

execution of line 72 causes Octave to instantly crash. javaMethod is compiled
and I cannot debug further.








    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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