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: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #63971] [octave forge] (io) package crashes Octave
Date: Wed, 27 Mar 2024 15:34:34 -0400 (EDT)

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

So, based on your debug steps in STEP #3 (very good!! thanks for that), it
looks like Java might be the culprit.
I don't think, nor can I imagine, that the crash is due to some bug in the io
package but rather to some things in your PC.

What is the output of the following Octave commands:

javachk ("jvm")

and

system ("java --version")


Or if Octave crashes then, open up a cmd32.exe window and type:
java -version
(that same question was asked in comment #9)

A last thing *might* be that you have a 64-bit Octave version but your Java
version is 32 bits.  But: I've never heard (or experienced myself) bad
consequences of this, but maybe on your box things are different.

Some things that may play a role:
* In step #1 you didn't load the io package, so little wonder that neither the
testscript nor the binary modules can be found and you had to go to the io
package directory to run the script; but the binary modules are still not in
the path. ==> What happens if you do 'pkg load io' before running that
testscript (w/o going to the package directory)?

* When you try to do spreadsheet I/O the first time after starting Octave, the
io package functions usually try to see if Java is present, using a private
function that in turn calls 'javachk ("jvm")' (the same command I asked you to
try above). If Octave crashes at that stage there's a problem with Octave
versus Java and the io package can't do anything about it. However, I asked
you to explicitly specify a spreadsheet I/O interface (i.e., the "OCT"
interface) and in that case, for that interface, that Java check will be
skipped entirely. So the io package doesn't use Java at all then.

* We've had several issues with Octave and Java, there are quite a few reports
on the bug tracker about it. What you can try is uninstalling Java and then
install another Java release.





    _______________________________________________________

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]