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

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

[Octave-bug-tracker] [bug #60620] octave-cli crashes when interacting wi


From: Petter Tomner
Subject: [Octave-bug-tracker] [bug #60620] octave-cli crashes when interacting with Java libraries
Date: Sat, 18 Dec 2021 15:05:55 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0

Follow-up Comment #38, bug #60620 (project octave):

[comment #37 comment #37:]
> This bug has several workarounds listed, including increasing the stack
space which can be done with pre-installed Octave binaries as well. Is this
bug still a problem for the 7.1 release? What needs to happen before this bug
can be closed?

Yes I can't run the test suite on the trunk.

Steps to reproduce:

cd
/home/petter/my_octave_clean/share/octave/8.0.0/etc/tests/libinterp/octave-value
test ov-java.cc-tst
%test eigs

% Testcase that overflows
A = toeplitz ([-2, 1, zeros(1, 8)]);
A = kron (A, eye (10)) + kron (eye (10), A);
opts.v0 = (1:100)';
opts.maxit = 1;
warning ("off", "Octave:eigs:UnconvergedEigenvalues", "local");
d = eigs (A, 4, "sm", opts);
assert (d(4), NaN);


If I increase the Java thread stack size to 10MB the problem goes away, 
see attached patch. I don't know what a reasonable number is, really.

(file #52532)
    _______________________________________________________

Additional Item Attachment:

File name: set_java_stacksize_to_10MB.patch Size:0 KB
   
<https://file.savannah.gnu.org/file/set_java_stacksize_to_10MB.patch?file_id=52532>



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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