Skip to content

runtime: crash on AIX #75574

@dsabelli352

Description

@dsabelli352

Go version

golang 1.25.1

Output of go env in your module/workspace:

Fri Sep 19 19:31:48 IST 2025 checkCertificates: running certman command, SECUREWRAP_CMDPATH = /var/opt/HCL/Installer_aix/HWA_10.2.5_AIX_AGENT/TWS/AIX/Tivoli_LWA_AIX/TWS/bin
runtime: memory allocated by OS [0x700000048000000, 0x70000004c000000) not in usable address space: base outside usable address space
fatal error: memory reservation exceeds address space limit

runtime stack:
runtime.throw({0x10033b148?, 0x4000000?})
/tivoli/tools/maestro_tools/Golang_1.25.1/src/runtime/panic.go:1094 +0x34 fp=0xfffffffffffda60 sp=0xfffffffffffda20 pc=0x100081594
runtime.(*mheap).sysAlloc(0x110062fc0, 0x100033cb8?, 0x110073208, 0x110073230)
/tivoli/tools/maestro_tools/Golang_1.25.1/src/runtime/malloc.go:748 +0x704 fp=0xfffffffffffdb28 sp=0xfffffffffffda60 pc=0x100015ac4
runtime.(*mheap).grow(0x110062fc0, 0x9000000002504ec?)
/tivoli/tools/maestro_tools/Golang_1.25.1/src/runtime/mheap.go:1566 +0xb8 fp=0xfffffffffffdbc8 sp=0xfffffffffffdb28 pc=0x100034688
runtime.(*mheap).allocSpan(0x110062fc0, 0x1, 0x0, 0x10)
/tivoli/tools/maestro_tools/Golang_1.25.1/src/runtime/mheap.go:1299 +0x1e4 fp=0xfffffffffffdc78 sp=0xfffffffffffdbc8 pc=0x100033d04
runtime.(*mheap).alloc.func1()
/tivoli/tools/maestro_tools/Golang_1.25.1/src/runtime/mheap.go:1017 +0x88 fp=0xfffffffffffdcd0 sp=0xfffffffffffdc78 pc=0x1000336c8
runtime.systemstack(0xfffffffffffdd20)
/tivoli/tools/maestro_tools/Golang_1.25.1/src/runtime/asm_ppc64x.s:280 +0xa4 fp=0xfffffffffffdcf0 sp=0xfffffffffffdcd0 pc=0x1000866b4
Fri Sep 19 19:31:49 IST 2025 checkCertificates: error in /var/opt/HCL/Installer_aix/HWA_10.2.5_AIX_AGENT/TWS/AIX/Tivoli_LWA_AIX/TWS/bin/securewrap -cmd crt -args verify -inpath /var/opt/HCL/Installer_aix/certs -keypasswd xxxxxxxx
root@HBSAODRDB1:/var/opt/HCL/HWA/TWSDATA/installation/logs$"

What did you do?

Team,

we need to report this crash on AIX for latest version of golang (it happens also with previous one)

(not able to reproduce on other machine AIX)

ENV:

golang build
[echoproperties] go.version=1.25.1
[echoproperties] golangarch=aix_ppc64
[echoproperties] golangarchext=
[echoproperties] guice.disable.misplaced.annotation.check=true
[echoproperties] http.keepAlive=false
[echoproperties] ibm.signalhandling.rs=false
[echoproperties] ibm.signalhandling.sigchain=true
[echoproperties] ibm.signalhandling.sigint=true
[echoproperties] ibm.system.encoding=UTF-8

AIX machine:

root@HBSAODRDB1:/root$ svmon -G
size inuse free pin virtual mmode
memory 67108864 64513899 2594965 15103414 22285269 Ded
pg space 25165824 58402

           work        pers        clnt       other

pin 12994735 0 4647 2104032
in use 22285269 0 42228630

PageSize PoolSize inuse pgsp pin virtual
s 4 KB - 49329499 58402 5857270 7100869
m 64 KB - 949025 0 577884 949025
L 16 MB - 0 0 0 0
S 16 GB - 0 0 0 0
root@HBSAODRDB1:/root$ ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 4194304
memory(kbytes) unlimited
coredump(blocks) 0
nofiles(descriptors) unlimited
threads(per process) unlimited
processes(per user) 16384
root@HBSAODRDB1:/root$ getconf KERNEL_BITMODE
64

root@HBSAODRDB1:/root$ oslevel -s
7300-03-00-2446
root@HBSAODRDB1:/root$ oslevel -r
7300-02

CRASH:

...
Fri Sep 19 19:31:48 IST 2025 checkCertificates: running certman command, SECUREWRAP_CMDPATH = /var/opt/HCL/Installer_aix/HWA_10.2.5_AIX_AGENT/TWS/AIX/Tivoli_LWA_AIX/TWS/bin
runtime: memory allocated by OS [0x700000048000000, 0x70000004c000000) not in usable address space: base outside usable address space
fatal error: memory reservation exceeds address space limit

