JDK-8344352 : 32-bit builds crash after JDK-8305895
  • Type: Bug
  • Component: hotspot
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: arm
  • Submitted: 2024-11-16
  • Updated: 2024-11-25
  • Resolved: 2024-11-18
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 24
24 b25Fixed
Related Reports
Relates :  
Relates :  
Description
Since commit commit https://github.com/openjdk/jdk/commit/276251c44a1a5b9dc36b27ecbaed37de62fc7558 the native arm32 build crashes when the newly built JDK image is actually used.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xb6e9c260, pid=13328, tid=13332
#
# JRE version:  (24.0) (build )
# Java VM: OpenJDK Server VM (24-internal-adhoc.root.workspace, mixed mode, g1 gc, linux-arm)
# Problematic frame:
# C  [libc.so.6+0x6c260]  memset+0x40
#
# Core dump will be written. Default location: /workspace/make/core
#
#
Comments
More comprehensive follow-up is done as part of JDK-8344363.
25-11-2024

Thanks [~shade] for the super-quick fix! I confirm that the 32bit build is green again after commit 26494063237ab50b1a86847da1b3ce3c44d55409.
18-11-2024

Changeset: 26494063 Branch: master Author: Aleksey Shipilev <shade@openjdk.org> Date: 2024-11-18 18:38:56 +0000 URL: https://git.openjdk.org/jdk/commit/26494063237ab50b1a86847da1b3ce3c44d55409
18-11-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/22196 Date: 2024-11-18 10:11:19 +0000
18-11-2024

I think we missed a bug here: https://github.com/openjdk/jdk/commit/276251c44a1a5b9dc36b27ecbaed37de62fc7558#diff-027490ce3f4a92be9b489d9d2e54c7baaea87b7489399b198543c79f1ce1e2e3R3677 `ObjLayout::initialize()` should not be in `LP64` block.
18-11-2024