JDK-8352163 : [AIX] SIGILL in AttachOperation::ReplyWriter::write_fully after 8319055
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: 25
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: aix
  • Submitted: 2025-03-17
  • Updated: 2025-07-22
  • Resolved: 2025-03-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 25
25 b15Fixed
Related Reports
Causes :  
Description
Many crashes with SIGILL have been seen on PPC64 since JDK-8319055:

# V  [libjvm.so+0xd3fa54]  AttachOperation::ReplyWriter::write_fully(void const*, int)+0x74

Stack: [0x0000000118f00000,0x000000011911d888],  sp=0x000000011911cf00,  free space=2163k
Native frame:
iar:  0x0000000000000000 (unknown module)::(unknown function)+?
lr:   0x090000000cb98a54 libjvm.so::AttachOperation::ReplyWriter::write_fully(void const*, int)+0x74  (C++ uses_alloca saves_lr stores_bc gpr_saved:1 fixedparms:3 parmsonstk:1)
sp:   0x000000011911cf00 (base - 0x988) 
rtoc: 0x0000000000000000 (invalid)
|---stackaddr----|   |----lrsave------|:   <function name>
0x000000011911cfd0 - 0x090000000cb988e4 libjvm.so::AttachOperation::ReplyWriter::write_reply(int, char const*, int)+0xa4  (C++ uses_alloca saves_lr stores_bc gpr_saved:1 fixedparms:4 parmsonstk:1)
0x000000011911d0d0 - 0x090000000cb987d0 libjvm.so::AttachOperation::ReplyWriter::write_reply(int, bufferedStream*)+0x70  (C++ uses_alloca saves_lr stores_bc gpr_saved:1 fixedparms:3 parmsonstk:1)
0x000000011911d180 - 0x090000000cb9867c libjvm.so::attachStream::flush_reply()+0x5c  (C++ uses_alloca saves_lr stores_bc gpr_saved:1 fixedparms:1 parmsonstk:1)
0x000000011911d220 - 0x090000000cb9b308 libjvm.so::attachStream::complete()+0x48  (C++ uses_alloca saves_lr stores_bc gpr_saved:1 fixedparms:1 parmsonstk:1)
0x000000011911d2d0 - 0x090000000cb97bc8 libjvm.so::AttachListenerThread::thread_entry(JavaThread*, JavaThread*)+0x488  (C++ uses_alloca saves_lr stores_bc gpr_saved:1 fixedparms:2 parmsonstk:1)
0x000000011911d470 - 0x090000000c2c4104 libjvm.so::JavaThread::thread_main_inner()+0x184  (C++ uses_alloca saves_lr stores_bc gpr_saved:1 fixedparms:1 parmsonstk:1)
0x000000011911d570 - 0x090000000c2c27a8 libjvm.so::JavaThread::run()+0x1c8  (C++ uses_alloca saves_lr stores_bc gpr_saved:1 fixedparms:1 parmsonstk:1)
0x000000011911d600 - 0x090000000c0819f8 libjvm.so::Thread::call_run()+0x1d8  (C++ uses_alloca saves_lr stores_bc gpr_saved:1 fixedparms:1 parmsonstk:1)
0x000000011911d6a0 - 0x090000000c080784 libjvm.so::thread_native_entry(Thread*)+0x244  (C++ uses_alloca saves_lr stores_bc gpr_saved:1 fixedparms:1 parmsonstk:1)
0x000000011911d7a0 - 0x090000000056204c libpthreads.a::_pthread_body+0xec  (C saves_lr stores_bc gpr_saved:1 fixedparms:1 )
0x000000011911d820 - 0x0000000000000000 

They disappear when backing out JDK-8319055.
Reproducible by e.g. "make run-test TEST=runtime/cds/DumpSymbolAndStringTable.java".
Comments
Changeset: a3540be5 Branch: master Author: Alex Menkov <amenkov@openjdk.org> Date: 2025-03-18 17:59:01 +0000 URL: https://git.openjdk.org/jdk/commit/a3540be502ef2f93c0fdc3fb2496c29ae7c8b041
18-03-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/24089 Date: 2025-03-17 20:35:58 +0000
17-03-2025