runtime stack:
runtime.throw({0x10033b148?, 0x4000000?})
/tivoli/tools/maestro_tools/Golang_1.25.1/src/runtime/panic.go:1094 +0x34 fp=0xfffffffffffda60 sp=0xfffffffffffda20 pc=0x100081594
runtime.(*mheap).sysAlloc(0x110062fc0, 0x100033cb8?, 0x110073208, 0x110073230)
/tivoli/tools/maestro_tools/Golang_1.25.1/src/runtime/malloc.go:748 +0x704 fp=0xfffffffffffdb28 sp=0xfffffffffffda60 pc=0x100015ac4
runtime.(*mheap).grow(0x110062fc0, 0x9000000002504ec?)
/tivoli/tools/maestro_tools/Golang_1.25.1/src/runtime/mheap.go:1566 +0xb8 fp=0xfffffffffffdbc8 sp=0xfffffffffffdb28 pc=0x100034688
runtime.(*mheap).allocSpan(0x110062fc0, 0x1, 0x0, 0x10)
/tivoli/tools/maestro_tools/Golang_1.25.1/src/runtime/mheap.go:1299 +0x1e4 fp=0xfffffffffffdc78 sp=0xfffffffffffdbc8 pc=0x100033d04
runtime.(*mheap).alloc.func1()
/tivoli/tools/maestro_tools/Golang_1.25.1/src/runtime/mheap.go:1017 +0x88 fp=0xfffffffffffdcd0 sp=0xfffffffffffdc78 pc=0x1000336c8
runtime.systemstack(0xfffffffffffdd20)
/tivoli/tools/maestro_tools/Golang_1.25.1/src/runtime/asm_ppc64x.s:280 +0xa4 fp=0xfffffffffffdcf0 sp=0xfffffffffffdcd0 pc=0x1000866b4
Fri Sep 19 19:31:49 IST 2025 checkCertificates: error in /var/opt/HCL/Installer_aix/HWA_10.2.5_AIX_AGENT/TWS/AIX/Tivoli_LWA_AIX/TWS/bin/securewrap -cmd crt -args verify -inpath /var/opt/HCL/Installer_aix/certs -keypasswd xxxxxxxx
root@HBSAODRDB1:/var/opt/HCL/HWA/TWSDATA/installation/logs$"

What did you see happen?

See the description...
Fri Sep 19 19:31:48 IST 2025 checkCertificates: running certman command, SECUREWRAP_CMDPATH = /var/opt/HCL/Installer_aix/HWA_10.2.5_AIX_AGENT/TWS/AIX/Tivoli_LWA_AIX/TWS/bin
runtime: memory allocated by OS [0x700000048000000, 0x70000004c000000) not in usable address space: base outside usable address space
fatal error: memory reservation exceeds address space limit

runtime stack:
runtime.throw({0x10033b148?, 0x4000000?})
/tivoli/tools/maestro_tools/Golang_1.25.1/src/runtime/panic.go:1094 +0x34 fp=0xfffffffffffda60 sp=0xfffffffffffda20 pc=0x100081594
runtime.(*mheap).sysAlloc(0x110062fc0, 0x100033cb8?, 0x110073208, 0x110073230)
/tivoli/tools/maestro_tools/Golang_1.25.1/src/runtime/malloc.go:748 +0x704 fp=0xfffffffffffdb28 sp=0xfffffffffffda60 pc=0x100015ac4
runtime.(*mheap).grow(0x110062fc0, 0x9000000002504ec?)
/tivoli/tools/maestro_tools/Golang_1.25.1/src/runtime/mheap.go:1566 +0xb8 fp=0xfffffffffffdbc8 sp=0xfffffffffffdb28 pc=0x100034688
runtime.(*mheap).allocSpan(0x110062fc0, 0x1, 0x0, 0x10)
/tivoli/tools/maestro_tools/Golang_1.25.1/src/runtime/mheap.go:1299 +0x1e4 fp=0xfffffffffffdc78 sp=0xfffffffffffdbc8 pc=0x100033d04
runtime.(*mheap).alloc.func1()
/tivoli/tools/maestro_tools/Golang_1.25.1/src/runtime/mheap.go:1017 +0x88 fp=0xfffffffffffdcd0 sp=0xfffffffffffdc78 pc=0x1000336c8
runtime.systemstack(0xfffffffffffdd20)
/tivoli/tools/maestro_tools/Golang_1.25.1/src/runtime/asm_ppc64x.s:280 +0xa4 fp=0xfffffffffffdcf0 sp=0xfffffffffffdcd0 pc=0x1000866b4
Fri Sep 19 19:31:49 IST 2025 checkCertificates: error in /var/opt/HCL/Installer_aix/HWA_10.2.5_AIX_AGENT/TWS/AIX/Tivoli_LWA_AIX/TWS/bin/securewrap -cmd crt -args verify -inpath /var/opt/HCL/Installer_aix/certs -keypasswd xxxxxxxx
root@HBSAODRDB1:/var/opt/HCL/HWA/TWSDATA/installation/logs$"

What did you expect to see?

no core

Metadata

Metadata

Assignees

Labels

BugReportIssues describing a possible bug in the Go implementation.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.OS-AIXcompiler/runtimeIssues related to the Go compiler and/or runtime.

Type

No type

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions