This bug is missing log files that will aid in diagnosing the problem.
While running an Ubuntu kernel (not a mainline or third-party kernel)
please enter the following command in a terminal window:

apport-collect 1700270

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable
to run this command, please add a comment stating that fact and change
the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the
Ubuntu Kernel Team.

** Changed in: linux (Ubuntu)
       Status: New => Incomplete

** Tags added: zesty

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1700270

Title:
  Stack Clash fix breaks JVM when launched from C

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I have tested only with linux 4.10.0-24-generic on amd64. The attached
  repro case:

  - compiles a java class
  - compiles a C program that initialise the JVM and calls a static method from 
the java class
  - launch the compile C program.

  Expected result:
  the c program should launch the Java method and print some numbers in the 
terminal

  Actual result:
  the c program segfault while initializing the JVM

  reverting to linux 4.10.0-22-generic amd64 fixes the problem. Since
  the only change in the changelog is the Stack Clash fix and since I
  remember reading that the JVM does tricky stuff with the stack, this
  is a natural culprit.

  It touches any program that initialises a JVM (so for instance Java
  bindings in Postgresql or Java applets in firefox although the latter
  have been deprecated and are only supported in firefox ESR now).

  I attach the repro-case.
  The issue happens with both openjdk-8-jdk from the repository and the 
standard jdk 8 from oracle.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1700270/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to