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

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

[Octave-bug-tracker] [bug #53733] Panic/segfault when calling Java metho


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #53733] Panic/segfault when calling Java method after forge:im[read|write]
Date: Tue, 1 May 2018 17:56:48 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0

Follow-up Comment #60, bug #53733 (project octave):

The GraphicsMagick code isn't in a loadable dldfcn oct file anymore, it's in
builtin functions now.

So based on what we've found so far, if I had to summarize this, it's that it
has to do with passing large arrays in to Java functions via JNI. There is
some size at which Octave goes into a 100% busy state (and never returns?
takes an exponentially long time?) but does not crash. And there is some
larger size at which Octave crashes immediately with a SIGSEGV.

For some as-yet-unknown reason, calling any GraphicsMagick functions in Octave
before the Java function is called drastically reduces these size limits.

Ideally, Octave would know about this limit or be able to detect this
condition dynamically and print an error message that some size threshold has
been crossed and avoid the segmentation fault.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53733>

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




reply via email to

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