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

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

[Octave-bug-tracker] [bug #41652] Octave builds but crashes when trying


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #41652] Octave builds but crashes when trying to use gcj for java support
Date: Fri, 21 Feb 2014 04:03:19 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.123 Safari/537.36

Follow-up Comment #1, bug #41652 (project octave):

A simple call to JNI_CreateJavaVM does not crash when run with gcj. The thing
that seems to be crashing gcj for me is the class loader option,
-Djava.system.class.loader=... The call crashes no matter what class name is
actually given to that option, whether it's "org.octave.OctClassLoader" or a
nonexistent class "foo".

OpenJDK throws a ClassNotFoundException if the loader name can't be loaded and
works correctly in the normal case. Gcj throws a SIGABRT for me whether the
class name is valid or not. Tested with gcj 4.6 and 4.8, both crash the same
way.

Should we bother trying to handle this very specific failure in configure or
just report to gcc upstream and avoid compiling Octave with gcj for now? This
has come up in the Debian packaging, where gcj is the default Java
implementation for several architectures.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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