[Bug 1611598] Re: jamvm is broken due to missing native methods in sun.misc.Unsafe

2017-06-09 Thread Tiago Stürmer Daitx
Set main task as invalid since this does not affect ubuntu devel and it
has been fixed on the supported releases.

** Changed in: openjdk-7 (Ubuntu)
   Status: Confirmed => Invalid

** Changed in: openjdk-7 (Ubuntu)
 Assignee: Tiago Stürmer Daitx (tdaitx) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611598

Title:
  jamvm is broken due to missing native methods in sun.misc.Unsafe

To manage notifications about this bug go to:
https://bugs.launchpad.net/openjdk/+bug/1611598/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1611598] Re: jamvm is broken due to missing native methods in sun.misc.Unsafe

2016-11-17 Thread Bug Watch Updater
** Changed in: openjdk
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611598

Title:
  jamvm is broken due to missing native methods in sun.misc.Unsafe

To manage notifications about this bug go to:
https://bugs.launchpad.net/openjdk/+bug/1611598/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1611598] Re: jamvm is broken due to missing native methods in sun.misc.Unsafe

2016-08-16 Thread Launchpad Bug Tracker
This bug was fixed in the package openjdk-7 -
7u111-2.6.7-0ubuntu0.12.04.2

---
openjdk-7 (7u111-2.6.7-0ubuntu0.12.04.2) precise-security; urgency=medium

  * Backport to Ubuntu 12.04.

openjdk-7 (7u111-2.6.7-0ubuntu0.14.04.2) trusty-security; urgency=medium

  * debian/patches/it-jamvm-8158260-unsafe-methods.patch: fix JAMVM
after the introduction of two new Unsafe methods in the OpenJDK
hotspot. Closes: #833933. (LP: #1611598)

openjdk-7 (7u111-2.6.7-0ubuntu0.12.04.1) precise-security;
urgency=medium

  * Backport to Ubuntu 12.04.

openjdk-7 (7u111-2.6.7-0ubuntu0.14.04.1) trusty-security; urgency=medium

  [ Matthias Klose ]
  * Fix handling of /usr/lib/jvm/*/jre/lib/zi if internal tzdata is used
(Andreas Beckmann). Closes: #821858.
  * Add missing includes for aarch64 hotspot backport (building without pch).
  * Use in-tree lcms for backports.

  [ Tiago Stürmer Daitx ]
  * IcedTea release 2.6.7 (based on 7u111):
  * Security fixes
- S8079718, CVE-2016-3458: IIOP Input Stream Hooking
- S8145446, CVE-2016-3485: Perfect pipe placement (Windows only)
- S8147771: Construction of static protection domains under Javax
  custom policy
- S8148872, CVE-2016-3500: Complete name checking
- S8149962, CVE-2016-3508: Better delineation of XML processing
- S8150752: Share Class Data
- S8151925: Font reference improvements
- S8152479, CVE-2016-3550: Coded byte streams
- S8155981, CVE-2016-3606: Bolster bytecode verification
- S8155985, CVE-2016-3598: Persistent Parameter Processing
- S8158571, CVE-2016-3610: Additional method handle validation
  * debian/rules:
- Create symbolic link in source package (thanks Avinash).
  Closes: #832720.
- Use in-tree lcms (LP: #913434)
  * debian/JB-jre-headless.prerm.in: check for /var/lib/binfmts/jar
instead of /var/lib/binfmts/@basename@ before removing jar entry
from binfmts. Closes: #821146.

 -- Tiago Stürmer Daitx   Wed, 10 Aug 2016
20:46:47 +

** Changed in: openjdk-7 (Ubuntu Precise)
   Status: New => Fix Released

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2016-3458

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2016-3485

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2016-3500

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2016-3508

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2016-3550

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2016-3598

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2016-3606

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2016-3610

** Changed in: openjdk-7 (Ubuntu Trusty)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611598

Title:
  jamvm is broken due to missing native methods in sun.misc.Unsafe

To manage notifications about this bug go to:
https://bugs.launchpad.net/openjdk/+bug/1611598/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1611598] Re: jamvm is broken due to missing native methods in sun.misc.Unsafe

2016-08-16 Thread Launchpad Bug Tracker
This bug was fixed in the package openjdk-7 -
7u111-2.6.7-0ubuntu0.14.04.3

---
openjdk-7 (7u111-2.6.7-0ubuntu0.14.04.3) trusty-security; urgency=medium

  * debian/rules:
- fix typo (aarch64 -> arm64) and disable precompiled headers for
  arm64
- remove compile file generated by automake during debian cleanup

openjdk-7 (7u111-2.6.7-0ubuntu0.14.04.2) trusty-security; urgency=medium

  * debian/patches/it-jamvm-8158260-unsafe-methods.patch: fix JAMVM
after the introduction of two new Unsafe methods in the OpenJDK
hotspot. Closes: #833933. (LP: #1611598)

openjdk-7 (7u111-2.6.7-0ubuntu0.14.04.1) trusty-security; urgency=medium

  [ Matthias Klose ]
  * Fix handling of /usr/lib/jvm/*/jre/lib/zi if internal tzdata is used
