bugGNU Octave - Bugs: bug #66857, pkg load ltfat crashes Octave GUI

 
 

bug #66857: pkg load ltfat crashes Octave GUI

Submitter:  Stephen28 <stephen28>
Submitted:  Fri 28 Feb 2025 03:03:41 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  None Assigned to:  None
Originator Name:  Stephen28 Open/Closed:  * Open
Release:  * 9.4.0 Release: 
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Fri 28 Feb 2025 08:30:32 PM UTC, comment #7: 

So, here it is working on my computer (with slightly older version of java) (see attached).

Dmitri.
--



Dmitri A. Sergatskov <dasergatskov>
Fri 28 Feb 2025 07:38:19 PM UTC, comment #6: 

Anything "special" about your computer you can think off?
Do you have an anti-virus program (besides Windows Defender, or whatever its name now days)?

As a dirty workaround you could try:

octave:1> javachk = 0;
octave:2> usejava = 0;
octave:3> pkg load ltfat


Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Fri 28 Feb 2025 07:28:13 PM UTC, comment #5: 

java version "1.8.0_441"
Java(TM) SE Runtime Environment (build 1.8.0_441-b07)
Java HotSpot(TM) 64-Bit Server VM (build 25.441-b07, mixed mode)


version -java

Octave Crash and Close.

Stephen28 <stephen28>
Fri 28 Feb 2025 07:01:29 PM UTC, comment #4: 

It is not that it is "too old", but that it is not at the current patch level.

On Fedora the javas are:
java-1.8.0.442.b06 (this is a long-term java version)
java-11.0.26.0.4
java-17.0.14.0.7
java-21.0.6.0.7
java-24.0.0.0.36  (this is rolling, current development)

And they are all seems to be working fine.

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Fri 28 Feb 2025 06:45:09 PM UTC, comment #3: 

With (dev) Octave 11 in win10:

>> pkg load ltfat
warning: function L:\dist\octave11\mingw64\share\octave\packages\ltfat-2.6.0\deprecated\normalize.m shadows a core library function
warning: called from
    ltfatstart at line 212 column 5
    L:\dist\octave11\mingw64\share\octave\packages\ltfat-2.6.0\PKG_ADD at line 1 column 1
    load_packages_and_dependencies at line 56 column 5
    load_packages at line 53 column 3
    pkg at line 643 column 7

warning: function L:\dist\octave11\mingw64\share\octave\packages\ltfat-2.6.0\thirdparty\misc\im2double.m shadows a core library function
warning: called from
    ltfatstart at line 212 column 5
    L:\dist\octave11\mingw64\share\octave\packages\ltfat-2.6.0\PKG_ADD at line 1 column 1
    load_packages_and_dependencies at line 56 column 5
    load_packages at line 53 column 3
    pkg at line 643 column 7
>> version -java
ans = Java 1.8.0_431-b10 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode

Please let us know if updating Java fixed it. To me it doesn't look very old (2023).

Philip Nienhuis <philipnienhuis>
Group Member
Fri 28 Feb 2025 05:53:58 PM UTC, comment #2: 

version -java crashes it.

From a command prompt:

java version "17.0.6" 2023-01-17 LTS
Java(TM) SE Runtime Environment (build 17.0.6+9-LTS-190)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.6+9-LTS-190, mixed mode, sharing)

Updating Java.

Stephen28 <stephen28>
Fri 28 Feb 2025 05:24:28 PM UTC, comment #1: 

Can you do on your octave prompt "version -java" and post the results? E.g.:

octave:1> version -java
ans = Java 23.0.2 with Homebrew OpenJDK 64-Bit Server VM mixed mode, sharing
octave:2>


Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Fri 28 Feb 2025 03:03:41 PM UTC, original submission:  

Octave 9.2

Running "pkg load ltfat" in my code caused Octave GUI to crash and close

Fresh restart. "pkg load ltfat" in "Command Window", Octave GUI crash and close

Upgrade to 9.4

Fresh install, first command run under 9.4,  "pkg load ltfat" in "Command Window", Octave GUI crash and close

Other pkg load xxx commands return a prompt when complete.

Stephen28 <stephen28>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #56959:  octave94_ltfat.png added by dasergatskov (235KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dasergatskov (Posted a comment)
  • -email is unavailable- added by stephen28 (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.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2025-02-28 dasergatskov Attached File- Added octave94_ltfat.png, #56959

    Back to the top

    Powered by Savane 3.14-7003.
    Corresponding source code