JDK-8301310 : The SendRawSysexMessage test may cause a JVM crash
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.sound
  • Affected Version: 8,11,17,19,20,21
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2023-01-29
  • Updated: 2024-01-03
  • Resolved: 2023-11-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 17 JDK 21 JDK 22 Other
11.0.23Fixed 17.0.11Fixed 21.0.3Fixed 22 b24Fixed openjdk8u412Fixed
Related Reports
Duplicate :  
Relates :  
Description
The root cause is described here:
https://bugs.openjdk.org/browse/JDK-8272495
>Seen in the original version that was not fixed:
>The JNI call at https://github.com/ibmruntimes/openj9-openjdk-jdk8/blob/openj9/jdk/src/share/native/com/sun/media/sound/MidiOutDevice.c#L143 should use the original address >acquired via GetByteArrayElements, not the possibly modified address.
>jdk/src/share/native/com/sun/media/sound/MidiOutDevice.c:143
>    (*e)->ReleaseByteArrayElements(e, jData, (jbyte*) data, JNI_ABORT);
>The same problem appears to be present in all versions.
Comments
A pull request was submitted for review. URL: https://git.openjdk.org/jdk21u-dev/pull/109 Date: 2024-01-02 00:07:04 +0000
02-01-2024

Fix request (21u 17u 11u 8u) Clean backport. The fix was verified by the updated test. Other jdk_sound tests are green. Review 21u-dev: https://github.com/openjdk/jdk21u-dev/pull/109 Review 17u-dev: https://github.com/openjdk/jdk17u-dev/pull/1963 Review 11u-dev: https://github.com/openjdk/jdk11u-dev/pull/2279 Review 8u-dev: https://github.com/openjdk/jdk8u-dev/pull/395
02-01-2024

The link to PR for JDK 21 is updated.
02-01-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk8u-dev/pull/395 Date: 2023-11-28 03:07:08 +0000
28-11-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/1963 Date: 2023-11-17 02:58:33 +0000
17-11-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk11u-dev/pull/2279 Date: 2023-11-14 23:08:57 +0000
15-11-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk21u/pull/366 Date: 2023-11-14 23:08:33 +0000
15-11-2023

Changeset: d725b73d Author: Alec Su <ae40515@yahoo.com.tw> Committer: Sergey Bylokhov <serb@openjdk.org> Date: 2023-11-14 22:51:39 +0000 URL: https://git.openjdk.org/jdk/commit/d725b73df01ae4478dfaabc47c48cd7231d91afa
14-11-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/16477 Date: 2023-11-02 13:55:41 +0000
07-11-2023