(Andreas Beckmann). Closes: #821858.
  * Add missing includes for aarch64 hotspot backport (building without pch).
  * Use in-tree lcms for backports.

  [ Tiago Stürmer Daitx ]
  * IcedTea release 2.6.7 (based on 7u111):
  * Security fixes
- S8079718, CVE-2016-3458: IIOP Input Stream Hooking
- S8145446, CVE-2016-3485: Perfect pipe placement (Windows only)
- S8147771: Construction of static protection domains under Javax
  custom policy
- S8148872, CVE-2016-3500: Complete name checking
- S8149962, CVE-2016-3508: Better delineation of XML processing
- S8150752: Share Class Data
- S8151925: Font reference improvements
- S8152479, CVE-2016-3550: Coded byte streams
- S8155981, CVE-2016-3606: Bolster bytecode verification
- S8155985, CVE-2016-3598: Persistent Parameter Processing
- S8158571, CVE-2016-3610: Additional method handle validation
  * debian/rules:
- Create symbolic link in source package (thanks Avinash).
  Closes: #832720.
- Use in-tree lcms (LP: #913434)
  * debian/JB-jre-headless.prerm.in: check for /var/lib/binfmts/jar
instead of /var/lib/binfmts/@basename@ before removing jar entry
from binfmts. Closes: #821146.

 -- Tiago Stürmer Daitx   Thu, 11 Aug 2016
23:28:50 +

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611598

Title:
  jamvm is broken due to missing native methods in sun.misc.Unsafe

To manage notifications about this bug go to:
https://bugs.launchpad.net/openjdk/+bug/1611598/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1611598] Re: jamvm is broken due to missing native methods in sun.misc.Unsafe

2016-08-12 Thread Bug Watch Updater
** Changed in: openjdk
   Status: Confirmed => In Progress

** Changed in: openjdk
   Importance: Critical => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611598

Title:
  jamvm is broken due to missing native methods in sun.misc.Unsafe

To manage notifications about this bug go to:
https://bugs.launchpad.net/openjdk/+bug/1611598/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1611598] Re: jamvm is broken due to missing native methods in sun.misc.Unsafe

2016-08-10 Thread C de-Avillez
** Changed in: openjdk-7 (Ubuntu Precise)
   Importance: Undecided => High

** Changed in: openjdk-7 (Ubuntu Trusty)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611598

Title:
  jamvm is broken due to missing native methods in sun.misc.Unsafe

To manage notifications about this bug go to:
https://bugs.launchpad.net/openjdk/+bug/1611598/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1611598] Re: jamvm is broken due to missing native methods in sun.misc.Unsafe

2016-08-10 Thread C de-Avillez
** Also affects: openjdk-7 (Ubuntu Precise)
   Importance: Undecided
   Status: New

** Also affects: openjdk-7 (Ubuntu Trusty)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611598

Title:
  jamvm is broken due to missing native methods in sun.misc.Unsafe

To manage notifications about this bug go to:
https://bugs.launchpad.net/openjdk/+bug/1611598/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1611598] Re: jamvm is broken due to missing native methods in sun.misc.Unsafe

2016-08-09 Thread Bug Watch Updater
Launchpad has imported 1 comments from the remote bug at
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3134.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2016-08-10T04:22:49+00:00 Tiago Stürmer Daitx wrote:

Created attachment 1546
add 2 new sun.misc.unsafe methods to jamvm

[Issue]
The fix of OpenJDK's bug 8158260 
(http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/hotspot/rev/4f8cbd54a9c6)
 introduced 2 new native methods to the sun.misc.Unsafe class: isBigEndian0 and 
unalignedAccess0. 

This completely broke JamVM and as of now it is impossible to start a
jamvm session.

jtreg summary results:
hotspot   - Test results: passed: 5; failed: 309; error: 7
langtools - Test results: passed: 374; failed: 1,593; error: 1

An error output from a testcase:
--System.err:(6/344)--
Error initialising VM (initialiseMainThread)
Check the README for compatible class-libraries/versions
Exception occurred while printing exception (java/lang/NullPointerException)...
Original exception was java/lang/UnsatisfiedLinkError
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
result: Failed. Unexpected exit from test [exit code: 1]

Running java -jamvm -version fails the same way.


[Fix]
The simple fix is to add both methods to the natives.c file in the 
classlib/openjdk directory.

I have tested this with IcedTea 2.6.7 and now jtreg passes:
hotspot   - Test results: passed: 220; failed: 90; error: 11
langtools - Test results: passed: 1,901; failed: 65; error: 2


I have reported this upstream at 
https://sourceforge.net/p/jamvm/code/merge-requests/1/ and it is now waiting 
review.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1611598/comments/0


** Changed in: openjdk
   Status: Unknown => Confirmed

** Changed in: openjdk
   Importance: Unknown => Critical

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611598

Title:
  jamvm is broken due to missing native methods in sun.misc.Unsafe

To manage notifications about this bug go to:
https://bugs.launchpad.net/openjdk/+bug/1611598/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1611598] Re: jamvm is broken due to missing native methods in sun.misc.Unsafe

2016-08-09 Thread Tiago Stürmer Daitx
** Summary changed:

- jamvm is broken after 2.6.7 update
+ jamvm is broken due to missing native methods in sun.misc.Unsafe

** Description changed:

  [Issue]
- The fix of OpenJDK's bug 8158260 
(http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/hotspot/rev/4f8cbd54a9c6)
 introduced 2 new native methods to the sun.misc.Unsafe class: isBigEndian0 and 
unalignedAccess0. 
+ The fix of OpenJDK's bug 8158260 
(http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/hotspot/rev/4f8cbd54a9c6)
 introduced 2 new native methods to the sun.misc.Unsafe class: isBigEndian0 and 
unalignedAccess0.
  
  This completely broke JamVM and as of now it is impossible to start a
  jamvm session.
  
- jtreg summary results:
+ jtreg summary results for OpenJDK 7:
  hotspot   - Test results: passed: 5; failed: 309; error: 7
  langtools - Test results: passed: 374; failed: 1,593; error: 1
  
  An error output from a testcase:
  --System.err:(6/344)--
  Error initialising VM (initialiseMainThread)
  Check the README for compatible class-libraries/versions
  Exception occurred while printing exception 
(java/lang/NullPointerException)...
  Original exception was java/lang/UnsatisfiedLinkError
  Error: Could not create the Java Virtual Machine.
  Error: A fatal exception has occurred. Program will exit.
  result: Failed. Unexpected exit from test [exit code: 1]
  
  Running java -jamvm -version fails the same way.
  
- 
  [Fix]
  The simple fix is to add both methods to the natives.c file in the 
classlib/openjdk directory.
  
  I have tested this with IcedTea 2.6.7 and now jtreg passes:
  hotspot   - Test results: passed: 220; failed: 90; error: 11
  langtools - Test results: passed: 1,901; failed: 65; error: 2
  
- 
- I have reported this upstream at 
https://sourceforge.net/p/jamvm/code/merge-requests/1/ and it is now waiting 
review.
+ I have reported this upstream at https://sourceforge.net/p/jamvm/code
+ /merge-requests/1/ and it is now waiting review.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611598

Title:
  jamvm is broken due to missing native methods in sun.misc.Unsafe

To manage notifications about this bug go to:
https://bugs.launchpad.net/openjdk/+bug/1611598/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs