open-amt-cloud-toolkit / rpc-go

The Remote Provisioning Client (RPC) communicates with the Manageability Engine Interface (MEI) and Remote Provisioning Service (RPS) interfaces.
https://open-amt-cloud-toolkit.github.io/docs/
Apache License 2.0
9 stars 14 forks source link

Latest version of RPC Go 2.34.1 errors on AMT 11.x firmware. #521

Open mtpham-1 opened 3 months ago

mtpham-1 commented 3 months ago

Running the latest RPC Go version 2.34.1 on an AMT 11.8 system fails and gives garbled output.

Tested on a couple of 11.8 systems and both have same error. I ran the same "amtinfo" command on an older version 2.29.1 and it was ok.

Reproduce steps:

Type rpc2.34.1.exe amtinfo

Results...

C:\Users\itproadmin\Desktop\Minh_8021x_test>rpc2.34.1.exe amtinfo Version : 11.8.94 Build Number : 4494 SKU : 16392 Features : AMT Pro Corporate UUID : 54d39e4c-2fcd-11b2-a85c-b963f4f3b3b2 Control Mode : activated in admin control mode Exception 0xc0000005 0x8 0x0 0x0 PC=0x0

runtime.asmstdcall(0xb9f260) C:/Program Files/Go/src/runtime/sys_windows_amd64.s:20 fp=0xc0001355b0 sp=0xc0001355a8 pc=0xade860

goroutine 2 gp=0xc000058700 m=nil [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00005bfa8 sp=0xc00005bf88 pc=0xaac9ae runtime.goparkunlock(...) C:/Program Files/Go/src/runtime/proc.go:408 runtime.forcegchelper() C:/Program Files/Go/src/runtime/proc.go:326 +0xb8 fp=0xc00005bfe0 sp=0xc00005bfa8 pc=0xaac838 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005bfe8 sp=0xc00005bfe0 pc=0xadd081 created by runtime.init.6 in goroutine 1 C:/Program Files/Go/src/runtime/proc.go:314 +0x1a

goroutine 3 gp=0xc000058a80 m=nil [GC sweep wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00005df80 sp=0xc00005df60 pc=0xaac9ae runtime.goparkunlock(...) C:/Program Files/Go/src/runtime/proc.go:408 runtime.bgsweep(0xc000028070) C:/Program Files/Go/src/runtime/mgcsweep.go:278 +0x94 fp=0xc00005dfc8 sp=0xc00005df80 pc=0xa96bd4 runtime.gcenable.gowrap1() C:/Program Files/Go/src/runtime/mgc.go:203 +0x25 fp=0xc00005dfe0 sp=0xc00005dfc8 pc=0xa8b4e5 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005dfe8 sp=0xc00005dfe0 pc=0xadd081 created by runtime.gcenable in goroutine 1 C:/Program Files/Go/src/runtime/mgc.go:203 +0x66

goroutine 4 gp=0xc000058c40 m=nil [GC scavenge wait]: runtime.gopark(0xc000028070?, 0xfd3df0?, 0x1?, 0x0?, 0xc000058c40?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00006df78 sp=0xc00006df58 pc=0xaac9ae runtime.goparkunlock(...) C:/Program Files/Go/src/runtime/proc.go:408 runtime.(*scavengerState).park(0x1271620) C:/Program Files/Go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc00006dfa8 sp=0xc00006df78 pc=0xa945c9 runtime.bgscavenge(0xc000028070) C:/Program Files/Go/src/runtime/mgcscavenge.go:653 +0x3c fp=0xc00006dfc8 sp=0xc00006dfa8 pc=0xa94b5c runtime.gcenable.gowrap2() C:/Program Files/Go/src/runtime/mgc.go:204 +0x25 fp=0xc00006dfe0 sp=0xc00006dfc8 pc=0xa8b485 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00006dfe8 sp=0xc00006dfe0 pc=0xadd081 created by runtime.gcenable in goroutine 1 C:/Program Files/Go/src/runtime/mgc.go:204 +0xa5

goroutine 5 gp=0xc000058fc0 m=nil [finalizer wait]: runtime.gopark(0xc00005fe60?, 0xa93a9c?, 0xc0?, 0x89?, 0x550011?) C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00005fe20 sp=0xc00005fe00 pc=0xaac9ae runtime.runfinq() C:/Program Files/Go/src/runtime/mfinal.go:194 +0x107 fp=0xc00005ffe0 sp=0xc00005fe20 pc=0xa8a567 runtime.goexit({}) C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005ffe8 sp=0xc00005ffe0 pc=0xadd081 created by runtime.createfing in goroutine 1 C:/Program Files/Go/src/runtime/mfinal.go:164 +0x3d rax 0x0 rbx 0x0 rcx 0xc00012f3a0 rdx 0x0 rdi 0xc000058000 rsi 0x0 rbp 0xc0c0000120 rsp 0xc0001355a0 r8 0x6d97bff401 r9 0x6d97bff630 r10 0x0 r11 0x246 r12 0x0 r13 0x0 r14 0xc000058000 r15 0x3fffff rip 0x0 rflags 0x10216 cs 0x33 fs 0x53 gs 0x2b

graikhel-intel commented 3 months ago

Hi @mtpham-1, Could you also provide the OS information?

mtpham-1 commented 3 months ago

Hi Ganesh, both systems I tested on are Windows 11 Pro.